Skip to main content
All providers
N

nyc-scgc.data.socrata.com

Open data portals

nyc-scgc.data.socrata.com

Socrata open data portal at nyc-scgc.data.socrata.com, publishing 11 public datasets from the publishing organisation, led by the COVID-19 category.

Capabilities (5)

GET /v1/data/nyc-scgc-data-socrata-com/catalog-search1 credit

Keyword search over the datasets published on nyc-scgc.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.

q?offset?order?only?categories?tags?domain_category?
GET /v1/data/nyc-scgc-data-socrata-com/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/nyc-scgc-data-socrata-com/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/nyc-scgc-data-socrata-com/row-count1 credit

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

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

Example truncated, full shape in JSON from the API.

JSON
{
  "results": [
    {
      "resource": {
        "name": "NYC Borough Boundaries",
        "id": "gm6w-4nbn",
        "resource_name": null,
        "parent_fxf": [],
        "description": "",
        "attribution": null,
        "attribution_link": null,
        "contact_email": null,
        "type": "dataset",
        "updatedAt": "2023-11-17T19:10:38.000Z",
        "createdAt": "2020-04-21T16:57:14.000Z",
        "metadata_updated_at": "2023-11-17T19:10:38.000Z",
        "data_updated_at": "2020-04-21T16:58:24.000Z",
        "page_views": {
          "page_views_last_week": 2,
          "page_views_last_month": 9,
          "page_views_total": 758,
          "page_views_last_week_log": 1.5849625007211563,
          "page_views_last_month_log": 3.3219280948873626,
          "page_views_total_log": 9.567956075415466
        },
        "columns_name": [
          "boro_name",
          "shape_leng",
          "shape_area",
          "the_geom",
          "boro_code"
        ],
        "columns_field_name": [
          "boro_name",
          "shape_leng",
          "shape_area",
          "the_geom",
          "boro_code"
        ],
        "columns_datatype": [
          "Text",
          "Number",
          "Number",
          "MultiPolygon",
          "Number"
        ],
        "columns_description": [
          "The full name of each borough",
          "The calculated length each borough's polygon",
          "The calculated area each borough's polygon",
          "The coordinate pairs that, when connected together, comprise the boundaries of each borough",
          "The numeric code the represents each borough"
        ],
        "columns_format": [
          {},
          {},
          {},
          {},
          {}
        ],
        "download_count": 795,
        "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-04-21T16:58:25.000Z"
      },
      "classification": {
        "categories": [],
        "tags": [],
        "domain_category": "COVID-19",
        "domain_tags": [],
        "domain_metadata": []
      },
      "metadata": {
        "domain": "nyc-scgc.data.socrata.com"
      },
      "permalink": "https://nyc-scgc.data.socrata.com/d/gm6w-4nbn",
      "link": "https://nyc-scgc.data.socrata.com/COVID-19/NYC-Borough-Boundaries/gm6w-4nbn",
      "owner": {
        "id": "hn68-w99i",
        "user_type": "deleted_user_surrogate",
        "display_name": "Deleted User"
      },
      "creator": {
        "id": "hn68-w99i",
        "user_type": "deleted_user_surrogate",
        "display_name": "Deleted User"
      }
    },
    {
      "resource": {
        "name": "New York City Counties Census Tracts",
        "id": "ct53-4mt3",
        "resource_name": null,
        "parent_fxf": [],
        "description": "",
        "attribution": null,
        "attribution_link": null,
        "contact_email": null,
        "type": "dataset",
        "updatedAt": "2020-04-20T19:42:49.000Z",
        "createdAt": "2020-04-20T19:42:09.000Z",
        "metadata_updated_at": "2020-04-20T19:42:49.000Z",
        "data_updated_at": "2020-04-20T19:42:47.000Z",
        "page_views": {
          "page_views_last_week": 2,
          "page_views_last_month": 12,
          "page_views_total": 696,
          "page_views_last_week_log": 1.5849625007211563,
          "page_views_last_month_log": 3.700439718141092,
          "page_views_total_log": 9.445014845868423
        },
        "columns_name": [
          "name",
          "geoid",
          "affgeoid",
          "aland",
          "lsad",
          "statefp",
          "countyfp",
          "the_geom",
          "awater",
          "tractce"
        ],
        "columns_field_name": [
          "name",
          "geoid",
          "affgeoid",
          "aland",
          "lsad",
  

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 nyc-scgc.data.socrata.com (nyc-scgc-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 "nyc-scgc-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 nyc-scgc.data.socrata.com (nyc-scgc-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=4u5k-gqva. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "nyc-scgc-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 nyc-scgc.data.socrata.com (nyc-scgc-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 "nyc-scgc-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 nyc-scgc.data.socrata.com (nyc-scgc-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=4u5k-gqva. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "nyc-scgc-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://nyc-scgc.data.socrata.com/

Attribution

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

Source: nyc-scgc.data.socrata.com. Dataset attribution as stated by each publishing agency.

Cache: up to 3600s