Twitch Channel Profile
POST /api/v1/twitch/profile
Scrape Twitch streamer channel info, follower count, bio, social links, and broadcaster status.
Overview
Scrape Twitch streamer channel info, follower count, bio, social links, and broadcaster status.
POST /api/v1/twitch/profile
Method: POST Path: /api/v1/twitch/profile Category: Social Media
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| username | string | Required | Twitch channel username or URL, e.g. ninja |
Request Example
Twitch Channel Profile Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/twitch/profile" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"username": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "id": "1234567890", "username": "string", "name": "string", "profile_url": "https://example.com/...", "profile_photo": "https://example.com/...", "banner": "https://example.com/...", "bio": "string", "followers": 0, "following": 0, "is_partner": false, "is_affiliate": false, "is_live": false, "stream": { "id": "1234567890", "title": "string", "viewers": 0, "started_at": "2026-01-01T12:00:00Z", "game": "string" }, "last_broadcast": { "id": "1234567890", "title": "string", "game": "string", "started_at": "2026-01-01T12:00:00Z", "url": "https://example.com/...", "is_mature": false }, "last_broadcast_url": "https://example.com/...", "color_hex": "string", "counts": { "followers": 0, "following": 0, "videos_posted": 0, "clips_posted": 0 }, "external_links": [ "string" ], "social_links": [ { "platform": "string", "title": "string", "url": "https://example.com/..." } ], "panels": [ { "id": "1234567890", "title": "string", "description": "string", "link_url": "https://example.com/...", "image_url": "https://example.com/..." } ], "videos": [ { "id": "1234567890", "title": "string", "url": "https://example.com/...", "views": 0, "duration": 0, "published_at": "2026-01-01T12:00:00Z", "thumbnail": "string" } ], "clips": [ { "id": "1234567890", "title": "string", "url": "https://example.com/...", "views": 0, "duration": 0.0, "created_at": "2026-01-01T12:00:00Z", "game": "string", "thumbnail": "string" } ], "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Twitch Channel Profile", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Twitch user unique ID |
| username | string | Yes | Twitch login handle |
| name | string | Yes | Display name of the user |
| profile_url | string | Yes | URL to the user's Twitch profile |
| profile_photo | string | null | No | Avatar image URL |
| banner | string | null | No | Profile header banner image URL |
| bio | string | null | No | User biography description |
| followers | integer | Yes | Total follower count |
| following | integer | null | No | Total following count if available |
| is_partner | boolean | Yes | Whether the broadcaster is a Twitch Partner |
| is_affiliate | boolean | Yes | Whether the broadcaster is a Twitch Affiliate |
| is_live | boolean | Yes | Whether the channel is currently broadcasting live |
| stream | object | null | No | Active live stream details if currently live |
| stream.id | string | null | No | Live stream ID |
| stream.title | string | null | No | Current stream title |
| stream.viewers | integer | null | No | Current viewer count |
| stream.started_at | string | null | No | Start timestamp |
| stream.game | string | null | No | Game or category being streamed |
| last_broadcast | object | null | No | Details about the channel's most recent broadcast |
| last_broadcast.id | string | null | No | Broadcast ID |
| last_broadcast.title | string | null | No | Broadcast title |
| last_broadcast.game | string | null | No | Game played |
| last_broadcast.started_at | string | null | No | Broadcast start timestamp |
| last_broadcast.url | string | null | No | VOD or broadcast URL |
| last_broadcast.is_mature | boolean | No | Whether marked as mature content |
| last_broadcast_url | string | null | No | Direct URL to recent broadcast or videos tab |
| color_hex | string | null | No | Primary theme hex color chosen by the streamer |
| counts | object | Yes | Aggregated counts for profile metrics |
| counts.followers | integer | No | Follower count |
| counts.following | integer | null | No | Following count |
| counts.videos_posted | integer | null | No | Number of recorded VODs / videos |
| counts.clips_posted | integer | null | No | Number of clips generated |
| external_links | array<string> | No | List of outgoing external links discovered on the channel |
| social_links | array<object> | No | Social media links listed on the channel |
| social_links[].platform | string | No | |
| social_links[].title | string | No | |
| social_links[].url | string | No | |
| panels | array<object> | No | Channel information panels below the stream |
| panels[].id | string | null | No | |
| panels[].title | string | null | No | |
| panels[].description | string | null | No | |
| panels[].link_url | string | null | No | |
| panels[].image_url | string | null | No | |
| videos | array<object> | No | Recent VODs or uploaded videos |
| videos[].id | string | null | No | |
| videos[].title | string | null | No | |
| videos[].url | string | null | No | |
| videos[].views | integer | null | No | |
| videos[].duration | integer | string | null | No | |
| videos[].published_at | string | null | No | |
| videos[].thumbnail | string | null | No | |
| clips | array<object> | No | Popular or recent clips created from the stream |
| clips[].id | string | null | No | |
| clips[].title | string | null | No | |
| clips[].url | string | null | No | |
| clips[].views | integer | null | No | |
| clips[].duration | number | string | null | No | |
| clips[].created_at | string | null | No | |
| clips[].game | string | null | No | |
| clips[].thumbnail | string | null | No |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/twitch/profile?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
username example
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |