Properties
| Name | Type | Description |
|---|---|---|
| status | string | |
| request | object | The request as received. |
| reason | string | On `empty`, why there is nothing. On `refused`, one of `licence_unverified`, `no_data_path`, `not_in_serve_set`, `reader_refused`, `ambiguous_selection`. |
| detail | string | With `reader_refused` and `ambiguous_selection`; also an `empty` caused by a reader's own message. |
| dataset | string | Present on refusals. |
| resolved | object | How the request was bound. |
| observations | array | |
| missing | array | Requested country-periods with no observation (`{country, period}`), or `{country}` when the window is too long to enumerate. Withheld points are in `notes`, not here. |
| notes | array | What a plain gap would hide: from the reader (`withheld`, `window_capped`, `eliminated`, `opened`, `truncated`, `skipped_periods`, `refused_coordinates`), and from our own filtering — `other_frequency |
| unparsed_periods | array | Present only when the source returned period strings that could not be normalised; those points are not in `observations`. |
| provenance | object | |
| billing | object | Metering outcome. Only an uncached upstream fetch is charged. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/stackdata-io/json-schema/stackdata-io-series-response-schema.json",
"title": "SeriesResponse",
"x-generated": "2026-11-26",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/stackdata-io-openapi.json#/components/schemas/SeriesResponse",
"type": "object",
"required": [
"status",
"request",
"observations"
],
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"empty",
"refused"
]
},
"request": {
"type": "object",
"additionalProperties": true,
"description": "The request as received."
},
"reason": {
"type": "string",
"description": "On `empty`, why there is nothing. On `refused`, one of `licence_unverified`,\n`no_data_path`, `not_in_serve_set`, `reader_refused`, `ambiguous_selection`.\n"
},
"detail": {
"type": "string",
"description": "With `reader_refused` and `ambiguous_selection`; also an `empty` caused by a reader's own message."
},
"dataset": {
"type": "string",
"description": "Present on refusals."
},
"resolved": {
"type": "object",
"description": "How the request was bound.",
"properties": {
"geo": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Caller code to the source's own geography code."
},
"select": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"label": {
"type": "string"
},
"lang": {
"type": "string"
}
}
}
},
"freq": {
"type": "string"
},
"window": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 2,
"maxItems": 2
}
}
},
"observations": {
"type": "array",
"items": {
"$ref": "#/$defs/SeriesObservation"
}
},
"missing": {
"type": "array",
"description": "Requested country-periods with no observation (`{country, period}`), or `{country}` when the window is too long to enumerate. Withheld points are in `notes`, not here.",
"items": {
"type": "object",
"properties": {
"country": {
"type": "string"
},
"period": {
"type": "string"
}
}
}
},
"notes": {
"type": "array",
"description": "What a plain gap would hide: from the reader (`withheld`, `window_capped`,\n`eliminated`, `opened`, `truncated`, `skipped_periods`, `refused_coordinates`),\nand from our own filtering — `other_frequency` (`count`, `frequencies`: points the\nsource returned at another frequency, left out) and `unrequested_geography`\n(`count`: points for geography codes the request did not name, left out). An answer\nempty only because of that filtering says so in `reason`.\n",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"kind": {
"type": "string"
},
"reason": {
"type": "string"
}
}
}
},
"unparsed_periods": {
"type": "array",
"items": {
"type": "string"
},
"description": "Present only when the source returned period strings that could not be normalised; those points are not in `observations`."
},
"provenance": {
"type": "object",
"properties": {
"dataset": {
"type": "string"
},
"source_url": {
"type": [
"string",
"null"
]
},
"licence": {
"type": "object",
"additionalProperties": true
},
"attribution": {
"type": [
"string",
"null"
]
},
"cache_hit": {
"type": "boolean"
}
}
},
"billing": {
"type": "object",
"additionalProperties": true,
"description": "Metering outcome. Only an uncached upstream fetch is charged.",
"properties": {
"upstream_fetches": {
"type": "integer"
},
"charged": {
"type": "boolean"
},
"tier": {
"type": "string"
}
}
}
},
"$defs": {
"SeriesObservation": {
"type": "object",
"required": [
"country",
"period",
"value",
"provenance"
],
"properties": {
"country": {
"type": "string",
"description": "The code the caller sent."
},
"period": {
"type": "string",
"description": "ISO period (YYYY",
"YYYY-Qn": null,
"YYYY-MM).": null
},
"value": {
"type": [
"number",
"null"
]
},
"provenance": {
"type": "object",
"additionalProperties": true,
"description": "The nested provenance envelope for this value: the raw string it came from, the\nrule that produced it, and `period_raw`, the period exactly as the source wrote it.\n",
"properties": {
"period_raw": {
"type": "string"
}
}
}
}
}
}
}
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/stackdata-io-series-response"
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.