> ## Documentation Index
> Fetch the complete documentation index at: https://docs.konbiniapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API overview

> KonbiniAPI normalizes Instagram, TikTok, X, and Reddit data into a consistent ActivityStreams 2.0 format. 57 endpoints for profiles, posts, comments, search, and more.

## Base URL

```
https://api.konbiniapi.com
```

## OpenAPI schema

Download the latest OpenAPI schema to generate clients or import the API into
your tooling.

<a href="/openapi.json" download className="openapi-download-button">
  Download `openapi.json`
</a>

## Authentication

All API endpoints require Bearer token authentication. Include your API key in the `Authorization` header:

```bash theme={null}
curl https://api.konbiniapi.com/v1/tiktok/users/example \
  -H "Authorization: Bearer YOUR_API_KEY"
```

Get your API key at [app.konbiniapi.com](https://app.konbiniapi.com).

## Credits

Every authenticated response includes credit tracking headers:

* `X-Credits-Remaining` - Credits remaining in your account
* `X-Credits-Used` - Credits consumed by the request

Each successful request costs 1 credit. Requests that fail with 400, 5xx, or upstream errors are refunded (`X-Credits-Used: 0`).

## Platforms

### TikTok

Use the [TikTok API](/reference/api/tiktok) to fetch users, videos, comments,
audios, tags, collections, search results, live streams, and transcripts.

### Instagram

Use the [Instagram API](/reference/api/instagram) to fetch users, posts,
reels, comments, highlights, locations, and search results.

### X

Use the [X API](/reference/api/x) to fetch users, posts, and highlights.

### Reddit

Use the [Reddit API](/reference/api/reddit) to fetch users, subreddits, posts,
comments, feeds, and search results.
