Ultimaps Account API

Usage and service state.

GitHub OpenAPI

Operations 6

GET /v1/usage Current plan and quota state #
GET /v1/health Service health #
GET /v1/openapi.json This contract as JSON #
GET /v1/openapi.yaml This contract as YAML #
GET /v1/schemas/render-request.json Render request as standalone JSON Schema #
GET /v1/tools/render_map.json Tool definition for LLM function calling #

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-account-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-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ultimaps Public Account 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: Account
  description: Usage and service state.
paths:
  /v1/usage:
    get:
      operationId: getUsage
      summary: Current plan and quota state
      tags:
      - Account
      description: The key's plan, this month's renders and today's renders, so you never need a 402 to learn where you stand. The monthly counter is per **workspace** (shared across all of that workspace's keys) and resets on the calendar month (UTC), independent of subscription renewal anniversaries. The daily counter is per **key** (the key making this request) and resets at midnight UTC. Hitting the daily cap surfaces as `429 rate_limit_exceeded` on renders. Keyless renders are not counted anywhere.
      security:
      - bearerAuth: []
      - apiKeyHeader: []
      responses:
        '200':
          description: Usage summary.
          content:
            application/json:
              schema:
                type: object
                required:
                - plan
                - renders
                properties:
                  plan:
                    type: string
                    enum:
                    - free
                    - pro
                  renders:
                    type: object
                    required:
                    - used
                    - quota
                    - resetsAt
                    - today
                    properties:
                      used:
                        type: integer
                        description: Renders used this month, workspace-wide.
                      quota:
                        type: integer
                      resetsAt:
                        type: string
                        format: date-time
                      today:
                        type: object
                        required:
                        - used
                        - cap
                        properties:
                          used:
                            type: integer
                            description: Renders used today by this key.
                          cap:
                            type: integer
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalError'
  /v1/health:
    get:
      operationId: getHealth
      summary: Service health
      tags:
      - Account
      description: Liveness plus render-engine state. `degraded` means the engine is busy and work is queueing behind it. Renders still succeed, they just wait. Unauthenticated, uncached. Poll at most once a minute.
      security: []
      responses:
        '200':
          description: Health status including render-engine state.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - ok
                    - degraded
                  engine:
                    type: object
                    properties:
                      availableWorkers:
                        type: integer
                      queueDepth:
                        type: integer
                  timestamp:
                    type: string
                    format: date-time
  /v1/openapi.json:
    get:
      operationId: getOpenApiJson
      summary: This contract as JSON
      tags:
      - Account
      description: The OpenAPI 3.1 document, as JSON. Cached 5 minutes.
      security: []
      responses:
        '200':
          description: The OpenAPI document.
          content:
            application/json:
              schema:
                type: object
  /v1/openapi.yaml:
    get:
      operationId: getOpenApiYaml
      summary: This contract as YAML
      tags:
      - Account
      description: The OpenAPI 3.1 document, as YAML. Cached 5 minutes.
      security: []
      responses:
        '200':
          description: The OpenAPI document.
          content:
            application/yaml:
              schema:
                type: string
  /v1/schemas/render-request.json:
    get:
      operationId: getRenderRequestSchema
      summary: Render request as standalone JSON Schema
      tags:
      - Account
      description: '`RenderRequest` with every `$ref` inlined, as JSON Schema 2020-12. The exact shape the server validates. Cached 5 minutes.'
      security: []
      responses:
        '200':
          description: The JSON Schema document.
          content:
            application/schema+json:
              schema:
                type: object
  /v1/tools/render_map.json:
    get:
      operationId: getRenderMapTool
      summary: Tool definition for LLM function calling
      tags:
      - Account
      description: 'A function-calling tool definition for the render endpoint. For a ready-made MCP server over the same endpoints, install `@ultimaps/mcp`. `input_schema` is the inlined render-request schema with two differences, both for strict function-calling providers that choke on `oneOf`: `choropleth.format` publishes the OBJECT form only (use `{"preset": "compact"}` where the API also accepts the bare string `"compact"`), and the `$schema`, `$id` and `title` keywords are dropped. Everything else is identical. The endpoint itself still accepts both forms, and `/v1/schemas/render-request.json` publishes the unmodified schema. Cached 5 minutes.'
      security: []
      responses:
        '200':
          description: The tool definition.
          content:
            application/json:
              schema:
                type: object
components:
  schemas:
    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)
    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.

            '
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    InternalError:
      description: Unexpected server error. Safe to retry with backoff.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  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/