/imf/datasets
Get observations from an IMF dataset by its id, sliced by dimension filters
Price: 1 credit
💡 AI Hint: Fetch numeric observations from a single IMF statistical dataset by its id (e.g. CPI for consumer prices, FM for fiscal monitor, GDD for global debt). Each observation is returned as a flat record with the code for every series dimension (country, indicator, frequency, etc.), the time period, and the numeric value. Use the filters, since, and until arguments to slice the dataset to the cells you need — an unfiltered dataset can contain millions of cells. Look up the available dimension ids and value codes for a dataset via the dimensions endpoint.
⚠️ Common errors: 412: Dataset not found or no observations for the requested slice
Authorizations
API token from the dashboard
Headers
Body
Dataset id
"CPI"
"FM"
"GDD"
Number of observations to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Maintenance agency id
"IMF.STA"
"IMF.FAD"
Dataset version
"5.0.0"
Dimension filters as a mapping of dimension id to allowed value codes
{
"COUNTRY": ["USA"],
"FREQUENCY": ["A"],
"INDEX_TYPE": ["CPI"]
}Earliest time period, inclusive
"2020"
Latest time period, inclusive
"2024"