Browse all documentation

Producer prices API

Retrieve the latest monthly producer price index for one country, from Eurostat.

economics_get_producer_prices is available through REST and the economics_get_producer_prices MCP tool. Both return the same data shape and use the same credit.

Endpoint and request

REST endpoint
GET /v1/economics/{country}/producer-prices
Example request
curl --request GET \
  --url "https://api.narwhalapi.com/v1/economics/NOR/producer-prices" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"

MCP uses tool economics_get_producer_prices with the corresponding arguments below.

Parameters

The accepted period format for this operation is YYYY-MM.

NameRequiredTypeMeaning
countryYespath · ISO alpha-3One supported uppercase country code; see this operation’s coverage list.
periodNoquery · YYYY-MMOmit it for the latest accepted complete release, or pass one exact period.
series_idNoquery · UUIDOptional. The `series_id` of one series, taken from an earlier answer. Omit it to read the country's default series.

Response

Example response
{
  "source": {
    "publisher": "Eurostat",
    "distributor": "Eurostat"
  },
  "seasonal_adjustment": "not_seasonally_adjusted",
  "base_period": "2021",
  "base_value": "100",
  "market": "domestic",
  "producer_scope": "NACE Rev. 2 B-E36: Industry (except construction, sewerage, waste management and remediation activities)",
  "period": "2026-10",
  "value": "160.7",
  "country": "NOR",
  "series_id": "d942a081-f7fa-4ee5-b1c7-4e3834249414",
  "unit": "index"
}
FieldTypeRequiredMeaning
sourceobjectYesWho published the figure. publisher is the statistics body whose figure it is, and distributor is the body Narwhal reads it from. One source per series, for its whole history. There is no released_on.
seasonal_adjustmentstringYesAlways not_seasonally_adjusted.
base_periodstringYesThe year the index is 100 in. 2021 here.
base_valuedecimal stringYesThe index value in the base year. 100 for every series here.
marketstringYesAlways domestic: output sold on the home market, not exports.
producer_scopestringYesThe industry the index covers: NACE Rev. 2 sections B to E36, which is industry except construction, sewerage, waste management and remediation.
periodstringYesThe official observation period returned.
valuedecimal stringYesThe index level, with its base in base_period and base_value. It is a level, not a growth rate.
statusstringNoPresent only for a figure the publisher flags: estimated, break_in_series, definition_differs or break_in_series_and_definition_differs. Left out otherwise.
release_statusstringNopreliminary when the publisher marks the figure provisional. Left out otherwise.
countrystringYesThe requested uppercase ISO alpha-3 country code.
series_idstringYesThe series the figure comes from. Pass it as series_id to read the same series again.
unitstringYesAlways index.

Errors and credits

  • 400 invalid_query: A query parameter is unknown or repeated, country is not three uppercase letters, series_id is not a UUID, or period is not a month in YYYY-MM format. version_id, version and as_of are not accepted on this route.
  • 401 invalid_api_key: The Bearer key is missing or rejected.
  • 402 insufficient_credits: Your balance does not cover the call.
  • 404 series_not_found: The country is not in the coverage list on this page, series_id is not a series of that country, or no observation matches period. A country outside the list gets a detail that says the family is not available for it. A 404 is not charged.
  • 429 rate_limit_exceeded: The network or account short-window limit was reached. Retry after Retry-After.
  • 503 economics_unavailable: Narwhal cannot safely serve the stored series.

Only a successful data response costs credit. See all errors, headers, and retry rules.

Freshness

Omitting period returns the newest stored observation. The API call reads Narwhal's database. It does not call the publisher live. The answer has no released_on, because the date a distributor shows is not the publisher's release date.

Read how source checks, validation, stored releases, and failed checks work.

Current public-beta coverage

8 Countries

BGR, CZE, DNK, ESP, FRA, LUX, NOR, SVN

Monthly index level, 2021=100, not seasonally adjusted, for industry on the domestic market (NACE Rev. 2 sections B to E36). The source is Eurostat. The value is a level, not a growth rate. A period is a month in YYYY-MM format. Any other country returns 404 not_found and is not charged.

Daily FX is available through the FX API.

Return to all Economics operations.

Was this page helpful?