Get country purchasing power parity

GET /countries/{countryCode}/purchasing-power

Get purchasing power parity for country

Path parameters

  • countryCode string Required

    ISO-3166 Alpha2 or Alpha3 code for country

Responses

  • 200 application/json

    Most recent purchasing power parity data for country, to USD.

    Hide response attributes Show response attributes object
  • 404

    Country not found

  • 422

    No or empty country/query specified

  • 403

    API key is missing or invalid

  • 429

    [FREE PLANS ONLY] Request Quota Exceeded

GET /countries/{countryCode}/purchasing-power
curl \
 -X GET https://api.tellusdb.com/v1/countries/US/purchasing-power?token=api_token_value
Response examples (200)
{
  "result": {
    "country": {
      "iso3166": {
        "alpha2": "DK",
        "alpha3": "DNK",
        "numeric": "208"
      },
      "currencies": {
        "DKK": {
          "name": "Danish Krone",
          "symbol": "kr"
        }
      }
    },
    "purchasing_power": {
      "year": 2022,
      "value": 6.404699,
      "conversion_factor": 0.9061111957239999
    }
  },
  "time_taken_ms": 1.3892211
}