# Tuik (tuik.gov.tr) — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access Turkey's official economic statistics, including inflation data, popular indicators, and press releases from TÜIK. Retrieve time series charts and detailed economic themes to track Turkey's key economic metrics and trends.

**Category:** Government & Public Data | **Website:** [tuik.gov.tr/](https://tuik.gov.tr/) | **Docs:** [parse.bot/marketplace/c75cf56d-8a92-4347-9864-4f587c2f4bfe/tuik-gov-tr-api](https://parse.bot/marketplace/c75cf56d-8a92-4347-9864-4f587c2f4bfe/tuik-gov-tr-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-tuik-gov-tr-api-c75cf56d/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_chart_data

Get historical time series data for key economic indicators from the TÜİK homepage charts. Returns an array of data points with year, month/period, value, and display labels for charting.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `indicator` | string | Yes | Indicator key identifying which economic time series to retrieve. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tuik-gov-tr-api-c75cf56d/get_chart_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"indicator":"<string>"}'
```

### get_cpi_data

Get the latest Consumer Price Index (CPI) press release details, including content, statistical tables, metadata, and links to previous CPI releases. This is a convenience endpoint that automatically fetches the most recent CPI-specific press release without needing to know the release ID.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tuik-gov-tr-api-c75cf56d/get_cpi_data \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_popular_indicators

Get key economic indicators from the TÜİK homepage including CPI, Unemployment, GDP growth, Industrial Production, Consumer Confidence, and Population figures with their latest values and publication dates.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tuik-gov-tr-api-c75cf56d/get_popular_indicators \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_press_release_detail

Get details of a specific press release from the TÜİK data portal, including its content, embedded statistical tables, metadata, and links to previous releases in the same series. The release_id can be obtained from get_press_releases_list.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `release_id` | string | Yes | The numeric ID of the press release. IDs can be obtained from get_press_releases_list results (e.g. '53899' for population data, '58293' for CPI). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tuik-gov-tr-api-c75cf56d/get_press_release_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"release_id":"<string>"}'
```

### get_press_releases_list

Get a list of all available press bulletins and releases from TÜİK, including their IDs, titles, URLs, and category information. Each release has an id that can be used with get_press_release_detail.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tuik-gov-tr-api-c75cf56d/get_press_releases_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_statistical_themes

Get the full nested tree of statistical themes and available data links from the TÜİK data portal. Returns a hierarchical structure of all statistical categories with their subcategories.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-tuik-gov-tr-api-c75cf56d/get_statistical_themes \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
