newcastle.data.socrata.com
Open data portalsnewcastle.data.socrata.com
Socrata open data portal at newcastle.data.socrata.com, publishing 10 public datasets from the publishing organisation.
Capabilities (5)
GET /v1/data/newcastle-data-socrata-com/catalog-search1 creditKeyword search over the datasets published on newcastle.data.socrata.com: 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/newcastle-data-socrata-com/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/newcastle-data-socrata-com/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/newcastle-data-socrata-com/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/newcastle-data-socrata-com/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 newcastle-data-socrata-com/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "US States",
"id": "fhzr-jivc",
"resource_name": null,
"parent_fxf": [
"mfq6-zfmx"
],
"description": "",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "map",
"updatedAt": "2024-04-24T21:10:31.000Z",
"createdAt": "2017-05-22T15:20:11.000Z",
"metadata_updated_at": "2024-04-24T21:10:31.000Z",
"data_updated_at": "2017-05-22T15:20:19.000Z",
"page_views": {
"page_views_last_week": 0,
"page_views_last_month": 1,
"page_views_total": 1453,
"page_views_last_week_log": 0,
"page_views_last_month_log": 1,
"page_views_total_log": 10.505811553919594
},
"columns_name": [],
"columns_field_name": [],
"columns_datatype": [],
"columns_description": [],
"columns_format": [],
"download_count": 20,
"provenance": "official",
"lens_view_type": "tabular",
"lens_display_type": "visualization_canvas_map",
"locked": false,
"backend": "nbe",
"blob_mime_type": null,
"hide_from_data_json": false,
"publication_date": "2017-05-22T15:20:11.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_tags": [],
"domain_metadata": []
},
"metadata": {
"domain": "newcastle.data.socrata.com"
},
"permalink": "https://newcastle.data.socrata.com/d/fhzr-jivc",
"link": "https://newcastle.data.socrata.com/dataset/US-States/fhzr-jivc",
"owner": {
"id": "cjgf-k7fr",
"user_type": "interactive",
"display_name": "Peter Moore"
},
"creator": {
"id": "cjgf-k7fr",
"user_type": "interactive",
"display_name": "Peter Moore"
}
},
{
"resource": {
"name": "Checkbook20200630",
"id": "jrd5-y9t2",
"resource_name": null,
"parent_fxf": [],
"description": "",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "dataset",
"updatedAt": "2021-03-02T20:48:29.000Z",
"createdAt": "2021-03-02T20:41:12.000Z",
"metadata_updated_at": "2021-03-02T20:48:29.000Z",
"data_updated_at": "2021-03-02T20:48:29.000Z",
"page_views": {
"page_views_last_week": 0,
"page_views_last_month": 2,
"page_views_total": 1246,
"page_views_last_week_log": 0,
"page_views_last_month_log": 1.5849625007211563,
"page_views_total_log": 10.28424574982967
},
"columns_name": [
"Obj Level 3 Title",
"OCA Title",
"Department Title",
"Fiscal Month",
"Post Date",
"Transaction Amount",
"Fiscal Year",
"Fund Name",
"Vendor Name",
"Payment #"
],
"columns_field_name": [
"obj_level_3_title",
"oca_title",
"department_title",
"fiscal_month",
"post_date",
"transaction_amount",
"fiscal_year",
"fund_name",
"vendor_name",
"payment"
],
"columns_datatype": [
"Text",
"Text",
"Text",
"Number",
"Calendar date",
"Number",
"Number",
"Text",
"Text",
"Number"
],
"columns_description": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"columns_format": [
{},
{},
{},
{},
{},
{},
{},
{},
{},
{}
],
"download_count": 1027,
"provenAsk with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Catalogue search
Use newcastle.data.socrata.com (newcastle-data-socrata-com) 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 "newcastle-data-socrata-com" 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 newcastle.data.socrata.com (newcastle-data-socrata-com) 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=d2bv-zkpn. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "newcastle-data-socrata-com" 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 newcastle.data.socrata.com (newcastle-data-socrata-com) 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 "newcastle-data-socrata-com" 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 newcastle.data.socrata.com (newcastle-data-socrata-com) 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=d2bv-zkpn. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "newcastle-data-socrata-com" 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
No licence is declared in the dataset metadata this portal exposes through its catalogue API. No reuse grant is made here: commercial use and redistribution are recorded as false and no rights are claimed over the upstream data.
https://newcastle.data.socrata.com/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: newcastle.data.socrata.com. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
