Documentation / Prices and money
Purchasing power | Salary Data API
Purchasing powerStarter and aboveA list, paged
A country's purchasing power parity for private consumption: units of its currency to one international dollar, by year.
GEThttps://api.salarydataapi.com/v1/context/ppp/{cc}
Try it
No key in this browser yet. Get a free key: it is filled in here once made.
Runs against the live API with your key.
curl "https://api.salarydataapi.com/v1/context/ppp/{cc}" \
-H "Authorization: Bearer YOUR_KEY"Parameters
| Name | Type | What it is |
|---|---|---|
| cc | country | required Two-letter country code, such as jp or gb |
| page | integer | The page, from 1. Default 1. |
| per_page | integer | Items a page, at most 200. Default 50. |
| cursor | string | From next_cursor in the last answer; page wins when both are sent |
Returns
A list in data, each item with these fields, and the paging in meta.
| Field | Type | What it holds |
|---|---|---|
| year | year | The year |
| per_intl_dollar | number | Units of its currency to one international dollar |
Example answer
Run it with your key for a real answer.