UnGovr Crosswalk API

The Crosswalk API from UnGovr, for crosswalk.

GitHub OpenAPI

Operations 10

GET /crosswalk/iso-3166/index.json ISO 3166 crosswalk, version and file list #
HEAD /crosswalk/iso-3166/index.json Headers of the GET, without the body #
GET /crosswalk/iso-3166/countries.json ISO 3166-1 rows (plus EU and XK), keyed by code #
HEAD /crosswalk/iso-3166/countries.json Headers of the GET, without the body #
GET /crosswalk/iso-3166/subdivisions/{cc}.json One country's first-level ISO 3166-2 rows, keyed by code #
HEAD /crosswalk/iso-3166/subdivisions/{cc}.json Headers of the GET, without the body #
GET /crosswalk/iso-3166/aliases.json Retired and non-ISO codes, slug aliases and the edge sentinels #
HEAD /crosswalk/iso-3166/aliases.json Headers of the GET, without the body #
GET /crosswalk/iso-3166/iso-3166.csv Every crosswalk row, flat #
HEAD /crosswalk/iso-3166/iso-3166.csv Headers of the GET, without the body #

Work with this as data

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-crosswalk-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 Specification

ungovr-org-crosswalk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UnGovr Open Data Crosswalk 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: Crosswalk
paths:
  /crosswalk/iso-3166/index.json:
    get:
      summary: ISO 3166 crosswalk, version and file list
      description: The crosswalk maps an ISO 3166 code, or the country and region pair an edge emits (Cloudflare, CloudFront, Vercel, Fastly, MaxMind), to UnGovr URNs, with the stack of governing layers, OCD-ID, Wikidata QID, precision and a reason when a code cannot be placed. crosswalk_version is a content hash that changes only when a row changes; corpus_as_of is the build date. CC BY 4.0, keyless.
      responses:
        '200':
          description: crosswalk_version, corpus_as_of, iso_codes_version, license, row counts, the file list and the closed vocabularies
      tags:
      - Crosswalk
      operationId: getCrosswalkIso3166IndexJson
      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:
      - Crosswalk
      operationId: headCrosswalkIso3166IndexJson
      x-operation-id-source: derived
  /crosswalk/iso-3166/countries.json:
    get:
      summary: ISO 3166-1 rows (plus EU and XK), keyed by code
      responses:
        '200':
          description: rows keyed by alpha-2 code
      tags:
      - Crosswalk
      operationId: getCrosswalkIso3166CountriesJson
      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:
      - Crosswalk
      operationId: headCrosswalkIso3166CountriesJson
      x-operation-id-source: derived
  /crosswalk/iso-3166/subdivisions/{cc}.json:
    get:
      summary: One country's first-level ISO 3166-2 rows, keyed by code
      parameters:
      - name: cc
        in: path
        required: true
        description: Lowercase ISO 3166-1 alpha-2 code
        schema:
          type: string
          minLength: 2
          maxLength: 2
      responses:
        '200':
          description: country, country_row and rows keyed by ISO 3166-2 code (retired and non-ISO codes carry alias_of)
      tags:
      - Crosswalk
      operationId: getCrosswalkIso3166Subdivisions{cc}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: cc
        in: path
        required: true
        description: Lowercase ISO 3166-1 alpha-2 code
        schema:
          type: string
          minLength: 2
          maxLength: 2
      responses:
        '200':
          description: Headers of the GET 200 response, with no body
      tags:
      - Crosswalk
      operationId: headCrosswalkIso3166Subdivisions{cc}Json
      x-operation-id-source: derived
  /crosswalk/iso-3166/aliases.json:
    get:
      summary: Retired and non-ISO codes, slug aliases and the edge sentinels
      responses:
        '200':
          description: codes mapped to their current code, slug aliases (uk to gb, the Brazil pairs), and what XX and T1 mean
      tags:
      - Crosswalk
      operationId: getCrosswalkIso3166AliasesJson
      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:
      - Crosswalk
      operationId: headCrosswalkIso3166AliasesJson
      x-operation-id-source: derived
  /crosswalk/iso-3166/iso-3166.csv:
    get:
      summary: Every crosswalk row, flat
      responses:
        '200':
          description: CSV with a header row; corpus_slugs, stack and flags are semicolon-separated
      tags:
      - Crosswalk
      operationId: getCrosswalkIso3166Iso3166Csv
      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:
      - Crosswalk
      operationId: headCrosswalkIso3166Iso3166Csv
      x-operation-id-source: derived
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key