IMF Data · Schema
DataStructure
Data structure definition (DSD) for an IMF SDMX dataset
Financial DataEconomic IndicatorsBalance of PaymentsExchange RatesInternational FinanceSDMXMacroeconomicsFiscal PolicyMonetary StatisticsGovernment Finance
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Data structure definition identifier |
| agencyID | string | Owning agency identifier |
| dataStructureComponents | object | Components making up the data structure |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/imf/refs/heads/main/json-schema/data-structure.json",
"title": "DataStructure",
"description": "Data structure definition (DSD) for an IMF SDMX dataset",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Data structure definition identifier",
"examples": ["DSD_GFS", "DSD_IFS", "DSD_FM"]
},
"agencyID": {
"type": "string",
"description": "Owning agency identifier",
"examples": ["IMF.STA", "IMF"]
},
"dataStructureComponents": {
"type": "object",
"description": "Components making up the data structure",
"properties": {
"dimensionList": {
"type": "object",
"description": "List of dimensions defining the key",
"properties": {
"dimensions": {
"type": "array",
"description": "Regular dimensions",
"items": {
"$ref": "#/$defs/Dimension"
}
},
"timeDimensions": {
"type": "array",
"description": "Time dimensions",
"items": {
"$ref": "#/$defs/Dimension"
}
}
}
},
"measureList": {
"type": "object",
"description": "List of measures (observation values)",
"properties": {
"measures": {
"type": "array",
"items": {
"$ref": "#/$defs/Dimension"
}
}
}
},
"attributeList": {
"type": "object",
"description": "List of attributes attached to data"
}
}
}
},
"$defs": {
"Dimension": {
"type": "object",
"description": "A dimension, measure, or attribute in the data structure",
"properties": {
"id": {
"type": "string",
"description": "Dimension identifier",
"examples": ["COUNTRY", "FREQUENCY", "TIME_PERIOD", "OBS_VALUE"]
},
"position": {
"type": "integer",
"description": "Position in the dot-separated key string (1-indexed)",
"minimum": 1,
"examples": [1, 2, 3]
},
"type": {
"type": "string",
"description": "Dimension classification",
"enum": ["Dimension", "TimeDimension", "Measure"]
},
"conceptIdentity": {
"type": "string",
"description": "URN reference to the concept definition"
},
"localRepresentation": {
"type": "object",
"description": "Codelist or format constraining this dimension"
}
},
"required": ["id"]
}
},
"required": ["id", "agencyID"]
}
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/data-structure"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.