data.marincounty.gov
Open data portalsUSdata.marincounty.gov
Socrata open data portal at data.marincounty.gov, publishing 124 public datasets from the publishing organisation, led by the County Government category.
Capabilities (5)
GET /v1/data/data-marincounty-gov/catalog-search1 creditKeyword search over the datasets published on data.marincounty.gov: each hit carries the dataset id, name, description, attribution, category, tags, column names and last update time, plus the total match count.
GET /v1/data/data-marincounty-gov/dataset1 creditThe 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.
GET /v1/data/data-marincounty-gov/datasets1 creditA page of the portal's own dataset records (id, name, description, category, attribution, creation and update timestamps, view count) without the full column metadata.
GET /v1/data/data-marincounty-gov/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/data-marincounty-gov/rows1 creditThe 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.
Response example
The shape of data from data-marincounty-gov/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "State of the County 2019",
"id": "2e3t-c94v",
"resource_name": null,
"parent_fxf": [],
"description": "What's ahead for 2019? Here are some of the top focus areas for the year, as determined by the Marin County Board of Supervisors.",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "story",
"updatedAt": "2025-06-17T23:41:11.771Z",
"createdAt": "2019-01-22T20:05:27.000Z",
"metadata_updated_at": "2025-06-17T23:41:11.000Z",
"data_updated_at": "2025-06-17T23:41:11.771Z",
"page_views": {
"page_views_last_week": 4,
"page_views_last_month": 6,
"page_views_total": 79615,
"page_views_last_week_log": 2.321928094887362,
"page_views_last_month_log": 2.807354922057604,
"page_views_total_log": 16.2807707701306
},
"columns_name": [],
"columns_field_name": [],
"columns_datatype": [],
"columns_description": [],
"columns_format": [],
"download_count": 0,
"provenance": "official",
"lens_view_type": "story",
"lens_display_type": "story",
"locked": false,
"backend": "not_a_dataset",
"blob_mime_type": null,
"hide_from_data_json": false,
"publication_date": "2019-01-28T23:20:38.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_category": "County Government",
"domain_tags": [],
"domain_metadata": [
{
"key": "Internal:_Public-Access-Level",
"value": "Public"
},
{
"key": "Internal:_Public-Access-Level-Comment",
"value": ""
},
{
"key": "Dataset-Information_Department",
"value": "Administrator"
},
{
"key": "Dataset-Information_Data-Source",
"value": "Report: Paper"
},
{
"key": "Dataset-Information_Update-Frequency",
"value": "Yearly"
}
]
},
"metadata": {
"domain": "data.marincounty.gov"
},
"permalink": "https://data.marincounty.gov/stories/s/2e3t-c94v",
"link": "https://data.marincounty.gov/stories/s/2e3t-c94v",
"owner": {
"id": "n6k6-emf8",
"user_type": "interactive",
"display_name": "lhendricks"
},
"creator": {
"id": "n6k6-emf8",
"user_type": "interactive",
"display_name": "lhendricks"
}
},
{
"resource": {
"name": "County Sheriff Reported Crimes",
"id": "ahxi-5nsc",
"resource_name": null,
"parent_fxf": [],
"description": "Reported crimes of the Marin County Sheriff's Department. Data is updated every four hours. Data begins as of January 1, 2013. Each reported crime includes its date/time, approximate location, crime type, and crime classification.\r\n\r\nNOTE: For the safety and security of victims of crimes, street address locations, other than reported street intersections or highway locations, are not exact. They are adjusted to the nearest block level.\r\n\r\nThere are two columns of city/town information. The first is the reported city/town name in the crime records. The second, which is not in the crime records, is a translation of it into the more commonly known city/town name, or into Marin County when it appears to be in an unincorporated area. For example, Almonte and Tam Valley are reported city/town names, but they are both in the more commonly known city of Mill Valley. Lucas Valley translates to San Rafael, etc. We hope that the translated city/town column will facilitate analysis.",
"attribution": "County of Marin, CA",
"attribution_link": null,
"contact_email": null,
"type": "datAsk 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.marincounty.gov (data-marincounty-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-marincounty-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.marincounty.gov (data-marincounty-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=nnw4-58yt. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-marincounty-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.marincounty.gov (data-marincounty-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-marincounty-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.marincounty.gov (data-marincounty-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=nnw4-58yt. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-marincounty-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 "Open Data Commons Open Database License" 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.marincounty.gov/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: data.marincounty.gov. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
