# Twitch API

> Live streaming: whether a streamer is live now, with viewers, stream title, game and start time.

Canonical page: https://okdata.online/apis/twitch/

1 endpoint, $0.004 per call. Region: Global. No Twitch login or cookies needed.

| Endpoint | ID | Returns | Price |
|---|---|---|---|
| [Twitch streamer live status](https://okdata.online/apis/twitch/live/users/get/) | `twitch.live.users.get` | LiveRoom | $0.004 per call |

## Good for

- Competitor monitoring: `twitch.live.users.get`
- Creator discovery: `twitch.live.users.get`

## At a glance

1 Twitch endpoints covering live streams, from $0.004 a call. No Twitch account or cookie needed.

Categories: [Social media](https://okdata.online/categories/social/)

- **Endpoints**: 1 endpoints. In 1 groups, one response format.
- **Lowest price**: From $0.004. A call, paid from a prepaid balance.
- **Freshness**: Live. Read from the platform when you call.
- **Monthly fee**: $0. No subscription or minimum spend.

- [Start free](https://okdata.online/console/)
- Try one: [Twitch streamer live status](https://okdata.online/apis/twitch/live/users/get/)
- Twitch in Claude, Cursor and other agents: [Twitch MCP](https://okdata.online/mcp/twitch/)

## Endpoints by group

### Live streams (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Streamer live status](https://okdata.online/apis/twitch/live/users/get/) | `GET /v1/twitch/live/users/get` | LiveRoom | $0.004 per call |

- [Twitch API pricing](https://okdata.online/pricing/twitch/)
- [Twitch in your AI (MCP)](https://okdata.online/mcp/twitch/)
- [Live status](https://okdata.online/status/)

## What people do with Twitch data

- [Competitor monitoring](https://okdata.online/solutions/competitor-monitoring/): “What did our competitors post this week, and what took off?” [Streamer live status](https://okdata.online/apis/twitch/live/users/get/) $0.004
- [Creator discovery](https://okdata.online/solutions/creator-discovery/): “Who are the mid-size creators in camping gear?” [Streamer live status](https://okdata.online/apis/twitch/live/users/get/) $0.004

## Start in three steps

1. Get a key: [open the console](https://okdata.online/console/). A new key comes with $0.10 to try, no card.
2. Connect your AI with this sentence (swap in your key), or call the API yourself:

   > Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.

3. Make the first call (Twitch streamer live status). Items arrive in data.items, the next page in page.next_cursor, the charge in meta.billing.amount.

```bash
curl -G "https://api.okdata.online/v1/twitch/live/users/get" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'username=bobross'
```

## Questions about the Twitch API

### What does the Twitch API cost?

Each of the 1 endpoints has its own price, $0.004 a call; the cheapest is Twitch streamer live status at $0.004. You pay per call from a prepaid balance, with no subscription. A call that reaches the data source is charged even when it comes back empty, not found or failed; one stopped before that, such as for bad parameters, is free.

### Do I need a Twitch account or cookie?

No. You call https://api.okdata.online with one okdata key and get public Twitch data back; you never use your own Twitch account, cookie or QR login.

### How fresh is the data?

Every endpoint reads Twitch at the moment you call; nothing is served from an old copy.

### Can my AI agent use the Twitch API?

Yes. Connect the MCP server at https://api.okdata.online/mcp: its find tool lists these 1 endpoints with their prices, and its call tool runs them on your key.

### Can I try it for free?

New accounts get $0.10 of trial credit with no card: enough for 25 calls to Twitch streamer live status.

## Other platforms

[TikTok API](https://okdata.online/apis/tiktok/) · [YouTube API](https://okdata.online/apis/youtube/) · [Instagram API](https://okdata.online/apis/instagram/) · [X (Twitter) API](https://okdata.online/apis/x/) · [Reddit API](https://okdata.online/apis/reddit/) · [Amazon API](https://okdata.online/apis/amazon/) · [AliExpress API](https://okdata.online/apis/aliexpress/) · [Meta Ad Library API](https://okdata.online/apis/meta/) · [Google Ads Transparency API](https://okdata.online/apis/google/) · [Telegram API](https://okdata.online/apis/telegram/) · [Douyin API](https://okdata.online/apis/douyin/) · [Xiaohongshu (RedNote) API](https://okdata.online/apis/xiaohongshu/) · [WeChat Official Accounts API](https://okdata.online/apis/wechat_mp/) · [Bilibili API](https://okdata.online/apis/bilibili/) · [Weibo API](https://okdata.online/apis/weibo/) · [Kuaishou API](https://okdata.online/apis/kuaishou/) · [Zhihu API](https://okdata.online/apis/zhihu/) · [WeChat Channels API](https://okdata.online/apis/wechat_channels/) · [WeChat Search API](https://okdata.online/apis/wechat/) · [Taobao & Tmall API](https://okdata.online/apis/taobao/) · [1688 API](https://okdata.online/apis/alibaba_1688/) · [Xianyu (Goofish) API](https://okdata.online/apis/xianyu/) · [Douyin Shop API](https://okdata.online/apis/douyin_shop/) · [Toutiao API](https://okdata.online/apis/toutiao/) · [Xigua Video API](https://okdata.online/apis/xigua/) · [Baidu API](https://okdata.online/apis/baidu/) · [Bluesky API](https://okdata.online/apis/bluesky/) · [App Store API](https://okdata.online/apis/app_store/) · [All platforms API](https://okdata.online/apis/all/)
