Skip to main content
All providers

data.sonomacounty.ca.gov

Open data portalsUS

data.sonomacounty.ca.gov

Socrata open data portal at data.sonomacounty.ca.gov, publishing 139 public datasets from the publishing organisation, led by the Government category.

Capabilities (5)

GET /v1/data/data-sonomacounty-ca-gov/catalog-search1 credit

Keyword search over the datasets published on data.sonomacounty.ca.gov: each hit carries the dataset id, name, description, attribution, category, tags, column names and last update time, plus the total match count.

q?offset?order?only?categories?tags?domain_category?
GET /v1/data/data-sonomacounty-ca-gov/dataset1 credit

The complete metadata document for one dataset: name, description, attribution, licence, category, tags, all column definitions with data types, and the table id used for queries.

id
GET /v1/data/data-sonomacounty-ca-gov/datasets1 credit

A page of the portal's own dataset records (id, name, description, category, attribution, creation and update timestamps, view count) without the full column metadata.

offset?order?category?
GET /v1/data/data-sonomacounty-ca-gov/row-count1 credit

One number: how many rows the dataset currently holds, as a SoQL count aggregate.

id
GET /v1/data/data-sonomacounty-ca-gov/rows1 credit

The first 100 rows of a dataset as JSON objects keyed by field name. Column names are the API field names, so they can be used directly in a later SoQL query.

id

Response example

The shape of data from data-sonomacounty-ca-gov/catalog-search (Catalogue search). A sample, not live data.

Example truncated, full shape in JSON from the API.

JSON
{
  "results": [
    {
      "resource": {
        "name": "Sonoma County Sheriff's Office Incident Data",
        "id": "3rsj-iche",
        "resource_name": null,
        "parent_fxf": [],
        "description": "Sheriff’s incident reports are generated after either of two events 1) a citizen has reported an event/crime and a deputy has substantiated that a report is necessary or 2) a deputy has witnessed an event/crime in progress. These incident reports represent a wide spectrum of law enforcement activity from informational reports to serious crime reports. For more information about this dataset please go to the About button and click on the Attachment.",
        "attribution": "Sonoma County Sheriff's Office",
        "attribution_link": "http://www.sonomasheriff.org",
        "contact_email": null,
        "type": "dataset",
        "updatedAt": "2026-10-23T08:31:40.000Z",
        "createdAt": "2015-05-19T22:19:55.000Z",
        "metadata_updated_at": "2024-03-28T18:05:55.000Z",
        "data_updated_at": "2026-10-23T08:31:40.000Z",
        "page_views": {
          "page_views_last_week": 410,
          "page_views_last_month": 1590,
          "page_views_total": 224948,
          "page_views_last_week_log": 8.682994583681683,
          "page_views_last_month_log": 10.635718120331047,
          "page_views_total_log": 17.779238427936356
        },
        "columns_name": [
          "agency",
          "location (city)",
          "location (address)",
          "location (state)",
          "id",
          "location type",
          "upload",
          "intersection",
          "incident number",
          "date time",
          "… 7 more items"
        ],
        "columns_field_name": [
          "agency",
          "location_city",
          "location_address",
          "location_state",
          "id",
          "location_type",
          "upload",
          "intersection",
          "incident_number",
          "date_time",
          "… 7 more items"
        ],
        "columns_datatype": [
          "Text",
          "Text",
          "Text",
          "Text",
          "Text",
          "Text",
          "Calendar date",
          "Text",
          "Text",
          "Calendar date",
          "… 7 more items"
        ],
        "columns_description": [
          "Agency that wrote the incident report including Sheriff's Office and contract city reports.",
          "",
          "",
          "",
          "Unique identifier",
          "Location category for where the incident report occurred. In the case where multiple locations are reported only the first location will be displayed.",
          "Date the data was uploaded into Socrata after incident approval.",
          "Closest intersection to the location where the event was reported. Intersections are used to protect victims identities.",
          "Sequential number assigned to the incident report.",
          "Date and time that the incident was reported to have taken place. For incidents such as burglary when there is a time range within which the incident occurred this is the first possible time the incident could have occurred.",
          "… 7 more items"
        ],
        "columns_format": [
          {
            "align": "left"
          },
          {},
          {},
          {},
          {
            "precisionStyle": "standard",
            "noCommas": "true",
            "align": "right"
          },
          {
            "align": "left"
          },
          {
            "view": "date_time",
            "align": "left"
          },
          {
            "align": "left"
          },
          {
            "align": "left"
          },
          {
            "view": "date_time",
            "align": "left"
          },
          "… 7 more items"
        ],
        "download_count": 121487,
        "provenance": "official",
        "lens_view_type": "tabular",
        "lens_display_type": "table",
        "locked": false,
        

Ask with this source

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

  • Catalogue search

    Use data.sonomacounty.ca.gov (data-sonomacounty-ca-gov) from fastCRW Pergamon, capability "Catalogue search" (catalog-search). You want to find a dataset on this portal by keyword and do not know its four-by-four id. Example options: q=taxi, offset=0, order=page_views_total DESC. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sonomacounty-ca-gov" and capability "catalog-search". 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>

  • Dataset metadata

    Use data.sonomacounty.ca.gov (data-sonomacounty-ca-gov) from fastCRW Pergamon, capability "Dataset metadata" (dataset). You already hold a dataset id and need its columns, licence or description before querying rows. Example options: id=23z5-fg6m. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sonomacounty-ca-gov" and capability "dataset". 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>

  • Dataset inventory

    Use data.sonomacounty.ca.gov (data-sonomacounty-ca-gov) from fastCRW Pergamon, capability "Dataset inventory" (datasets). You need to enumerate what this portal publishes, or page through its newest datasets. Example options: offset=0, order=createdAt, category=Transportation. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sonomacounty-ca-gov" and capability "datasets". 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>

  • Row count

    Use data.sonomacounty.ca.gov (data-sonomacounty-ca-gov) from fastCRW Pergamon, capability "Row count" (row-count). You need to know how large a dataset is before downloading it, or want a cheap liveness check. Example options: id=23z5-fg6m. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sonomacounty-ca-gov" and capability "row-count". 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

Datasets on this portal declare the licence "Public Domain" in their Socrata metadata; the portal publishes no separate API licence and different datasets may carry different terms. Quoted as found in the portal's own catalogue.

https://data.sonomacounty.ca.gov/

Attribution

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

Source: data.sonomacounty.ca.gov. Dataset attribution as stated by each publishing agency.

Cache: up to 3600s