Get an indicator

~2 credits / lookup (up to 5)

Fetches an official economic or demographic indicator for a single country, returning the exact published values by year. Handles any metric available in the public data catalog, including GDP, population, inflation, life expectancy, and hundreds of other series.

Use when

You want a specific country's value for a metric like GDP, population, or inflation.

Not for

Comparing several countries at once, or US sub-national figures.

Cost

~2 credits / lookup (up to 5)

A single current value is the usual case; a long year range over many countries returns more rows.

Estimated; the actual charge depends on your input and is shown in the response.

What it accepts

Set these inside the intent when you run it.

metricrequired

The economic or demographic figure you want, described in plain words.

placerequired

The country to fetch data for.

periodoptional

A single year, a year range, or "latest". Defaults to the most recent available value.

What you get back

Indicator values with the year, units, and last-updated date for the requested country and time range.

Run it

Run this sub-skill directly: pin it with operation and pass its inputs in the intent. (Omit operation and the Economic & Demographic Data skill will route from your intent instead.)

curl -X POST "https://skill.askfaro.com/skills/economic-data/run" \
  -H "Authorization: Bearer $FARO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent":{"operation":"fetch_indicator","metric":"GDP per capita","place":"Germany","period":"2010:2023"}}'

Example requests

  • What was India's GDP in 2023?
  • Show me Brazil's inflation rate for the last 5 years.
  • What is the current unemployment rate in Spain?