Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/ungovr-org:ungovr-org-laws-api"
All apis
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.
Get an API 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: UnGovr Open Data Laws API
version: '1.0'
description: 'Free, read-only access to 327,114+ government entities,
6,177+ California Grand Jury reports, and an AI and scraping
law research corpus (the /ai-laws/ paths below).
Every path answers GET and HEAD (the GET''s status and headers with no
body) and OPTIONS for CORS preflight. Any other method is 405 with an
Allow header naming those three.
The license below (CC BY 4.0) covers every path except /ai-laws/*. The
AI-law corpus is licensed separately and non-exclusively, by agreement;
every /ai-laws/* path names this in its own x-ungovr-license extension.
Full terms: https://www.ungovr.org/open-data/license.
The entity and report counts above are a snapshot from the build that
generated this description, and the corpus rebuilds daily, so two reads
a day apart can disagree. For the count as of right now, read entities
and cgj_reports in https://data.ungovr.org/v1/meta/last-updated.json,
whose built_at field names the build they belong to.
This source repository is private. To report an error in the data,
email api@ungovr.org naming the entity or report and what looks wrong.'
contact:
email: api@ungovr.org
license:
name: CC BY 4.0
url: https://creativecommons.org/licenses/by/4.0/
servers:
- url: https://data.ungovr.org/v1
tags:
- name: Laws
paths:
/laws/records/index.json:
get:
summary: Open-records laws, compact index (all jurisdictions)
responses:
'200':
description: count + array of {jurisdiction, country, name, citation, response_days, rti_rating, url}
tags:
- Laws
operationId: getLawsRecordsIndexJson
x-operation-id-source: derived
head:
summary: Headers of the GET, without the body
description: 'The status and headers the GET would send (ETag, Content-Type, Cache-Control, Content-Length, the X-Quota set on a gated path) and no body. Metered exactly like the GET: a HEAD on a key-gated path counts against the same daily cap.'
responses:
'200':
description: Headers of the GET 200 response, with no body
tags:
- Laws
operationId: headLawsRecordsIndexJson
x-operation-id-source: derived
/laws/records/{slug}.json:
get:
summary: One open-records law, full record
parameters:
- name: slug
in: path
required: true
description: Jurisdiction slug with '/' replaced by '--' ('us--ca'; national laws are the bare country code, US federal is 'us')
schema:
type: string
responses:
'200':
description: Curated law record (citation, deadlines, fees, exemptions, appeals, retention, RTI rating)
tags:
- Laws
operationId: getLawsRecords{slug}Json
x-operation-id-source: derived
head:
summary: Headers of the GET, without the body
description: 'The status and headers the GET would send (ETag, Content-Type, Cache-Control, Content-Length, the X-Quota set on a gated path) and no body. Metered exactly like the GET: a HEAD on a key-gated path counts against the same daily cap.'
parameters:
- name: slug
in: path
required: true
description: Jurisdiction slug with '/' replaced by '--' ('us--ca'; national laws are the bare country code, US federal is 'us')
schema:
type: string
responses:
'200':
description: Headers of the GET 200 response, with no body
tags:
- Laws
operationId: headLawsRecords{slug}Json
x-operation-id-source: derived
/laws/transparency/index.json:
get:
summary: Transparency-law index across law.ungovr.org's five scored sections
responses:
'200':
description: count + per-pillar counts + array of {pillar, jurisdiction, country, name, citation, url}
tags:
- Laws
operationId: getLawsTransparencyIndexJson
x-operation-id-source: derived
head:
summary: Headers of the GET, without the body
description: 'The status and headers the GET would send (ETag, Content-Type, Cache-Control, Content-Length, the X-Quota set on a gated path) and no body. Metered exactly like the GET: a HEAD on a key-gated path counts against the same daily cap.'
responses:
'200':
description: Headers of the GET 200 response, with no body
tags:
- Laws
operationId: headLawsTransparencyIndexJson
x-operation-id-source: derived
components:
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-API-Key