Ultimaps Catalog API

Discover maps and their regions. Keyless, cached.

GitHub OpenAPI

Operations 2

GET /v1/maps List available maps #
GET /v1/maps/{mapId} Get map detail with regions #

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/ultimaps-com:ultimaps-com-catalog-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

ultimaps-com-catalog-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ultimaps Public Catalog API
  version: 1.0.0-beta.1
  description: 'Render vector maps of countries, states, counties, and other administrative

    regions with a single HTTP call. Region colors or raw data values in,

    PNG/SVG out. ## Quick start: no key, no signup


    ```bash

    curl https://api.ultimaps.com/v1/renders \

    -H "Content-Type: application/json" \

    -d ''{"mapId": "united-states", "regions": {"US-CA": "#1D4ED8", "US-TX": "#F59E0B"}}'' \

    -o map.png

    ```


    That works right now, anonymously. You get a PNG up to 1600 px wide with an

    "ultimaps.com" attribution, 30 renders per hour per IP. Add a key for

    bigger canvases, higher quotas and, on Pro, SVG and clean output:


    ```bash

    curl https://api.ultimaps.com/v1/renders \

    -H "Authorization: Bearer $ULTIMAPS_API_KEY" \

    -H "Content-Type: application/json" \

    -d ''{"mapId": "united-states",

    "choropleth": {"values": {"California": 39.5, "Texas": 30.5, "Florida": 22.6}},

    "title": {"text": "Population by state (M)"}}'' \

    -o map.png

    ```


    ## Get an API key


    Create a key in Studio, under Workspace → API:

    https://studio.ultimaps.com/account/workspace/api. Free and Pro accounts

    both mint keys there. The key is shown once, so copy it when you create it. Send it as `Authorization: Bearer um_live_…`. `X-API-Key: um_live_…` is an

    accepted alias for tools that cannot set the Authorization header. Keep

    keys server-side. You can rotate a key from the same screen, and the old

    one keeps working for 72 hours. ## Tiers


    | - | Keyless | Free key | Pro key |

    |---|---|---|---|

    | Auth | none | `Authorization: Bearer um_live_…` | same |

    | Formats | PNG | PNG | PNG, SVG |

    | Attribution | full watermark | full watermark | none |

    | Canvas | ≤ 1600×1600 px, scale 1 | ≤ 1600×1600 px, scale ≤ 2 | ≤ 4000×4000 px, scale ≤ 4 |

    | Rate limit | 30/hour per IP (IPv6 /64), burst 5/min | 10/min | 30/min |

    | Daily cap | none | 50 | 1,000 |

    | Monthly renders | none | 500 | 5,000 |

    | Concurrency | 1 | 2 | 2 |


    SVG output is Pro-only. PNG dimensions are exactly

    `round(width×scale) × round(height×scale)`. A request that carries an

    invalid key is always `401`. It never falls back to the keyless tier. The

    documented rate limits are the ones you hit in practice, so a busy client

    gets a predictable `429 rate_limit_exceeded` rather than

    `concurrency_limit_reached`. There is no sandbox environment. Use

    `dryRun: true` to test any request for free, without spending quota. ## The flow


    1. `GET /v1/maps`: pick a `mapId` ("united-states", "europe",

    "united-states-california"). Keyless, cached an hour. 2. `GET /v1/maps/{mapId}`: the region keys and titles you will color

    (`q` narrows by name, code or alias). Keyless, cached an hour. 3. `POST /v1/renders` with `dryRun: true`: a free pre-flight showing what

    matched, what did not, the class breaks and the legend. 4. `POST /v1/renders`: the image. Steps 1 to 3 are optional once you know a map. Region keys are matched

    loosely enough that `{"California": 39.5}` just works. ## No key required


    Both discovery endpoints and both render endpoints work anonymously. `GET /v1/renders?spec=…` is a plain image URL. Drop it in an `` tag,

    a README, a Notion page or a dashboard tile. It is cached publicly for 24

    hours, so repeat views cost nothing against the 30/hour allowance. ## Region matching


    Region keys are matched case-insensitively against region `key`s

    (ISO/FIPS/… codes), titles, known aliases, and normalized names (diacritics

    stripped, "St." becomes "Saint"). Unambiguous typos are auto-corrected

    ("Calfornia" to California) and every correction is reported: inline in

    JSON responses, and through the `X-Ultimaps-Corrected`,

    `X-Ultimaps-Unmatched` and `X-Ultimaps-Matching` headers on image

    responses. Set `onUnmatched: "error"` in production pipelines to fail

    instead of rendering with holes. Use `dryRun: true` for a free pre-flight

    that returns the full matching report and computed class breaks without

    rendering. ## What can it draw?'
  contact:
    name: Ultimaps
    url: https://ultimaps.com
  termsOfService: https://ultimaps.com/terms/
servers:
- url: https://api.ultimaps.com
  description: Production. There is no sandbox. Use `dryRun` for free tests.
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: Catalog
  description: Discover maps and their regions. Keyless, cached.
paths:
  /v1/maps:
    get:
      operationId: listMaps
      summary: List available maps
      tags:
      - Catalog
      description: 'The full public map catalog: every map you can render, with its id, title, what a "region" means on it, extra layers, and region count. This is the discovery entry point, since every render needs a `mapId` from here. Map ids are stable slugs (`united-states`, `europe`, `world-equal-earth`) that always point at the current edition of a map. An id is the map''s slug on ultimaps.com, the last path segment of its page rather than the whole URL. `q` filters the catalog by id, title, region type or category (case- and diacritic- insensitive substring, and it also matches ids you may have seen in Studio URLs). No authentication. Cached for one hour (`Cache-Control: public, max-age=3600`). Not paginated: `data` is every matching map, and `meta` reports `matched` against `total` so you can see what a filter removed. Private workspace maps are never listed here, even with a key. They stay renderable by id with a key from their workspace.'
      security: []
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          maxLength: 100
        example: counties
        description: 'Case- and diacritic-insensitive substring filter over id, title, region type and category.

          '
      responses:
        '200':
          description: Catalog envelope.
          headers:
            Cache-Control:
              schema:
                type: string
              description: '`public, max-age=3600`.'
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - meta
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CatalogMap'
                  meta:
                    type: object
                    required:
                    - matched
                    - total
                    properties:
                      matched:
                        type: integer
                        description: Maps in `data` (after `q`).
                        examples:
                        - 3
                      total:
                        type: integer
                        description: Maps in the whole catalog, regardless of `q`.
                        examples:
                        - 187
        '400':
          $ref: '#/components/responses/ValidationError'
        '500':
          $ref: '#/components/responses/InternalError'
  /v1/maps/{mapId}:
    get:
      operationId: getMap
      summary: Get map detail with regions
      tags:
      - Catalog
      description: 'Full detail for one map: its layers and every region as `{key, title}`. `key` is the region''s code in the map''s primary scheme (ISO 3166-2, FIPS, ZCTA, GSS, …), or its title where the scheme publishes no code for it. It is the recommended key for `choropleth.values`, `categories.values` and `regions`. The render endpoint also accepts titles, common aliases (USPS abbreviations, alternate names) and typos, so you rarely need this call before rendering. `q` filters regions by key, title or any accepted alias, so a search for "CA" finds California even though only `US-CA` is emitted. `offset` and `limit` page through large maps (US counties has 3,143 regions). Without them you get every region, and nothing is truncated silently. No authentication. Cached for one hour (`Cache-Control: public, max-age=3600`). Private workspace maps are not exposed here.'
      security: []
      parameters:
      - name: mapId
        in: path
        required: true
        schema:
          type: string
        example: united-states
        description: The map's id (slug) from `GET /v1/maps`.
      - name: q
        in: query
        required: false
        schema:
          type: string
          maxLength: 100
        example: new york
        description: 'Case- and diacritic-insensitive substring filter over each region''s key, title and accepted aliases. Matching is wide, but the response still prints only `key` and `title`.

          '
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
        description: Skip this many matching regions.
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 5000
        description: Return at most this many regions. Omit for all of them.
      responses:
        '200':
          description: Map detail.
          headers:
            Cache-Control:
              schema:
                type: string
              description: '`public, max-age=3600`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MapDetail'
        '400':
          $ref: '#/components/responses/ValidationError'
        '404':
          $ref: '#/components/responses/UnknownMap'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  responses:
    ValidationError:
      description: The request failed validation.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://ultimaps.com/docs/api/errors#validation_error
            title: Request validation failed
            status: 400
            code: validation_error
            detail: Request validation failed.
            errors:
            - param: regions.CA
              message: '`regions` maps region keys to hex colors. Numbers go in `choropleth.values`.'
    UnknownMap:
      description: The mapId does not exist (or is not accessible).
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://ultimaps.com/docs/api/errors#unknown_map
            title: Unknown map
            status: 404
            code: unknown_map
            detail: Unknown map "united-sates". Use GET /v1/maps to list available maps.
            suggestions:
            - united-states
    InternalError:
      description: Unexpected server error. Safe to retry with backoff.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  schemas:
    LayerId:
      type: string
      description: 'The extra-layer vocabulary, shared by every map. Each map ships a subset, listed by `GET /v1/maps` and `GET /v1/maps/{mapId}`. The enum is additive-only: ids are appended, never renamed or removed.'
      enum:
      - admin0
      - admin0-mesh
      - admin1-mesh
      - admin1-mesh-inner
      - admin2-mesh
      - lakes
      - rivers
      - roads
      - cities
      - admin1
    CatalogMap:
      type: object
      properties:
        id:
          type: string
          description: 'Stable slug, the `mapId` for every other endpoint. Points at the current edition of the map. It is the map''s slug on ultimaps.com: the last path segment of its page, not the whole URL.

            '
          examples:
          - united-states
        title:
          type: string
          examples:
          - United States — States
        regionType:
          type:
          - string
          - 'null'
          examples:
          - State
        layers:
          type: array
          items:
            $ref: '#/components/schemas/LayerId'
          description: Extra layers this map ships, renderable via the `layers` request field.
        regionCount:
          type: integer
        labels:
          type: boolean
          description: Whether this map ships curated region labels, which is what `style.labels` draws. Most county and district maps have none.
    Problem:
      type: object
      description: 'RFC 9457 problem details with a stable `code` to branch on. In `errors[]`, `param` is the dotted path of the offending field for schema violations (e.g. `regions.CA`), and the raw input key for unmatched region keys (e.g. `Texassss`).

        '
      required:
      - type
      - title
      - status
      - detail
      - code
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          type: string
          description: 'Stable machine-readable error code. Branch on this, not on `detail`. Two values in this enum are reserved and never returned: `invalid_region_id` (an unmatched region key is a `validation_error` with `suggestions`, or lands in `regionMatching.unmatched`) and `render_expired` (held for future hosted outputs).

            '
          enum:
          - validation_error
          - invalid_region_id
          - unknown_map
          - unauthorized
          - plan_upgrade_required
          - monthly_quota_exceeded
          - rate_limit_exceeded
          - concurrency_limit_reached
          - payload_too_large
          - render_expired
          - render_failed
          - render_timeout
          - not_found
          - internal_error
        errors:
          type: array
          description: Per-field details on validation errors.
          items:
            type: object
            properties:
              param:
                type: string
              message:
                type: string
              suggestions:
                type: array
                items:
                  type: string
        suggestions:
          type: array
          items:
            type: string
        upgrade_url:
          type: string
          format: uri
          description: Pricing page. Present on plan/quota problems.
        signup_url:
          type: string
          format: uri
          description: Where to create a free API key. Present on keyless-tier problems.
        quota_resets_at:
          type: string
          format: date-time
          description: Present on `monthly_quota_exceeded` (first of next month, UTC).
        regionMatching:
          $ref: '#/components/schemas/RegionMatching'
          description: 'Present on the `onUnmatched: error` 400. The full matching report for the failed request.

            '
    RegionMatching:
      type: object
      required:
      - matchedKeys
      - corrected
      - unmatched
      properties:
        matchedKeys:
          type: integer
          description: 'Input keys that resolved, summed across the request''s choropleth/categories/regions blocks and the style.labels.hide list. A region referenced by two keys counts twice (the later value wins). This counts keys, not distinct regions.

            '
        corrected:
          type: array
          items:
            type: object
            properties:
              input:
                type: string
              matchedTo:
                type: string
                description: The published `key` of the region the input was corrected to.
                examples:
                - US-CA
              title:
                type: string
              via:
                type: string
        unmatched:
          type: array
          items:
            type: object
            properties:
              input:
                type: string
              suggestions:
                type: array
                items:
                  type: string
                description: 'Closest regions as `"Title (key)"`, or just the title on maps whose key is the title.

                  '
                examples:
                - - Texas (US-TX)
    MapDetail:
      type: object
      properties:
        id:
          type: string
          description: The map's slug. The same id `GET /v1/maps` prints, even when the request used an alias.
          examples:
          - united-states
        title:
          type: string
        regionType:
          type:
          - string
          - 'null'
        regionTypePlural:
          type:
          - string
          - 'null'
        layers:
          type: array
          items:
            $ref: '#/components/schemas/LayerId'
          description: Extra layers this map ships, renderable via the `layers` request field.
        regionCount:
          type: integer
          description: Regions in the whole map, regardless of `q`/`offset`/`limit`.
          examples:
          - 51
        labels:
          type: boolean
          description: Whether this map ships curated region labels, which is what `style.labels` draws. Coverage varies by map, and the flag only says whether any exist.
        regions:
          type: array
          description: 'The requested page of regions. Aliases are accepted as render input but never emitted here. `key` is the one identifier the API documents and prints.

            '
          items:
            type: object
            required:
            - key
            - title
            properties:
              key:
                type: string
                description: 'The region''s code in the map''s primary scheme (ISO 3166-2, FIPS, ZCTA, GSS, …), or its title where the scheme publishes no code. Unique within the map. The recommended render key. Never empty.

                  '
                examples:
                - US-CA
              title:
                type: string
                examples:
                - California
        page:
          type: object
          required:
          - offset
          - limit
          - matched
          properties:
            offset:
              type: integer
              examples:
              - 0
            limit:
              type:
              - integer
              - 'null'
              description: The effective `limit`, or `null` when every matching region was returned.
            matched:
              type: integer
              description: Regions matching `q` (all of them when `q` is absent) before paging.
              examples:
              - 51
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'The canonical form: Authorization: Bearer <api key>. Create a key in Studio under Workspace → API.'
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: Accepted alias for low-code tools that cannot set the Authorization header.
externalDocs:
  description: Guides, cookbook and the LLM-facing reference
  url: https://ultimaps.com/docs/api/