We Are Here To Help

Follow

Where do I find the API Endpoint?

The SODA API Endpoint exists for all datasets, published versions and working copies. You can point to this reference using an application to consume from and/or publish to the dataset.

For all information on the different versions of API Endpoints offered, follow this link.

There are three ways you can access the API Endpoint:

1. Through the dataset URL: You can get the API endpoint by simply taking the dataset's UID and replacing it in this string:

https://domain/resource/UID.extension *where the extension is the data format you's like to pull the data as. For a full list of extension formats please go here.


2. Through the API button on the dataset's Primer page.

Screen_Shot_2017-03-21_at_11_00_40_AM.png


3. Through the 'Export' panel: Click on SODA API where you will see API Endpoint

 

Note: Many datasets have two different endpoints, a SODA 2.0 and a 2.1 endpoint. Generally, the SODA 2.0 endpoint uses the UID you see when viewing the dataset online. This is the endpoint that should be used when publishing updates to the dataset.

The API URL in the export section of the dataset will typically use the SODA 2.1 endpoint. This is best used for consuming the data as it supports additional data types and functions. 

Again, you may read more about the endpoints versions by following this link on the Socrata Developer site.

 

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk