Properties
| Name | Type | Description |
|---|---|---|
| mapId | string | Map id (slug) from GET /v1/maps, e.g. `united-states`, `europe`, `united-states-california`. Always resolves to the current edition of that map. |
| choropleth | object | Numeric choropleth mode. Mutually exclusive with `categories` (one scale per map). `regions` composes with it as an override layer. If none of the keys in `values` match, the request fails with 400 ev |
| categories | object | Categorical coloring mode. Mutually exclusive with `choropleth`. Unmatched keys simply leave their regions uncolored. The no-data fill is `style.defaultRegionColor`, and `noDataColor` does not apply h |
| regions | object | Override layer. Region key to hex color, applied AFTER choropleth/categories coloring and winning over it. Precedence: choropleth/categories paint first, `regions` overrides win, and everything else g |
| legend | object | |
| title | object | |
| locations | array | Pin markers. They compose with every mode. |
| style | object | |
| layers | object | Extra geographic layers to draw, keyed by `LayerId`, e.g. {"cities": true, "roads": true}. Keys outside the enum are a `validation_error`. Each map ships a subset (see `layers` in GET /v1/maps/{mapId} |
| output | object | Caps: width×scale ≤ 8192, height×scale ≤ 8192, and (width×scale)×(height×scale) ≤ 4096×4096 = 16.8M pixels. Your tier caps width, height and scale further (see Tiers). |
| onUnmatched | string | warn = render anyway (unmatched regions get the no-data fill) and report. error = 400 with per-key suggestions. Recommended for production pipelines: error. Exception: in choropleth mode, ZERO matched |
| dryRun | boolean | Return the matching report + computed breaks as JSON. No image, no quota. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/ultimaps-com/json-schema/ultimaps-com-render-request-schema.json",
"title": "RenderRequest",
"x-generated": "2026-11-27",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/ultimaps-com-openapi.json#/components/schemas/RenderRequest",
"type": "object",
"additionalProperties": false,
"required": [
"mapId"
],
"not": {
"required": [
"choropleth",
"categories"
]
},
"dependentSchemas": {
"choropleth": {
"properties": {
"legend": {
"not": {
"required": [
"items"
]
}
}
}
},
"categories": {
"properties": {
"legend": {
"not": {
"required": [
"items"
]
}
}
}
}
},
"properties": {
"mapId": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Map id (slug) from GET /v1/maps, e.g. `united-states`, `europe`, `united-states-california`. Always resolves to the current edition of that map.\n"
},
"choropleth": {
"type": "object",
"additionalProperties": false,
"required": [
"values"
],
"description": "Numeric choropleth mode. Mutually exclusive with `categories` (one scale per map). `regions` composes with it as an override layer. If none of the keys in `values` match, the request fails with 400 even under `onUnmatched: warn`, since there is nothing to build a scale from. `type`, `classes`, `method` and `palette` are all optional: whatever you leave out is suggested from the data distribution (the resolved plan is returned by `dryRun` and in the `X-Ultimaps-Choropleth` header). The values alone can't say what they mean, so send `kind` (and `midpoint` when the data has a meaningful center) whenever you know it: they decide the label format and sequential vs diverging.\n",
"properties": {
"values": {
"type": "object",
"additionalProperties": {
"type": "number"
},
"minProperties": 1,
"maxProperties": 5000,
"description": "Region key to numeric value. Keys go through the matching rules described above. Two keys resolving to the same region count as two matched keys, and the later value wins.\n"
},
"type": {
"type": "string",
"enum": [
"auto",
"gradient",
"steps",
"groups"
],
"default": "auto",
"description": "Visualization type. `auto` picks from the data: ≤7 unique values → `groups` (discrete legend items), skewed distributions → `steps` (contiguous bar with break ticks), else `gradient` (continuous color scale). Explicit values pin the type. `gradient` and `steps` legends are horizontal-only: they render in a top/bottom band (default bottom), and a left/right `legend.position` is coerced to bottom with a warning. That rule depends on the data, so JSON Schema cannot express it and generated SDKs should not try to enforce it.\n"
},
"palette": {
"type": "string",
"enum": [
"gnbu",
"bugn",
"bupu",
"orrd",
"pubu",
"pubugn",
"purd",
"rdpu",
"ylgn",
"ylgnbu",
"ylorbr",
"ylorrd",
"blues",
"greens",
"greys",
"oranges",
"purples",
"reds",
"rdbu",
"brbg",
"spectral",
"piyg",
"prgn",
"puor",
"rdgy",
"rdylbu"
],
"description": "ColorBrewer palette id (the server matches case-insensitively). Absent = suggested: `rdbu` centered on `midpoint` when one is given (or `kind` is `change`); with no hints, `rdbu` centered on 0 when the values spread on both sides of zero; sequential blues otherwise. Sequential palettes suit one-directional data, and diverging palettes (rdbu, brbg, spectral, piyg, prgn, puor, rdgy, rdylbu) suit data around a midpoint.\n"
},
"classes": {
"type": "integer",
"minimum": 2,
"maximum": 9,
"description": "Number of classes. Absent = suggested from the data (5 base, more for skewed distributions). Explicit counts are honored exactly, capped only by the number of unique values. Tied values can still collapse duplicate quantile edges, and a constant dataset collapses to one class. `dryRun` returns the breaks and effective class count that will actually be drawn.\n"
},
"method": {
"type": "string",
"enum": [
"quantile",
"equalInterval",
"jenks",
"pretty"
],
"description": "Break method. Absent = round, publishable edges picked from the data (a constant step such as 0 · 10 · 20 · 30, or a 1-2-5 ladder such as 0 · 10K · 25K · 50K · 100K for skewed data), reported as `pretty`. quantile = equal number of regions per class, equalInterval = equal-width value intervals, jenks = natural breaks (minimal within-class variance), pretty = rounded human-readable edges. Additive-only enum: more methods may be added, none removed.\n"
},
"noDataColor": {
"$ref": "#/$defs/HexColor",
"description": "Fill for regions absent from `values`. Choropleth mode only. Overrides `style.defaultRegionColor` when both are set. When neither is set, the theme's region color is used if it stays apart from the palette (CIEDE2000 ≥ 12 from the lightest class, ≥ 8 from every class) or is transparent by design; otherwise a light, slightly theme-tinted gray that does and keeps the region borders visible, so missing data never reads as the lowest class or as the neutral of a diverging palette. Gray palettes can leave no such color: the theme color is then darkened and a `nodata_low_contrast` warning asks for an explicit `noDataColor`.\n"
},
"format": {
"description": "Number format for ALL choropleth surfaces: class labels, gradient ticks, and tooltips in interactive contexts. A preset string or a FormatSpec options object. Default \"auto\", which infers from the magnitude. Presets: `auto`, `plain` (39,538,223), `compact` (39.5M), `percent` (the input is a FRACTION, so 0.42 prints as \"42%\" and 0.423 as \"42.3%\". The preset trims trailing zeros. An explicit `{\"style\": \"percent\", \"decimals\": 1}` keeps them and prints \"42.0%\". Pre-scaled data should use `{\"suffix\": \"%\"}` instead), `currency` ($39,538,223, USD). Raw d3-format strings are no longer accepted. Use `{\"d3\": \"~s\"}` for the old behavior. The dry run and the `X-Ultimaps-Choropleth` header echo the RESOLVED spec after preset expansion and auto inference.\n",
"oneOf": [
{
"type": "string",
"enum": [
"auto",
"plain",
"compact",
"percent",
"currency"
]
},
{
"$ref": "#/$defs/FormatSpec"
}
]
},
"kind": {
"type": "string",
"enum": [
"count",
"rate",
"percent",
"fraction",
"currency",
"change",
"year",
"index"
],
"description": "What the numbers are. With `format` auto it sets the label format: `percent` = already ×100 (42 → \"42%\"), `fraction` = 0–1 share printed ×100 (0.42 → \"42%\"), `currency` (code from `unit`, default USD), `year` (1788, no thousands separator), `change` (signed, \"+5\"), and `count`, `rate`, `index` keep the magnitude-inferred format. It also settles sequential vs diverging: once a kind is given, the palette is diverging only when `midpoint` is set or the kind is `change` (center 0), so data that merely crosses zero stays sequential. Additive-only enum.\n"
},
"midpoint": {
"type": "number",
"description": "The data's meaningful center: 0 for change or balances, 100 for an index with base 100, 1 for a ratio. Turns the palette diverging with its neutral color on this value, even when every value sits on one side of it. An explicit sequential `palette` wins and the midpoint is ignored, with a `midpoint_ignored` warning.\n"
},
"unit": {
"type": "string",
"minLength": 1,
"maxLength": 16,
"description": "Short unit appended to every label: symbols attach to the number (\"°C\" → \"12°C\"; a bare \"%\" takes the number style's spacing, \"4,5 %\" in de-DE), words get a space (\"t\" → \"12 t\"). Keep long units in the title. With `kind: \"currency\"` it is the currency, as an ISO code or symbol (\"EUR\", \"€\"); a unit that names no currency (\"Fr.\") prints as a plain number with that suffix. Ignored with `kind: \"fraction\"` (the labels already end in \"%\") and when `format` is explicit (use `format.suffix` there). `{\"locale\": \"de-DE\"}` alone (or `{\"preset\": \"auto\", \"locale\": \"de-DE\"}`) still counts as auto, so it keeps the unit and `kind` formatting in that number style. An explicit `format` decides only the labels: `kind` and `midpoint` still decide sequential vs diverging.\n"
},
"noData": {
"type": [
"boolean",
"object"
],
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"description": "Adds a \"No data\" row to the legend for regions without a value: `true`, or `{\"label\": \"Not reported\"}` for your own text. Opt-in: absent or `false` draws no row. The default label follows `format.locale` (\"Keine Daten\" in de-DE). Send it whenever your data doesn't cover the whole map; the dry run and `X-Ultimaps-Choropleth` report `regionsWithoutData`. When every region has a value the row is left out (there is nothing for it to explain).\n"
},
"legendEndLabels": {
"type": "boolean",
"description": "Steps legends: also print the two outer ends of the bar (ignored for groups and gradient legends). An end that the automatic breaks left open, or that the data reaches past, reads \"< 10\" / \"≥ 90\" rather than a round bound the data never reaches. Groups legends already print every range and gradients their ends, so only steps change. Default false.\n"
}
}
},
"categories": {
"type": "object",
"additionalProperties": false,
"required": [
"values"
],
"description": "Categorical coloring mode. Mutually exclusive with `choropleth`. Unmatched keys simply leave their regions uncolored. The no-data fill is `style.defaultRegionColor`, and `noDataColor` does not apply here.\n",
"properties": {
"values": {
"type": "object",
"additionalProperties": {
"type": "string",
"minLength": 1
},
"minProperties": 1,
"maxProperties": 5000,
"description": "Region key to category name."
},
"colors": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/HexColor"
},
"description": "Optional category name to color. Names are matched exactly and case-sensitively against the names in `values` (unlike region keys, which are matched loosely). An entry for a category no region uses is silently ignored. Unlisted categories get a color from a built-in categorical palette, assigned in order of first appearance in `values`, so pin the colors if you need stable output.\n"
}
}
},
"regions": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/HexColor"
},
"maxProperties": 5000,
"description": "Override layer. Region key to hex color, applied AFTER choropleth/categories coloring and winning over it. Precedence: choropleth/categories paint first, `regions` overrides win, and everything else gets `choropleth.noDataColor` (choropleth mode), else `style.defaultRegionColor`, else the theme default (in choropleth mode, a contrasting gray when the theme's region color is too close to the palette's lightest class).\n"
},
"legend": {
"type": "object",
"additionalProperties": false,
"properties": {
"position": {
"type": "string",
"enum": [
"left",
"right",
"top",
"bottom"
],
"description": "left/right take a column carved from the map area (180 px, capped at 30% of the canvas width on narrow renders; it widens to the longest item label, up to 260 px and 30% of the canvas), where the legend items stack vertically. top/bottom take a horizontal band between the title and the map: 60 px for item legends (items flow in centered rows, wrapping to another row when the width runs out), 70 px for gradient/steps bars. Absent = picked per render: the legend goes inside the map frame, over empty space such as sea or the margin beside a narrow map, when a spot holds it clear of land, layers and pins, and reserves no space (it sits against the map's outline, and an item legend there may be a row, wrapped into up to three rows); otherwise gradient/steps take the bottom band, and item/group legends take the left column, or the bottom band when that draws the map at least 3% larger (typically a wide map with a derived height) or when the column can't hold the labels. Send a position to keep the legend outside the map. Gradient and steps legends are horizontal-only, so left/right is coerced to bottom with a warning. A bar or a single item wider than the canvas can still overflow; the `X-Ultimaps-Warnings` header estimates this.\n"
},
"show": {
"type": "boolean",
"description": "Defaults to true whenever a legend exists (auto-generated for `choropleth`/`categories`, or from `legend.items`). Set false to suppress it and give the whole canvas to the map.\n"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Heading above the legend rows: what is measured, its unit and the year, e.g. \"Median household income (US$, 2023)\". Send one whenever the legend explains data: an untitled legend leaves the reader guessing what the colors mean. It is never derived from `choropleth.unit`. Short units (\"%\", \"°C\", \"t\") go in `unit`, which prints on every label; long ones (\"litres per person\") belong here. `\\n` breaks a line, and long lines wrap to the legend's space, which grows to fit: a top/bottom band gets taller by the heading's height, and a left/right column widens to fit the title (up to 260 px, at most 30% of the canvas) before it wraps. A word wider than the space (or a title without spaces, as in Chinese or Japanese) breaks between characters. The title is set at the size of the legend labels, in semibold (it never shrinks). A side-column heading that needs more than four lines moves the legend to the bottom band with a `legend_position_coerced` warning. On a request that draws no legend the heading is dropped with a `legend_heading_dropped` warning.\n"
},
"subtitle": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Line under the legend title, at the label size in the regular weight, e.g. the source or the base year. Same wrapping as `title`.\n"
},
"items": {
"type": "array",
"minItems": 1,
"maxItems": 50,
"description": "Manual legend items, for regions-only maps. With `choropleth` or `categories` the legend is auto-generated and `items` is rejected with 400.\n",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"label",
"color"
],
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"color": {
"$ref": "#/$defs/HexColor"
}
}
}
}
}
},
"title": {
"type": "object",
"additionalProperties": false,
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"position": {
"type": "string",
"enum": [
"top",
"bottom"
],
"default": "top"
},
"color": {
"$ref": "#/$defs/HexColor"
}
}
},
"locations": {
"type": "array",
"maxItems": 200,
"description": "Pin markers. They compose with every mode.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"title",
"lat",
"lon"
],
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"color": {
"$ref": "#/$defs/HexColor"
},
"labelPosition": {
"type": "string",
"enum": [
"top",
"bottom",
"left",
"right"
],
"default": "bottom",
"description": "Where the pin's label sits relative to the pin."
},
"showLabel": {
"type": "boolean",
"default": true,
"description": "Set false to render this pin without its label (the marker stays).\n"
}
}
}
},
"style": {
"type": "object",
"additionalProperties": false,
"properties": {
"theme": {
"type": "string",
"default": "paper",
"enum": [
"paper",
"newspaper",
"dark",
"earth",
"vintage",
"embossed",
"maritime",
"neon",
"outline",
"wireframe"
],
"description": "Theme name from Studio's theme gallery (the server matches case-insensitively). Additive-only enum.\n"
},
"backgroundColor": {
"$ref": "#/$defs/HexColor"
},
"defaultRegionColor": {
"$ref": "#/$defs/HexColor",
"description": "Fill for regions that get no color from `choropleth`/`categories`/`regions`. In choropleth mode `choropleth.noDataColor` overrides this. In categories mode this IS the no-data fill.\n"
},
"regionBorders": {
"type": "object",
"additionalProperties": false,
"properties": {
"color": {
"$ref": "#/$defs/HexColor"
},
"width": {
"type": "number",
"minimum": 0,
"maximum": 5
}
}
},
"mapBorder": {
"type": "object",
"additionalProperties": false,
"properties": {
"color": {
"$ref": "#/$defs/HexColor"
},
"width": {
"type": "number",
"minimum": 0,
"maximum": 10
}
}
},
"labels": {
"type": "object",
"additionalProperties": false,
"description": "Region labels, off by default. Each map ships its own curated label set (`labels` in GET /v1/maps). On a map with none, `show: true` renders nothing and a `labels_unavailable` warning is reported.",
"properties": {
"show": {
"type": "boolean",
"default": false
},
"content": {
"type": "string",
"enum": [
"name",
"value",
"name_value"
],
"default": "name",
"description": "What each label prints. `name` is the region's name. `value` prints the region's value instead: the choropleth number formatted by the resolved `choropleth.format` (the same string the legend and tooltips show), or the category label. Regions without a value get no label. `name_value` prints the name with the value on a line below it; regions without a value show the name only. Both value modes require `choropleth` or `categories`; with neither it is a `validation_error`."
},
"fit": {
"type": "string",
"enum": [
"auto",
"off"
],
"default": "auto",
"description": "`auto` shortens labels that don't fit or overlap and never hides one; `off` draws every label in full. Under `auto` a `name_value` label too big for its region, or overlapping a higher-priority one, drops to its value (choropleth; the legend only gives a range) or its name (categories; the fill already says the category). Priority: curated outside labels (small regions labeled beside the map), then larger regions. Labels still overlapping are drawn and reported in a `labels_overlap` warning. Studio's own default is off; a map opened in Studio from a render keeps the value sent."
},
"hide": {
"type": "array",
"maxItems": 5000,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"description": "Region keys whose label never shows. Matched like data keys; corrections and misses are reported in `regionMatching`. Ignored with a `label_lists_ignored` warning when `show` is false."
},
"color": {
"$ref": "#/$defs/HexColor"
}
}
}
}
},
"layers": {
"type": "object",
"additionalProperties": false,
"description": "Extra geographic layers to draw, keyed by `LayerId`, e.g. {\"cities\": true, \"roads\": true}. Keys outside the enum are a `validation_error`. Each map ships a subset (see `layers` in GET /v1/maps/{mapId}). Turning on a layer this map lacks is not an error: the layer is skipped and a `layer_unavailable` warning is reported. Omitted layers are off, except layers the map source turns on by default (currently `admin0` on ZIP-code maps, the land no ZIP covers). Pass `false` to hide those.",
"properties": {
"admin0": {
"type": "boolean",
"description": "Surrounding land, as a filled area of neighboring countries or states."
},
"admin0-mesh": {
"type": "boolean",
"description": "Country borders (mesh)."
},
"admin1-mesh": {
"type": "boolean",
"description": "First-level subdivision borders (states, provinces, regions)."
},
"admin1-mesh-inner": {
"type": "boolean",
"description": "State borders drawn over the map's own regions (county and ZIP maps, where `admin1-mesh` covers the surroundings only)."
},
"admin2-mesh": {
"type": "boolean",
"description": "Second-level subdivision borders (counties, districts)."
},
"lakes": {
"type": "boolean",
"description": "Major lakes."
},
"rivers": {
"type": "boolean",
"description": "Major rivers."
},
"roads": {
"type": "boolean",
"description": "Major roads."
},
"cities": {
"type": "boolean",
"description": "Major cities as labeled points."
},
"admin1": {
"type": "boolean",
"description": "Surrounding states as a filled area (US ZIP-code maps, where `admin0` is the map's own land)."
}
}
},
"output": {
"type": "object",
"additionalProperties": false,
"properties": {
"width": {
"type": "integer",
"minimum": 100,
"maximum": 4000,
"default": 1200
},
"height": {
"type": "integer",
"minimum": 100,
"maximum": 4000,
"description": "Optional. When omitted, derives as a snug fit: the map's aspect ratio applied to the map area that remains after the title band (50 px) and any left/right legend column take their cut. A top/bottom legend adds its band (60 px for item legends, 70 px for gradient/steps bars, plus the height of a `legend.title`/`subtitle`) on top of that. A left/right legend too tall for that canvas (many items, a wrapped title) grows the derived height until it fits. An explicit height is delivered exactly, and the title and legend then shrink the map rather than the canvas.\n"
},
"scale": {
"type": "number",
"minimum": 1,
"maximum": 4,
"default": 1,
"description": "PNG raster multiplier: the PNG is exactly round(width×scale) × round(height×scale) pixels. It has no effect on SVG output, but it is still tier-capped.\n"
},
"format": {
"type": "string",
"enum": [
"png",
"svg"
],
"default": "png",
"description": "SVG requires a Pro key."
}
},
"description": "Caps: width×scale ≤ 8192, height×scale ≤ 8192, and (width×scale)×(height×scale) ≤ 4096×4096 = 16.8M pixels. Your tier caps width, height and scale further (see Tiers).\n"
},
"onUnmatched": {
"type": "string",
"enum": [
"warn",
"error"
],
"default": "warn",
"description": "warn = render anyway (unmatched regions get the no-data fill) and report. error = 400 with per-key suggestions. Recommended for production pipelines: error. Exception: in choropleth mode, ZERO matched keys is a 400 even under warn. Region keys in `style.labels.hide` count too: a typo there is a 400 under error.\n"
},
"dryRun": {
"type": "boolean",
"default": false,
"description": "Return the matching report + computed breaks as JSON. No image, no quota."
}
},
"$defs": {
"FormatSpec": {
"type": "object",
"additionalProperties": false,
"description": "Structured number format (Intl-backed; en-US unless `locale` is set). Field exclusivity: `preset` and `d3` are each mutually exclusive with every other field except `locale`, `decimals` and `significantDigits` are mutually exclusive, and `currency` requires `style: \"currency\"`. Examples: `{\"decimals\": 0, \"suffix\": \" km²\"}` gives \"1,234 km²\", `{\"compact\": true, \"decimals\": 1, \"trim\": true}` gives \"39.5M\", `{\"style\": \"percent\", \"decimals\": 1}` turns 0.423 into \"42.3%\".\n",
"properties": {
"preset": {
"type": "string",
"enum": [
"auto",
"plain",
"compact",
"percent",
"currency"
],
"description": "Alias for the bare-string preset form."
},
"style": {
"type": "string",
"enum": [
"decimal",
"percent",
"currency"
],
"default": "decimal",
"description": "\"percent\" MULTIPLIES BY 100. The input is a fraction (0.42 prints as \"42%\"). Data already in percent points should use `suffix: \"%\"` instead.\n"
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"default": "USD",
"description": "ISO-4217 code, rendered with its Intl symbol (\"€\", \"CA$\"). Only valid with style \"currency\".\n"
},
"compact": {
"type": "boolean",
"description": "Compact notation: K/M/B/T (never SI \"G\")."
},
"decimals": {
"type": "integer",
"minimum": 0,
"maximum": 6,
"description": "Fraction digits. Min equals max, for uniform labels, unless `trim` is set."
},
"significantDigits": {
"type": "integer",
"minimum": 1,
"maximum": 6
},
"trim": {
"type": "boolean",
"description": "Strip trailing zeros."
},
"grouping": {
"type": "boolean",
"default": true,
"description": "Thousands separators."
},
"sign": {
"type": "string",
"enum": [
"auto",
"always",
"exceptZero"
],
"default": "auto",
"description": "Maps 1:1 to Intl signDisplay. \"exceptZero\" is the usual choice for diverging legends.\n"
},
"prefix": {
"type": "string",
"maxLength": 12,
"description": "Literal, inserted AFTER any leading sign (\"-€1,234\", never \"€-1,234\").\n"
},
"suffix": {
"type": "string",
"maxLength": 20,
"description": "Literal, e.g. \" per km²\"."
},
"d3": {
"type": "string",
"maxLength": 20,
"description": "Escape hatch: a raw d3-format spec. Invalid grammar is a 400.\n"
},
"locale": {
"type": "string",
"enum": [
"en-US",
"de-DE",
"fr-FR",
"es-ES",
"it-IT",
"pt-BR",
"de-CH",
"en-IN",
"nl-NL",
"pl-PL",
"sv-SE"
],
"default": "en-US",
"description": "Number style: separators, currency placement and compact suffixes. `{\"decimals\": 1, \"locale\": \"de-DE\"}` turns 1234567.5 into \"1.234.567,5\"; with `compact: true` it gives \"1,2 Mio.\". Combines with `preset` and `d3`; on its own (`{\"locale\": \"de-DE\"}`) it is the automatic format in that number style.\n"
}
}
},
"HexColor": {
"type": "string",
"pattern": "^#([0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$"
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ultimaps-com-render-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.