Using the 'Find All Stations' Endpoint

What you’ll need: your API Key

Using your public API key, you can use the /stations API endpoint to determine what stations you have API access to and retrieve the latest observations and most up to date metadata for each. You can query the API through the interface here or by making an API request using your preferred method (e.g. curl request, using python code, etc).

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

  1. Navigate to the /stations endpoint page
  2. Enter your API key in the box under ‘Credentials’ labeled ‘Header’
  3. Click on the 'Try It!' button to send the request
  4. The ‘Response’ section will show you the metadata for all stations you can access via the API, including their ID’s (e.g. hohonu-160 in the image below)
    returned data will be in the response section
  5. 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