SDMX 2.0 RESTFUL WEB SERVICE

The Data Service can be used as SDMX 2.0 RESTFUL.

The start point to the service located in the following URL: http://dataservices.imf.org/REST/SDMX_XML.svc .

These URL is given as examples and may be different on the concrete server.

The JSON RESTful Web Service exposes the following methods:

• Dataflow
• DataStructure
• CompactData
• MetadataStructure
• GenericMetadata
• CodeList
• MaxSeriesInResult

1.1 Dataflow Method

Dataflow method returns the list of the datasets, registered for the Data Service.
In order to obtain the data use the following request:

 http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow/

1.2 DataStructure Method

DataStructure method returns the structure of the dataset.
In order to obtain the data use the following request:

 http://dataservices.imf.org/REST/SDMX_XML.svc/DataStructure/{database ID}

1.3 CompactData Method

CompactData method returns the compact data message.
In order to obtain the data use the following request:

http://dataservices.imf.org/REST/SDMX_XML.svc/CompactData/{database ID}/{item1 from dimension1}+{item2 from dimension1}+{item N from dimension1}.{item1 from dimension2}+{item2 from dimension2}+{item M from dimension2}?startPeriod={start date}&endPeriod={end date}

1.4 MetadataStructure Method

MetadataStructure method returns the metadata structure of the dataset.
In order to obtain the data use the following request:

http://dataservices.imf.org/REST/SDMX_XML.svc/MetadataStructure/{database ID}

1.5 GenericMetadata Method

GenericMetadata method returns the generic metadata message.
In order to obtain the data use the following request:

http://dataservices.imf.org/REST/SDMX_XML.svc/GenericMetadata/{database ID}/{frequency}.{item1 from dimension1}+{item2 from
dimension1}+{item N from dimension1}.{item1 from dimension2}+{item2 from
dimension2}+{item M from dimension2}?startPeriod={start date}&endPeriod={end date}

1.6 CodeList Method 

GetCodeList method returns the description of CodeLists
In order to obtain the data use the following request:

http://dataservices.imf.org/REST/SDMX_XML.svc/CodeList/{codelist code}|{database ID}

1.7 MaxSeriesInResult Method

GetMaxSeriesInResult method returns the maximum number of time series that can be returned by CompactData.
In order to obtain the data use the following request:

http://dataservices.imf.org/REST/SDMX_XML.svc/GetMaxSeriesInResult

Help Documents and References

  1. Query: How to use it
  2. Search: How to use it?
  3. Export Data: How to Bulk Download
  4. Navigation: How to find a dataset from the Home page
  5. Query: How to find the indicator for which I want data?
  6. Query: How to select multiple indicators
  7. Query: How to select the countries for which I want data?
  8. Query: How to select time and frequencies for which I want data?
  9. Query: How to change the font and font size?
  10. Query: How to change the number of decimal places?
  11. Table: How to export data from Tables
  12. Query: How to change the units
  13. Query: How to export my Query table into Excel
  14. Query: How to save queries
  15. Query: How to retrieve longer historical data series for a dataset
  16. Search Tips
  17. Browser Compatibility
  18. Query: How to create a Pie chart
  19. Query: How to create a Rating chart
  20. Query: How to create a Table
  21. Query: How to create Stacked bar
  22. Query: How to create Stacked column
  23. Query: How to create Area
  24. Query: How to create Column
  25. Query: How to create Bar
  26. Query: How to create Line
  27. Query: How to create Spline
  28. Query: How to create Scatter chart
  29. Query: How to create Bubble chart
  30. Query: How to create Treemap
  31. Query: How to create Map
  32. Query: How to change database from the query tool
  33. How do I get the underlying data in a table or a chart?
  34. Finding Data using Concept Codes
  35. Data Services
  36. Using SDMX 2.0 Web Service
  37. Using SDMX 2.1 Web Service
  38. JSON RESTful Web Service
  39. SDMX 2.0 RESTFUL WEB SERVICE
  40. EZProxy: How to configure on the User side
  41. Table: How to select countries for which I want data
  42. Table: How to select indicators for which I want data
  43. IFS publication in PDF file – where to find
  44. Composition of Current Statistical Groups and Aggregates
  45. Bulk Download: How to extract and view data in Excel?
  46. Data services: how to get the code of a dataset and a list of all dimensions and elements?
  47. Workbook: How to show additional attributes (Country Name, Indicator Name, Database, etc.)?
  48. Workbook: How to add an attribute (Country, Time, Frequency, etc.) to a Series Tree?

Feedback and Knowledge Base