Common Elements Dataset catalog API
What the platform holds, and what it holds for one association. Start here: the catalog names every resource, the plan it needs, and the caveat that stops an unmatched jurisdiction reading as a clean record.
What the platform holds, and what it holds for one association. Start here: the catalog names every resource, the plan it needs, and the caveat that stops an unmatched jurisdiction reading as a clean record.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/commonelements-com:commonelements-com-dataset-catalog-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Commonelements Com Dataset catalog API
version: 1.4.0
contact:
name: Common Elements API support
url: https://commonelements.com/contact
license:
name: Commercial data licence
url: https://commonelements.com/developers/pricing/builder
termsOfService: https://commonelements.com/terms
description: 'Operations tagged Dataset catalog across 2 of this provider''s published API definitions: commonelements-com-openapi.json, commonelements-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://commonelements.com/api/v1
description: Production
- url: https://commonelements.com/api/v1/meta/sandbox
description: Sandbox — fixed dataset, published test key, not metered
security:
- bearerAuth: []
tags:
- name: Dataset catalog
description: 'What the platform holds, and what it holds for one association. Start here: the catalog names every resource, the plan it needs, and the caveat that stops an unmatched jurisdiction reading as a clean record.'
paths:
/api/v1/datasets:
get:
operationId: datasetsCatalog
summary: 'The resource catalog: every published resource and every source behind it, with…'
description: 'The resource catalog: every published resource and every source behind it, with display name, buyer summary, provenance, state footprint, coverage basis and caveat, the plan each needs, and whether your key can read it. Resources above your plan are listed deliberately — an absence you cannot see is indistinguishable from a clean record.'
tags:
- Dataset catalog
security:
- bearerAuth: []
x-ce-scope: associations
x-ce-docs-url: https://commonelements.com/developers/docs#datasets-catalog
x-ce-example-request: "curl \"https://commonelements.com/api/v1/datasets\" \\\n -H \"Authorization: Bearer ce_live_your_key_here\""
responses:
'200':
description: Success.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: array
items:
type: object
properties:
resource_key:
type: string
description: Stable key. The `source` and path segment both derive from it.
display_name:
type: string
description: Resource name, for display.
buyer_summary:
type: string
description: What this resource gives you, in one sentence.
provenance_label:
type: string
description: Where the underlying records come from.
min_tier:
type: string
description: Plan required to read rows from this resource.
has_access:
type: boolean
description: Whether the key on this request can read its rows.
coverage_basis:
type: string
description: What kind of coverage number this resource may be described with.
coverage_note:
type: string
description: The caveat that says whether a zero means 'nothing happened' or 'not matched yet'.
additionalProperties: true
additionalProperties: true
examples:
default:
value:
ok: true
data:
- resource_key: permits
display_name: Building permits
buyer_summary: Municipal permits recorded against the association.
provenance_label: Municipal permit systems
min_tier: builder
has_access: true
coverage_basis: association_share
coverage_note: Matched in the jurisdictions listed; a zero outside them means not matched, not none.
'401':
description: '`invalid_api_key` — No Authorization header, a header that is not `Bearer <key>`, or a key that does not resolve to an active record. Next: Send `Authorization: Bearer ce_live_...`. If the header is correct, the key has been revoked or expired — mint a new one at /settings/api-keys. Keys are shown once at creation and stored only as a hash, so a lost key cannot be recovered.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: '`scope_not_allowed` — The key is valid but was created without the scope this endpoint requires. Scopes are set at key creation and are not widened at request time. Next: Create a key carrying the scope named in the message, or use the `all` scope. Each endpoint''s required scope is on its OpenAPI operation as `x-ce-scope`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: '`quota_exceeded` — The key has spent every request included in the current calendar month. There is no overage charge and no automatic top-up. Next: Call /api/v1/meta/usage to see the reset date and how the quota was spent, then either wait for the reset at the start of the next calendar month or upgrade the plan. /api/v1/meta/usage does not itself consume quota.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: '`internal_error` — The request was accepted and failed on our side. Next: Retry with exponential backoff (1s, 2s, 4s, up to about 30s). If it persists past a few minutes, check /api/v1/meta/status and contact support with the time of the request.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://commonelements.com/api/v1
description: Production
- url: https://commonelements.com/api/v1/meta/sandbox
description: Sandbox — fixed dataset, published test key, not metered
/api/v1/associations/{id}/datasets:
get:
operationId: datasetsAssociationIndex
summary: What the platform holds for one association across every resource, in one round…
description: 'What the platform holds for one association across every resource, in one round trip: record counts, how many of each resource''s sources could be measured, whether your key can read them, and the coverage caveat. The call to make before deciding which resource endpoints are worth a request.
- Counts are returned for resources above your plan on purpose. The size of what is behind the gate is the offer.'
tags:
- Dataset catalog
security:
- bearerAuth: []
x-ce-scope: associations
x-ce-docs-url: https://commonelements.com/developers/docs#datasets-association-index
x-ce-example-request: "curl \"https://commonelements.com/api/v1/associations/9a71c6b0-4e2f-41d8-8b09-5c3a2d17e604/datasets\" \\\n -H \"Authorization: Bearer ce_live_your_key_here\""
responses:
'200':
description: Success.
content:
application/json:
schema:
type: object
required:
- ok
- data
properties:
ok:
type: boolean
const: true
data:
type: array
items:
type: object
properties:
resource_key:
type: string
description: Resource this row describes.
record_count:
type: number
description: Records held for this association in this resource.
sources_measured:
type: number
description: How many of the resource's sources could be counted.
has_access:
type: boolean
description: Whether your key can read the rows behind the count.
coverage_note:
type: string
description: Whether a zero here means 'nothing happened' or 'this jurisdiction is not matched yet'.
additionalProperties: true
additionalProperties: true
examples:
default:
value:
ok: true
data:
- resource_key: permits
record_count: 14
sources_measured: 1
has_access: true
coverage_note: …
- resource_key: violations
record_count: 0
sources_measured: 1
has_access: false
coverage_note: …
'400':
description: '`validation_error` — A query parameter or body field is missing, malformed, or outside its allowed range. The message names the first parameter that failed. Next: Fix the named parameter and re-send. Every parameter and its accepted values are in the OpenAPI document at /api/v1/openapi; retrying an unchanged request will fail the same way.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: '`invalid_api_key` — No Authorization header, a header that is not `Bearer <key>`, or a key that does not resolve to an active record. Next: Send `Authorization: Bearer ce_live_...`. If the header is correct, the key has been revoked or expired — mint a new one at /settings/api-keys. Keys are shown once at creation and stored only as a hash, so a lost key cannot be recovered.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: '`scope_not_allowed` — The key is valid but was created without the scope this endpoint requires. Scopes are set at key creation and are not widened at request time. Next: Create a key carrying the scope named in the message, or use the `all` scope. Each endpoint''s required scope is on its OpenAPI operation as `x-ce-scope`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: '`not_found` — The identifier is well-formed but matches nothing this key may see. Records excluded from the public directory read as absent rather than forbidden, deliberately — a 403 would confirm the row exists. Next: Confirm the identifier against a list or search endpoint before fetching it by id. A record that appears in the product but not here is outside the licensed dataset.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: '`quota_exceeded` — The key has spent every request included in the current calendar month. There is no overage charge and no automatic top-up. Next: Call /api/v1/meta/usage to see the reset date and how the quota was spent, then either wait for the reset at the start of the next calendar month or upgrade the plan. /api/v1/meta/usage does not itself consume quota.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: '`internal_error` — The request was accepted and failed on our side. Next: Retry with exponential backoff (1s, 2s, 4s, up to about 30s). If it persists past a few minutes, check /api/v1/meta/status and contact support with the time of the request.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: id
in: path
required: true
description: Association id.
schema:
type: string
format: uuid
servers:
- url: https://commonelements.com/api/v1
description: Production
- url: https://commonelements.com/api/v1/meta/sandbox
description: Sandbox — fixed dataset, published test key, not metered
components:
schemas:
Error:
type: object
required:
- ok
- error
- message
properties:
ok:
type: boolean
const: false
error:
type: string
description: Stable machine-readable code. Switch on this, not on the message.
enum:
- validation_error
- invalid_api_key
- scope_not_allowed
- tier_not_allowed
- not_found
- quota_exceeded
- public_record_allowance_exceeded
- not_implemented
- search_timeout
- internal_error
- service_unavailable
message:
type: string
description: Human-readable detail. Wording may change; the code will not.
docs_url:
type: string
format: uri
description: Where this code is explained in full. Present on the meta namespace.
next_steps:
type: string
description: What to do about it. Present on the meta namespace.
additionalProperties: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'An API key from /settings/api-keys, sent as `Authorization: Bearer ce_live_...`. Sandbox requests use the published test key documented at /api/v1/meta/sandbox.'
x-refined-from:
- commonelements-com-openapi.json
- commonelements-com-openapi.yml
x-ce-api-version: v1
x-ce-versions:
- version: v1
status: current
released_on: '2026-06-15'
sunset_on: null
note: The only version. No successor is announced, so no sunset date exists to publish; when one does, it appears here and in the Sunset header before anything is removed.
x-ce-compatibility:
- kind: additive
rule: Adding a new endpoint, a new optional query parameter, or a new field to a response object. Parse responses tolerantly; a client that errors on an unrecognised field will break on a change this policy permits.
- kind: additive
rule: Adding a new value to an open enumeration such as `change_kind`, a county-published milestone status, or a vendor category. Handle an unknown value as a passthrough string rather than a parse failure.
- kind: additive
rule: Raising a plan's row cap or quota, or widening a lookback window.
- kind: breaking
rule: Removing or renaming a field, changing a field's type, or changing the meaning of an existing value. Never done inside v1.
- kind: breaking
rule: Removing an endpoint, adding a required parameter to an existing endpoint, or tightening an existing parameter's accepted values.
- kind: breaking
rule: Moving an endpoint behind a higher plan than the one it shipped under. A new endpoint may launch on any plan; an existing one does not move up.
x-ce-deprecation-policy:
- label: 12 months minimum notice
detail: A version is supported for at least 12 months after its successor is generally available. No endpoint inside a supported version is removed during that window.
- label: Announced in three machine-readable places
detail: 'A deprecated operation carries `deprecated: true` in the OpenAPI document, a `Deprecation` and a `Sunset` HTTP header (RFC 8594) on every response, and an entry in the changelog on /developers/status. Poll any one of them; you do not have to read an email to find out.'
- label: Successor named before removal
detail: Nothing is deprecated without a documented replacement that returns the same information. The replacement ships first, and both run concurrently for the whole notice period.
- label: Emergency exception, narrowly scoped
detail: The only change that can ship without notice is one required to stop unlawful or unlicensed disclosure of data — a field withdrawn because a source's terms changed, or a privacy obligation. Affected customers are contacted directly, and the reason is stated in the changelog.
x-ce-changelog:
- date: '2026-08-16'
kind: additive
summary: 'Added the meta namespace: /api/v1/openapi (machine-readable spec), /api/v1/meta/status, /api/v1/meta/dictionary, /api/v1/meta/usage, and a sandbox at /api/v1/meta/sandbox. Error responses on the new endpoints carry `docs_url` and `next_steps` alongside the existing `error` and `message`.'
- date: '2026-08-16'
kind: additive
summary: '`display_name` added to the association record: the canonical rendering of the filed name. `name` is unchanged and still the verbatim registry string.'
- date: '2026-08-11'
kind: additive
summary: Bulk export gained `format=json` alongside CSV, and `columns=` for selecting a subset of a resource's column spec.
- date: '2026-08-10'
kind: additive
summary: Bulk export resources `building-safety` and `report-card` added.
- date: '2026-08-03'
kind: additive
summary: Change feed endpoints /api/v1/changes and /api/v1/changes/summary released.
- date: '2026-06-15'
kind: additive
summary: v1 generally available.
x-ce-quota-policy:
window: calendar month, UTC
reset: First request on or after the first day of the next calendar month resets the counter.
overage: None. A key that reaches its included requests returns 429 until the reset or an upgrade; there is no automatic overage charge.
meteringUnit: One HTTP request against a /api/v1 endpoint, counted whatever the status code. Meta endpoints (/api/v1/meta/*, /api/v1/openapi) and the sandbox are not metered.
x-ce-plan-quotas:
free: 250
builder: 10000
growth: 50000
scale: 250000
enterprise: unmetered