Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.

Simple Filtering

Querying datasets with simple equality filters is very easy with the SODA Consumer API. Simply use the column’s field name as your parameter and the content you want to filter for as its value.

For example, to query for only earthquakes that have a source of “nn”:

https://soda.demo.socrata.com/resource/6yvf-kk3n.json?source=nn

If you include additional filter parameters, the filters will be combined using a boolean AND. For example, the following filters for a source of “pr” and a region of “Virgin Islands region”:

https://soda.demo.socrata.com/resource/6yvf-kk3n.json?source=pr&region=Virgin Islands region