data.sustainablesm.org
Open data portalsdata.sustainablesm.org
Socrata open data portal at data.sustainablesm.org, publishing 326 public datasets from the publishing organisation.
Capabilities (5)
GET /v1/data/data-sustainablesm-org/catalog-search1 creditKeyword search over the datasets published on data.sustainablesm.org: 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-sustainablesm-org/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-sustainablesm-org/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-sustainablesm-org/row-count1 creditOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
GET /v1/data/data-sustainablesm-org/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-sustainablesm-org/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "Air Quality",
"id": "4hct-hin6",
"resource_name": null,
"parent_fxf": [
"uz6r-rjbd"
],
"description": "",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "story",
"updatedAt": "2023-01-03T18:31:51.356Z",
"createdAt": "2022-04-01T22:25:00.000Z",
"metadata_updated_at": "2022-04-06T22:18:22.000Z",
"data_updated_at": "2023-01-03T18:31:51.356Z",
"page_views": {
"page_views_last_week": 17,
"page_views_last_month": 33,
"page_views_total": 5458,
"page_views_last_week_log": 4.169925001442312,
"page_views_last_month_log": 5.08746284125034,
"page_views_total_log": 12.414420981746419
},
"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": "2022-04-06T22:18:22.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_tags": [],
"domain_metadata": []
},
"metadata": {
"domain": "data.sustainablesm.org"
},
"permalink": "https://data.sustainablesm.org/stories/s/4hct-hin6",
"link": "https://data.sustainablesm.org/stories/s/4hct-hin6",
"owner": {
"id": "ee57-5rs6",
"user_type": "interactive",
"display_name": "Amanda Grossman"
},
"creator": {
"id": "ee57-5rs6",
"user_type": "interactive",
"display_name": "Amanda Grossman"
}
},
{
"resource": {
"name": "Sustainable Community Involvement",
"id": "jmxj-hc43",
"resource_name": null,
"parent_fxf": [
"p7pe-cx6w"
],
"description": "",
"attribution": null,
"attribution_link": null,
"contact_email": null,
"type": "story",
"updatedAt": "2022-09-01T04:55:14.292Z",
"createdAt": "2022-07-05T16:31:30.000Z",
"metadata_updated_at": "2022-07-05T17:00:32.000Z",
"data_updated_at": "2022-09-01T04:55:14.292Z",
"page_views": {
"page_views_last_week": 7,
"page_views_last_month": 19,
"page_views_total": 4566,
"page_views_last_week_log": 3,
"page_views_last_month_log": 4.321928094887363,
"page_views_total_log": 12.157031074378356
},
"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": "2022-07-05T17:00:32.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_tags": [],
"domain_metadata": []
},
"metadata": {
"domain": "data.sustainablesm.org"
},
"permalink": "https://data.sustainablesm.org/stories/s/jmxj-hc43",
"link": "https://data.sustainablesm.org/stories/s/jmxj-hc43",
"owner": {
"id": "ee57-5rs6",
"user_type": "interactive",
"display_name": "Amanda Grossman"
},
"creator": {
"id": "ee57-5rs6",
"user_type": "interactive",
"display_name": "Amanda Grossman"
}
},
{
"resource": {
"name": "Urban Forest",
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.sustainablesm.org (data-sustainablesm-org) 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-sustainablesm-org" 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.sustainablesm.org (data-sustainablesm-org) 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=dsuv-utxb. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sustainablesm-org" 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.sustainablesm.org (data-sustainablesm-org) 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-sustainablesm-org" 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.sustainablesm.org (data-sustainablesm-org) 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=dsuv-utxb. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-sustainablesm-org" 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 Attribution 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.sustainablesm.org/Attribution
Display this wherever you show the data. It arrives on every response as provenance.attribution_text.
Source: data.sustainablesm.org. Dataset attribution as stated by each publishing agency.
Cache: up to 3600s
