Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

IMF Data Structure API

Retrieve dataset metadata including dataflows, data structures, codelists, and concept schemes

IMF Data Structure API is one of 2 APIs that IMF Data publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Structure. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 4 paths, and defines 5 schemas. It is described by OpenAPI 3.0.3, at version 3.0.

Requests are made against 2 base URLs: https://api.imf.org/external/sdmx/3.0, http://dataservices.imf.org/REST/SDMX_JSON.svc.

4 operations 4 paths 5 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
3.0
Base URL
https://api.imf.org/external/sdmx/3.0
Terms of Service
Resource Areas
1

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. Each is listed below with its method, path, parameters, and response codes.

Structure 4

Retrieve dataset metadata including dataflows, data structures, codelists, and concept schemes

GET
/structure/dataflow/all/*/+
List all available IMF dataflows (datasets)
listDataflows 1 param → 200400429
GET
/structure/datastructure/{agency}/{dsd_id}/+
Retrieve data structure definition (DSD) for a dataflow
getDataStructure 2 params → 200404429
GET
/structure/codelist/{agency}/{codelist_id}/+
Retrieve a codelist for a dimension
getCodelist 2 params → 200404429
GET
/structure/conceptscheme/{agency}/{scheme_id}/+
Retrieve a concept scheme
getConceptScheme 2 params → 200404

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Dataflow (6 properties), Error (4 properties), Dimension (4 properties), Codelist (3 properties). Each schema is shown below with its type and property counts.

Dimension
object
A dimension in an IMF dataset structure
4 properties
Dataflow
object
An IMF dataset definition
6 properties
DataStructure
object
Data structure definition for an IMF dataset
3 properties
Error
object
4 properties
Codelist
object
A list of valid codes for a dimension
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

imf-structure-api-openapi.yml Raw ↑

Other APIs IMF Data publishes across the network.

IMF Data Data API