Skip to main content
All providers

Los Angeles Open Data

Open data portalsUS

data.lacity.org

Socrata open data portal at data.lacity.org, publishing 1274 public datasets from the publishing organisation, led by the Public Safety category.

Capabilities (5)

GET /v1/data/data-lacity-org/catalog-search1 credit

Keyword search over the datasets published on data.lacity.org: 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/data-lacity-org/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/data-lacity-org/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/data-lacity-org/row-count1 credit

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

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

Example truncated, full shape in JSON from the API.

JSON
{
  "results": [
    {
      "resource": {
        "name": "Listing of Active Businesses",
        "id": "6rrh-rzua",
        "resource_name": null,
        "parent_fxf": [],
        "description": "Listing of all active businesses currently registered with the Office of Finance. An \"active\" business is defined as a registered business whose owner has not notified the Office of Finance of a cease of business operations. Update Interval: Monthly.\n\nNAICS Codes are from 2007 NAICS:\nhttps://www.census.gov/cgi-bin/sssd/naics/naicsrch?chart=2007",
        "attribution": "Office of Finance",
        "attribution_link": null,
        "contact_email": null,
        "type": "dataset",
        "updatedAt": "2026-10-15T18:06:00.000Z",
        "createdAt": "2014-05-21T17:21:35.000Z",
        "metadata_updated_at": "2026-10-15T18:03:36.000Z",
        "data_updated_at": "2026-10-15T18:06:00.000Z",
        "page_views": {
          "page_views_last_week": 1955,
          "page_views_last_month": 11275,
          "page_views_total": 822927,
          "page_views_last_week_log": 10.933690654952233,
          "page_views_last_month_log": 13.460967762570423,
          "page_views_total_log": 19.65040668565855
        },
        "columns_name": [
          "MAILING ZIP CODE",
          "LOCATION (address)",
          "ZIP CODE",
          "LOCATION",
          "LOCATION START DATE",
          "PRIMARY NAICS DESCRIPTION",
          "NAICS",
          "MAILING CITY",
          "LOCATION (state)",
          "MAILING ADDRESS",
          "… 16 more items"
        ],
        "columns_field_name": [
          "mailing_zip_code",
          "location_1_address",
          "zip_code",
          "location_1",
          "location_start_date",
          "primary_naics_description",
          "naics",
          "mailing_city",
          "location_1_state",
          "mailing_address",
          "… 16 more items"
        ],
        "columns_datatype": [
          "Text",
          "Text",
          "Text",
          "Point",
          "Calendar date",
          "Text",
          "Text",
          "Text",
          "Text",
          "Text",
          "… 16 more items"
        ],
        "columns_description": [
          "Mailing address Zip code of the business.",
          "",
          "Zip code of the business location.",
          "Latitude & Longitude, if present, for this business location.",
          "The start date of the first business activity registered at this location.",
          "Description of the primary NAICS code. Descriptions that are noted as \"(1997 NAICS)\" apply the code and description designated in 1997 as referred to in the New Business Exemption Ordinance.",
          "The self-reported North American Industry Classification System (NAICS) code, which is used in classifying business establishments.",
          "Mailing address city of the business.",
          "",
          "Mailing address of the business.",
          "… 16 more items"
        ],
        "columns_format": [
          {
            "align": "left"
          },
          {},
          {
            "align": "left"
          },
          {
            "view": "address_coords",
            "align": "left"
          },
          {
            "view": "date",
            "align": "left"
          },
          {
            "align": "left"
          },
          {
            "align": "left"
          },
          {
            "align": "left"
          },
          {},
          {
            "align": "left"
          },
          "… 16 more items"
        ],
        "download_count": 261630,
        "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": "2019-06-16T22:24:20.000Z"
      },
      "classification": {
        "categories": [],
        "tags": [],
        "domain

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 Los Angeles Open Data (data-lacity-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-lacity-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 Los Angeles Open Data (data-lacity-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=hiwe-xzrt. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-lacity-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 Los Angeles Open Data (data-lacity-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-lacity-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 Los Angeles Open Data (data-lacity-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=hiwe-xzrt. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-lacity-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 "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.lacity.org/

Attribution

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

Source: data.lacity.org. Dataset attribution as stated by each publishing agency.

Cache: up to 3600s