API Reference

Using the Single Station Endpoint

What you’ll need: your API Key, a station's ID

Using your public API key, you can use the /stations/{station_id} API endpoint to access the latest observations and most up to date metadata for a single station. You can query the API through the interface here or by making an API request using your preferred method.

For more detailed instructions on using the readme interface to access the API, see this page.

  1. Navigate to the /stations/{station_id} endpoint page
  2. Enter your API key in the box under ‘Credentials’ labeled ‘Header’
  3. Enter the ID of the station you’re requesting in the station ID box in the Path Params section
    enter your station id
  4. Click on the 'Try It!' button to send the request
  5. The ‘Response’ section will show you the result of your query
  6. You can also further customize your request by choosing values in the ‘Query Params’ section of the page
    additional options in the query params section