---
title: "Get Economic Indicator Data"
method: GET
path: "/economics/indicators/{name}"
tags: ["Economics"]
---

# Get Economic Indicator Data

`GET /economics/indicators/{name}`

## Request

- Base URL: `https://data.finbud.ai/api`
- URL: `https://data.finbud.ai/api/economics/indicators/{name}`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/laksmono---company/apis/finbud-api/docs/economics/indicators/:name/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetches historical data for a specific economic indicator (e.g., real GDP, CPI, unemployment rate). The indicator name should be provided in kebab-case (e.g., 'real-gdp').

## Path parameters

- `name` string, required

## Query parameters

- `from` string, date
- `to` string, date

## Response `200`

Successful response with an array of historical data points for the indicator.

- object[]
  - `date` string, date
  - `value` number

## Other responses

- `400`: Bad Request - Indicator name parameter missing or invalid date format.
- `404`: Not Found - No data found for the requested economic indicator or date range.
- `500`: Internal Server Error - Failed to fetch data or other server error.

---

[API](https://skmtc.dev/laksmono---company/apis/finbud-api.md) - [All operations](https://skmtc.dev/laksmono---company/apis/finbud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/laksmono---company/apis/finbud-api/revisions/742d2654c09a?raw)
