Skip to main content
All providers

Socrata Discovery API

Open data portals

api.us.socrata.com

A federated catalogue of the open-data assets published across thousands of Socrata / Tyler Data & Insights government portals, searchable by keyword, portal, category, tag, owner, licence or asset ID, and returning each asset's full column schema, update history, popularity and permalink.

Capabilities (13)

GET /v1/data/socrata/asset-metadata1 credit

Full catalogue record for one or more Socrata assets looked up by four-by-four ID, including the complete column schema (names, field names, datatypes, descriptions), the portal's custom metadata fields, update and publication timestamps and the canonical permalink.

idslimit?offset?
GET /v1/data/socrata/assets-by-name1 credit

Assets whose title matches the supplied string exactly, which surfaces the same dataset as published by many different portals.

namesdomains?only?order?limit?offset?
GET /v1/data/socrata/attribution-assets1 credit

Assets whose metadata credits a given organisation as the source, regardless of which portal hosts them.

attributiondomains?q?only?order?limit?offset?
GET /v1/data/socrata/autocomplete1 credit

Asset titles matching a partial query, each returned with the matched character offsets, for type-ahead over the catalogue.

qdomains?search_context?only?limit?
GET /v1/data/socrata/category-assets1 credit

Assets filed under a given category, across every indexed portal by default or within one portal when a search context is supplied.

categoriesdomains?search_context?q?only?provenance?order?limit?offset?
GET /v1/data/socrata/derived-assets1 credit

The charts, maps, filtered views and other assets that portal users have built on top of a given source dataset, each with its own metadata and permalink.

derived_fromdomains?only?order?limit?offset?
GET /v1/data/socrata/domain-assets1 credit

Every asset published on one Socrata portal, with full metadata for each: title, description, four-by-four ID, asset type, owner, column list, page views and permalink.

domainsq?search_context?categories?tags?only?provenance?attribution?license?order?limit?offset?
GET /v1/data/socrata/domain-categories1 credit

Every category used on one portal with the number of assets filed under each.

search_contextq?only?
GET /v1/data/socrata/domain-tag-assets1 credit

Assets on one portal carrying a given tag from that portal's own tag vocabulary, with full metadata for each.

search_contexttagsdomains?q?categories?only?order?limit?offset?
GET /v1/data/socrata/domain-tags1 credit

Every tag used on one portal with the number of assets carrying each, ordered by count.

search_contextq?only?
GET /v1/data/socrata/licence-assets1 credit

Assets whose publisher-entered licence field matches the supplied string exactly, returned with the same full metadata as a search result. The field is free text typed by the publishing agency, not a validated licence identifier.

licensedomains?q?only?order?limit?offset?
GET /v1/data/socrata/owner-assets1 credit

Everything published by one Socrata user account, across the portals that account publishes to.

for_userdomains?q?only?order?limit?offset?
GET /v1/data/socrata/search1 credit

Full-text search across every asset indexed in the Socrata federated catalogue, returning each asset's title, description, four-by-four ID, owner, column names and datatypes, page views, update timestamps and the permalink on its home portal.

qdomains?search_context?categories?tags?only?provenance?attribution?license?names?for_user?derived_from?order?limit?offset?min_should_match?boostOfficial?show_score?

Response example

The shape of data from socrata/asset-metadata (Asset metadata by ID). A sample, not live data.

Example truncated, full shape in JSON from the API.

JSON
{
  "results": [
    {
      "resource": {
        "name": "Crimes - 2001 to Present",
        "id": "ijzp-q8t2",
        "resource_name": "crimes",
        "parent_fxf": [],
        "description": "This dataset reflects reported incidents of crime (with the exception of murders where data exists for each victim) that occurred in the City of Chicago from 2001 to present, minus the most recent seven days. Data is extracted from the Chicago Police Department's CLEAR (Citizen Law Enforcement Analysis and Reporting) system. In order to protect the privacy of crime victims, addresses are shown at the block level only and specific locations are not identified. Should you have questions about this dataset, you may contact the Data Fulfillment and Analysis Division of the Chicago Police Department at DFA@ChicagoPolice.org.  Disclaimer: These crimes may be based upon preliminary information supplied to the Police Department by the reporting parties that have not been verified. The preliminary crime classifications may be changed at a later date based upon additional investigation and there is always the possibility of mechanical or human error. Therefore, the Chicago Police Department does not guarantee (either expressed or implied) the accuracy, completeness, timeliness, or correct sequencing of the information and the information should not be used for comparison purposes over time. The Chicago Police Department will not be responsible for any error or omission, or for the use of, or the results obtained from the use of this information. All data visualizations on maps should be considered approximate and attempts to derive specific addresses are strictly prohibited. The Chicago Police Department is not responsible for the content of any off-site pages that are referenced by or that reference this web page other than an official City of Chicago or Chicago Police Department web page. The user specifically acknowledges that the Chicago Police Department is not responsible for any defamatory, offensive, misleading, or illegal conduct of other users, links, or third parties and that the risk of injury from the foregoing rests entirely with the user.  The unauthorized use …",
        "attribution": "Chicago Police Department",
        "attribution_link": "https://www.chicagopolice.org/data-statistics/",
        "contact_email": null,
        "type": "dataset",
        "updatedAt": "2026-10-21T10:53:28.000Z",
        "createdAt": "2011-09-30T17:59:31.000Z",
        "metadata_updated_at": "2026-09-08T18:32:36.000Z",
        "data_updated_at": "2026-10-21T10:53:28.000Z",
        "page_views": {
          "page_views_last_week": 3624,
          "page_views_last_month": 13747,
          "page_views_total": 1333472,
          "page_views_last_week_log": 11.82376527978966,
          "page_views_last_month_log": 13.746934136372296,
          "page_views_total_log": 20.346757182994075
        },
        "columns_name": [
          "Location (state)",
          "Zip Codes",
          "Historical Wards 2003-2015",
          "Wards",
          "Boundaries - ZIP Codes",
          "Police Districts",
          "Police Beats",
          "Location Description",
          "Community Area",
          "Community Areas",
          "… 25 more items"
        ],
        "columns_field_name": [
          "location_state",
          ":@computed_region_6mkv_f3dw",
          ":@computed_region_awaf_s7ux",
          ":@computed_region_43wa_7qmu",
          ":@computed_region_rpca_8um6",
          ":@computed_region_d9mm_jgwp",
          ":@computed_region_d3ds_rm58",
          "location_description",
          "community_area",
          ":@computed_region_vrxf_vc4k",
          "… 25 more items"
        ],
        "columns_datatype": [
          "Text",
          "Number",
          "Number",
          "Number",
          "Number",
          "Number",
          "Number",
          "Text",
          "Text",
          "Number",
          "… 25 more items"
        ],
 

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Asset metadata by ID

    Use Socrata Discovery API (socrata) from fastCRW Pergamon, capability "Asset metadata by ID" (asset-metadata). You already hold a Socrata four-by-four ID and want that asset's schema and metadata rather than its rows. Example options: ids=ijzp-q8t2, limit=20, offset=0. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "socrata" and capability "asset-metadata". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Assets with an exact title

    Use Socrata Discovery API (socrata) from fastCRW Pergamon, capability "Assets with an exact title" (assets-by-name). You know the exact dataset title and want every portal that publishes one by that name. Example options: names=Building Permits, domains=data.cityofchicago.org, only=dataset. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "socrata" and capability "assets-by-name". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Assets by attributed source

    Use Socrata Discovery API (socrata) from fastCRW Pergamon, capability "Assets by attributed source" (attribution-assets). You want everything credited to one agency or organisation, including assets republished on other portals. Example options: attribution=City of Chicago, domains=data.cityofchicago.org, q=crime. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "socrata" and capability "attribution-assets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Title autocomplete

    Use Socrata Discovery API (socrata) from fastCRW Pergamon, capability "Title autocomplete" (autocomplete). You are completing a user's half-typed dataset name and want suggestions rather than full records. Example options: q=crime, domains=data.cityofchicago.org, search_context=data.cityofchicago.org. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "socrata" and capability "autocomplete". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

Licence

No blanket licence covers this catalogue. The Discovery API federates metadata from thousands of independently operated Socrata / Tyler Data & Insights portals and the terms are per-record: every result carries its own "metadata": {"license": ...} string set by the publishing agency. Values seen in live responses (2026-10-22) include "See Terms of Use" (e.g. data.cityofchicago.org/ijzp-q8t2), "Public Domain" and null; they are not interchangeable and none of them governs the catalogue as a whole. The only written reuse statement the operator publishes is the footer of its developer documentation site, and it is non-commercial: dev.socrata.com reads verbatim "Licensed by Tyler Technologies under CC BY-NC-SA 3.0.", with rel="license" pointing at http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_US. That covers the documentation site, not the data, and nothing on dev.socrata.com or tylertech.com grants commercial reuse or redistribution of catalogue metadata. commercialUse and redistribution are therefore both false: we pass the metadata through claiming nothing, and each record's own license field plus the linked portal's terms of use are what actually govern reuse of the asset behind it.

https://dev.socrata.com/

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Metadata from the Socrata Discovery API (Tyler Technologies, Data & Insights). Each record remains subject to the licence and terms of use of the portal that publishes it.

Cache: up to 3600s