City of Oakland Open Data
Open data portalsUSdata.oaklandca.gov
Socrata open data portal at data.oaklandca.gov, publishing 739 public datasets from the publishing organisation, led by the Equity Indicators category.
Capabilities (5)
GET /v1/data/data-oaklandca-gov/catalog-search1 creditKeyword search over the datasets published on data.oaklandca.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-oaklandca-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-oaklandca-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-oaklandca-gov/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/data-oaklandca-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-oaklandca-gov/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "CrimeWatch Maps Past 90-Days",
"id": "ym6k-rx7a",
"resource_name": null,
"parent_fxf": [],
"description": "The Oakland Police Department provides crime data to the public through the City of Oakland's Crime Watch web site. This site presents the data in a geographic format, which allows users of the information to produce maps and/or reports. \n\nThe file that you are about to electronically download, copy, or otherwise retrieve by other means is a tabular representation of the same data without maps or reporting capabilities. Be advised that the exact address of each crime has been substituted with the block address to protect the privacy of the victim. \n\nPlease note: This Crime data are captured from reports filed with the police Department. There may be delays in data due to data processing, incident reporting or maybe technical in nature. Please allow up to 90 days from the end of each month for the data to be completely processed. For example, if you want to retrieve the full data set for the month of March, you will need to generate your report on or after June 30th. (A full 90 days after March 31st)",
"attribution": "Oakland Police Department",
"attribution_link": null,
"contact_email": null,
"type": "dataset",
"updatedAt": "2026-10-23T13:01:38.000Z",
"createdAt": "2013-01-23T20:03:10.000Z",
"metadata_updated_at": "2026-10-23T13:01:34.000Z",
"data_updated_at": "2026-10-23T13:01:38.000Z",
"page_views": {
"page_views_last_week": 329,
"page_views_last_month": 1222,
"page_views_total": 159624,
"page_views_last_week_log": 8.366322214245816,
"page_views_last_month_log": 10.256208688527387,
"page_views_total_log": 17.284327094364812
},
"columns_name": [
"Zip Codes 2",
"STATE",
"Location",
"ADDRESS",
"CRIMETYPE",
"DATETIME",
"CASENUMBER",
"POLICEBEAT",
"DESCRIPTION",
"CITY"
],
"columns_field_name": [
":@computed_region_w23w_jfhw",
"state",
"location_1",
"address",
"crimetype",
"datetime",
"casenumber",
"policebeat",
"description",
"city"
],
"columns_datatype": [
"Number",
"Text",
"Point",
"Text",
"Text",
"Calendar date",
"Text",
"Text",
"Text",
"Text"
],
"columns_description": [
"This column was automatically created in order to record in what polygon from the dataset 'Zip Codes' (w23w-jfhw) the point in column 'location_1' is located. This enables the creation of region maps (choropleths) in the visualization canvas and data lens.",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"columns_format": [
{},
{
"align": "left"
},
{},
{
"align": "left"
},
{},
{},
{},
{},
{},
{
"align": "left"
}
],
"download_count": 18247,
"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": "2020-10-26T21:43:27.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_category": "Public Safety",
"domain_tags": [],
"domain_metadata": []
},
"metadata": {
"domain": "data.oaklandca.gov"
},
"permalinAsk with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Catalogue search
Use City of Oakland Open Data (data-oaklandca-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-oaklandca-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 City of Oakland Open Data (data-oaklandca-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=k5m5-tw4s. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-oaklandca-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 City of Oakland Open Data (data-oaklandca-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-oaklandca-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 City of Oakland Open Data (data-oaklandca-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=k5m5-tw4s. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-oaklandca-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 "Creative Commons 1.0 Universal (Public Domain Dedication)" 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.oaklandca.gov/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: data.oaklandca.gov. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
