Skip to main content
All providers

King County Open Data

Open data portalsUS

data.kingcounty.gov

Socrata open data portal at data.kingcounty.gov, publishing 539 public datasets from the publishing organisation, led by the Voting & Elections category.

Capabilities (5)

GET /v1/data/data-kingcounty-gov/catalog-search1 credit

Keyword search over the datasets published on data.kingcounty.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-kingcounty-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-kingcounty-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-kingcounty-gov/row-count1 credit

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

id
GET /v1/data/data-kingcounty-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-kingcounty-gov/catalog-search (Catalogue search). A sample, not live data.

Example truncated, full shape in JSON from the API.

JSON
{
  "results": [
    {
      "resource": {
        "name": "Names, dates, charges",
        "id": "yri2-fef8",
        "resource_name": null,
        "parent_fxf": [
          "j56h-zgnm"
        ],
        "description": "The Jail Bookings Open Data dataset is provided by the King County Department of Adult and Juvenile Detention. The dataset contains adult jail bookings which have occurred within the last twelve months; specific dates are indicated on the web site. \r\n\r\nThe data provided is a snapshot and is current as of the date and time it was extracted from the jail management systems. Every effort has been made to ensure the accuracy of data listed at the time of extraction. Updates, corrections, and additions may have occurred since the extraction date and time. \r\n\r\nThis dataset provides information associated with the booking of an individual into a King County jail facility, and not with any court cause, case, or criminal filing pursuant to the booking event. This information does not reflect the criminal history or criminal status of any inmate currently or previously in custody. \r\n\r\nCurrent information about a specific booking event can be obtained by calling the Department of Adult and Juvenile Detention at (206) 296-1234 or by visiting our Jail Inmate Lookup Service (JILS). http://ingress.kingcounty.gov/inmatelookup/",
        "attribution": "King County Department of Adult and Juvenile Detention",
        "attribution_link": "https://dajd-jms.powerappsportals.us/",
        "contact_email": null,
        "type": "filter",
        "updatedAt": "2026-10-02T15:43:40.000Z",
        "createdAt": "2013-05-03T23:01:04.000Z",
        "metadata_updated_at": "2025-01-14T19:10:41.000Z",
        "data_updated_at": "2026-10-02T15:43:40.000Z",
        "page_views": {
          "page_views_last_week": 525,
          "page_views_last_month": 3110,
          "page_views_total": 633846,
          "page_views_last_week_log": 9.038918989292304,
          "page_views_last_month_log": 11.603162679534382,
          "page_views_total_log": 19.273775114518138
        },
        "columns_name": [
          "Last Name",
          "Release Date Time",
          "Booking Date Time",
          "Charge",
          "First Name"
        ],
        "columns_field_name": [
          "last_name",
          "release_date_time",
          "booking_date_time",
          "charge",
          "first_name"
        ],
        "columns_datatype": [
          "Text",
          "Calendar date",
          "Calendar date",
          "Text",
          "Text"
        ],
        "columns_description": [
          "",
          "",
          "",
          "",
          ""
        ],
        "columns_format": [
          {},
          {},
          {
            "align": "left"
          },
          {},
          {}
        ],
        "download_count": 329436,
        "provenance": "official",
        "lens_view_type": "tabular",
        "lens_display_type": "table",
        "locked": false,
        "backend": "nbe",
        "blob_mime_type": null,
        "hide_from_data_json": false,
        "publication_date": "2019-03-07T21:11:00.000Z"
      },
      "classification": {
        "categories": [],
        "tags": [],
        "domain_category": "Jail",
        "domain_tags": [
          "jail inmate",
          "dajd"
        ],
        "domain_metadata": []
      },
      "metadata": {
        "domain": "data.kingcounty.gov",
        "license": "Public Domain"
      },
      "permalink": "https://data.kingcounty.gov/d/yri2-fef8",
      "link": "https://data.kingcounty.gov/Jail/Names-dates-charges/yri2-fef8",
      "owner": {
        "id": "d6nr-zq8b",
        "user_type": "interactive",
        "display_name": "King County Open Data"
      },
      "creator": {
        "id": "d6nr-zq8b",
        "user_type": "interactive",
        "display_name": "King County Open Data"
      }
    },
    {
      "resource": {
        "name": "Adult Jail Booking Oct 1,

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 King County Open Data (data-kingcounty-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-kingcounty-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 King County Open Data (data-kingcounty-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=2ydw-3iau. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-kingcounty-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 King County Open Data (data-kingcounty-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-kingcounty-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 King County Open Data (data-kingcounty-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=2ydw-3iau. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-kingcounty-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.kingcounty.gov/

Attribution

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

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

Cache: up to 3600s