Download OpenAPI specification:Download
Retrieve all the data from a specified layer in the requested format.
| layerId required | string Examples:
The ID of the layer |
| format required | string (format) Enum: "detailed" "flat" "sql" Example: format=flat The format in which the data should be returned. The available formats are:
|
[- {
- "SOME": {
- "KEY": {
- "v": "AT0001"
}, - "AMOUNT": {
- "v": 3.1415926536
}
}
}, - {
- "SOME": {
- "KEY": {
- "v": "AT0002"
}, - "AMOUNT": {
- "c": "m"
}
}
}
]Retrieve data from a specified layer based on the provided parameters. This endpoint allows querying the layer for specific data, applying filters, and returning the results in the requested format.
| layerId required | string Examples:
The ID of the layer |
| format required | string Enum: "detailed" "flat" "sql" The format in which the data should be returned. The available formats are:
| ||
| locale | string
The locale in which the data should be returned.
The locale is a string that represents the language and country
(e.g. | ||
object The find object is a nested object that represents the filter criteria. The keys of the find object are the fieldIds, and the values are the filter criteria. For a detailed description of the operators and the filter criteria, see this page: MongoDB query reference | |||
| |||
| select | Array of strings The select array is an array of fieldIds (or part of a fieldId) that should be returned.
If the select array is not provided, all fields are returned.
If the select array is provided, only the fields matching the select array are returned.
For example, if the select array is
, the fields with the fieldId | ||
| includeKeyFields | boolean Specifies whether the key fields should be included in the result, even if they are not part of the select array. If the select array is not provided, this property has no effect. | ||
| deselect | Array of strings
| ||
object
For example, a valid sort object would be
If you want to explicitly specify, if the value (
| |||
| |||
| limit | integer The limit is an integer that represents the maximum number of records that should be returned. If the limit is not provided, all records are returned. | ||
| resultInfo | boolean
Specifies whether the result info should be included in the result. The result info contains the total number of records, the number of records that were returned, and (sometimes) the number of records that were skipped. This is useful for pagination or a preview of the data.
| ||
Return all fields in flat format.
{- "format": "flat"
}[- {
- "SOME": {
- "KEY": {
- "v": "AT0001"
}, - "AMOUNT": {
- "v": 3.1415926536
}
}
}, - {
- "SOME": {
- "KEY": {
- "v": "AT0002"
}, - "AMOUNT": {
- "c": "m"
}
}
}
]| layerId required | string Examples:
The ID of the layer |
| format required | string Enum: "detailed" "flat" "sql" The format in which the data should be returned. The available formats are:
| ||||||
| locale | string
The locale in which the data should be returned.
The locale is a string that represents the language and country
(e.g. | ||||||
object The find object is a nested object that represents the filter criteria. The keys of the find object are the fieldIds, and the values are the filter criteria. For a detailed description of the operators and the filter criteria, see this page: MongoDB query reference | |||||||
| |||||||
| select | Array of strings The select array is an array of fieldIds (or part of a fieldId) that should be returned.
If the select array is not provided, all fields are returned.
If the select array is provided, only the fields matching the select array are returned.
For example, if the select array is
, the fields with the fieldId | ||||||
| includeKeyFields | boolean Specifies whether the key fields should be included in the result, even if they are not part of the select array. If the select array is not provided, this property has no effect. | ||||||
| deselect | Array of strings
| ||||||
object
For example, a valid sort object would be
If you want to explicitly specify, if the value (
| |||||||
| |||||||
| limit | integer The limit is an integer that represents the maximum number of records that should be returned. If the limit is not provided, all records are returned. | ||||||
| resultInfo | boolean
Specifies whether the result info should be included in the result. The result info contains the total number of records, the number of records that were returned, and (sometimes) the number of records that were skipped. This is useful for pagination or a preview of the data.
| ||||||
object Export related parameters | |||||||
| |||||||
{- "format": "flat",
- "locale": "de_AT",
- "find": {
- "SOME.FIELD": {
- "$in": [
- "AT",
- "DE"
]
}, - "SOME.OTHER.FIELD": {
- "$gt": 5,
- "$lte": 10
}
}, - "select": [
- "SOME.FIELD",
- "SOME.OTHER.FIELD",
- "XXX"
], - "includeKeyFields": true,
- "deselect": [ ],
- "sort": {
- "SOME.FIELD": 1,
- "SOME.OTHER.FIELD": -1
}, - "limit": 100,
- "resultInfo": true,
- "fileExport": {
- "format": "xlsx",
- "fieldSeparator": ";",
- "includeTimeInFilename": true
}
}Retreive a list of fields with additional information such as field type, subtype, name and additional metadata. A filter can be provided to limit the results to a specific set of fields.
| filter | string Example: filter=CY.KO2 Optional parameter used for filtering the results. If no filter is provided, all fields will be returned. The filter is based on the field |
[- {
- "layerId": "COUNTRY",
- "fieldId": "CY.YEAR",
- "fieldName": "Reference year",
- "fieldType": "number",
- "fieldSubType": "year",
- "isCalculated": 0,
- "info": {
- "category": "1. Auxiliary",
- "subCategory": "1.1 ETER coverage",
- "source": "ETER",
- "definition": "",
- "indicType": "C"
}, - "codes": { }
}
]Retrieve information about the specified field, such as the field type, subtype, name, and additional metadata.
| uniqueFieldId required | string The unique ID of the field to retrieve. |
{- "layerId": "COUNTRY",
- "fieldId": "CY.YEAR",
- "fieldName": "Reference year",
- "fieldType": "number",
- "fieldSubType": "year",
- "isCalculated": 0,
- "info": {
- "category": "1. Auxiliary",
- "subCategory": "1.1 ETER coverage",
- "source": "ETER",
- "definition": "",
- "indicType": "C"
}, - "codes": { }
}Retrieve information for the specified layer, such as the description, countries, and field count.
| layerId required | string Examples:
The ID of the layer |
[- {
- "layerId": "HEI",
- "description": "Higher Education Institutions",
- "countries": "AT, BE, BG",
- "fieldCount": 134,
- "fieldGroupCount": 0
}
]Retreive metadata such as field type, name, category, and definition for each field in the specified layer.
| layerId required | string Examples:
The ID of the layer |
{- "uniqueId": "COUNTRY:CY.KO2.ACADFREEDOMINDEX",
- "fieldId": "CY.YEAR",
- "fieldName": "Reference year",
- "fieldType": "number",
- "fieldSubType": "year",
- "isCalculated": 0,
- "code": "{ \"c\": \"SC.ONLY_MISS\", \"spss\": \"MS.SPSS\", \"stata\": \"MS.STATA\"}",
- "info": {
- "category": "1. Auxiliary",
- "subCategory": "1.1 ETER coverage",
- "source": "ETER",
- "definition": "",
- "indicType": "C"
}
}Retrieve the codes and their corresponding values for the specified single layer.
| layerId required | string Examples:
The ID of the layer |
{- "property1": { },
- "property2": { }
}Get country data of all countries, including the region, region type, and the currency, ppp and exchange rate, and membership per year (if available).
[- {
- "_id": "10186842bc09ef9cd4209927",
- "region": "REGION1",
- "regionType": "C",
- "cc": "RE",
- "isoCode": "RE",
- "description": null,
- "__v": 0
}, - {
- "_id": "03f580dca68e13eac6bb637e",
- "region": "REGION2",
- "regionType": "C",
- "cc": "RG",
- "isoCode": "RG",
- "description": null,
- "years": {
- "2011": {
- "currency": "ALL",
- "ppp": 54.6512,
- "exchangeRate": 146.51,
- "membership": null
}, - "2012": {
- "currency": "ALL",
- "ppp": 51.5151,
- "exchangeRate": 144.25,
- "membership": null
}
}
}
]Retrieve country data by country code. Returns data of a single country specified by the country code (cc) like the region, region type, and the currency, ppp and exchange rate, and membership per year (if available).
| cc required | string Examples:
The country code |
{- "_id": {
- "$oid": "672211ab9e377394f032f27c"
}, - "region": "Austria",
- "regionType": "C",
- "cc": "AT",
- "isoCode": "AT",
- "description": null,
- "years": {
- "2011": {
- "currency": "EUR",
- "ppp": 1.06182,
- "exchangeRate": 1,
- "membership": [
- "MEMBER1",
- "MEMBER2"
]
}, - "2012": {
- "currency": "EUR",
- "ppp": 1.06844,
- "exchangeRate": 1,
- "membership": [
- "MEMBER1",
- "MEMBER2"
]
}
}
}