Tools/economic-data
Economic & Demographic Data

Economic & Demographic Data

Active

Your agent half-remembers economic stats; this returns exact World Bank and US Census figures by place and year.

4 tools

Economic and demographic statistics: World Bank development indicators (GDP, population, inflation, and thousands more) by country and year, plus US Census Bureau survey data by geography. World Bank data is licensed CC BY 4.0, credit "The World Bank: <dataset>". US Census data is US public domain.

Finance & Marketseconomicsdemographicsindicatorscensusdevelopment

Tools (4)

List countries and aggregates with their World Bank codes and metadata.

0.1 credits/call ($0.0001) · 0.1 credit per call

Example prompts

  • List all countries with World Bank codes
  • What is the country code for Vietnam?
  • Show countries grouped by income level

Parameters

pageintegeroptionaldefault: 1

Result page.

per_pageintegeroptionaldefault: 300

Results per page.

API Usage

curl -X POST "https://skill.askfaro.com/skills/economic-data/run" \
  -H "Authorization: Bearer faro_<your_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "intent": {
    "prompt": "List all countries with World Bank codes"
  }
}'

CLI Usage

askfaro describe economic-data/worldbank_list_countries

Install pip install askfaro-cli, then askfaro auth login.

List available World Bank indicators and their codes.

0.1 credits/call ($0.0001) · 0.1 credit per call

Example prompts

  • List World Bank indicators
  • Find the indicator code for life expectancy
  • What economic indicators are available?

Parameters

pageintegeroptionaldefault: 1

Result page.

per_pageintegeroptionaldefault: 100

Results per page.

API Usage

curl -X POST "https://skill.askfaro.com/skills/economic-data/run" \
  -H "Authorization: Bearer faro_<your_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "intent": {
    "prompt": "List World Bank indicators"
  }
}'

CLI Usage

askfaro describe economic-data/worldbank_list_indicators

Install pip install askfaro-cli, then askfaro auth login.

Get World Bank indicator values for a country over time.

0.1 credits/call ($0.0001) · 0.1 credit per call

Example prompts

  • Get Brazil's GDP for the last 10 years
  • What was India's population in 2020?
  • Show US inflation rate from 2000 to 2020

Parameters

mrvintegeroptional

Return the most recent N values instead of a date range.

datestringoptional

Year or range, e.g. "2020" or "2000:2020".

pageintegeroptionaldefault: 1

Result page.

countrystringrequired

ISO country code (2 or 3 letter), or "all" for all countries.

per_pageintegeroptionaldefault: 50

Results per page.

indicatorstringrequired

World Bank indicator code, e.g. "NY.GDP.MKTP.CD".

API Usage

curl -X POST "https://skill.askfaro.com/skills/economic-data/run" \
  -H "Authorization: Bearer faro_<your_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "intent": {
    "prompt": "Get Brazil's GDP for the last 10 years"
  }
}'

CLI Usage

askfaro describe economic-data/worldbank_indicator

Install pip install askfaro-cli, then askfaro auth login.

Query US Census Bureau survey data for variables by geography.

0.1 credits/call ($0.0001) · 0.1 credit per call

Example prompts

  • Get total population for all US states from ACS5 2022
  • Median household income by county in California
  • Population of all counties in Texas

Parameters

instringoptional

Parent geography filter (e.g. "state:06").

forstringrequired

Geography selector (e.g. "state:*", "county:*").

getstringrequired

Comma-separated variables, including "NAME" (e.g. "NAME,B01001_001E").

yearintegerrequired

Survey/vintage year.

datasetstringrequired

Dataset path, e.g. "acs/acs5" or "dec/pl".

API Usage

curl -X POST "https://skill.askfaro.com/skills/economic-data/run" \
  -H "Authorization: Bearer faro_<your_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "intent": {
    "prompt": "Get total population for all US states from ACS5 2022"
  }
}'

CLI Usage

askfaro describe economic-data/census_data

Install pip install askfaro-cli, then askfaro auth login.