POST
/
api
/
v1
/
inflation_factors
Inflation factors
curl --request POST \
  --url https://terrapinfinance.com/api/v1/inflation_factors \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "country": "DE",
  "end_date": "2025-06-01",
  "start_date": "2025-06-01"
}'
{
  "data": [
    {
      "date": "2025-06-01",
      "factor": 127.43,
      "type": "Eurostat"
    }
  ],
  "total": 1
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
country
enum<string>
required

ISO 3166-1 alpha-2 country code (2-letter code) of the country of issue for government bonds.

Available options:
DE,
US,
UK,
ES,
FR,
IT
end_date
string<date>

The maximum date (inclusive) for which to return inflation factors, in ISO-8601 format (YYYY-MM-DD). When not set, defaults to the latest available inflation factor date.

start_date
string<date>

The minimum date (inclusive) for which to return inflation factors, in ISO-8601 format (YYYY-MM-DD). When not set, defaults to the earliest available inflation factor date.

Response

Inflation factors

data
object[]
required

List of response data objects, often capped to 1000.

total
integer
required

Total number of results in the database that match the query filters.