Docs / Platforms / Twitch7 operations / 4 live / 3 mapped

Twitch

Twitch is exposed through 4 live operations covering trends, markets and live signals, public profiles and creator metadata, search and discovery, posts, videos and catalog records. The full reference is below; mapped routes are explicitly disabled and never charge credits.
Overview & use cases

What Twitch data is for.

Live Twitch capabilities, credit floor, and typical lookup workflows.

Use Twitch when you need trends, markets and live signals, public profiles and creator metadata, search and discovery, posts, videos and catalog records without maintaining a separate adapter for each route. Start with the lowest-cost live operation, then add search or list endpoints only when the response shape fits your product.

Live

4

Paid only

3

Price floor

1 cr

Use cases

  • Twitch live status

    Call /v1/twitch/live/{handle} when you need a normalized twitch live status response with the same credit and cache rules as the rest of the catalog.

  • Twitch channel search

    Call /v1/twitch/channels when you need a normalized twitch channel search response with the same credit and cache rules as the rest of the catalog.

  • Get Twitch profile

    Call /v1/twitch/profiles/{handle} when you need a normalized get twitch profile response with the same credit and cache rules as the rest of the catalog.

Contract / auth

Auth & error contract.

The platform follows the same gateway and billing rules as the rest of CleanFetch.

Auth

Send x-api-key: cf_live_... or Authorization: Bearer cf_live_.... A missing or invalid key returns 401.

Billing

Successful lookups charge the listed credits. Cache hits, 5xx responses and mapped 503 routes cost 0 credits.

Limits

429 includes Retry-After and costs nothing. Paid-only routes return 403 plan_required before any provider call.

Mapped routes

3 routes are cataloged but not connected. They return 503 upstream_not_configured and never charge.

Reference / 7

Operations

Live routes are expanded first with parameters, request example and response fields. Mapped routes are compact placeholders.

Live / 4

ready
GET

Twitch live status

/v1/twitch/live/{handle}
1 credits3/day free0.016666666666666666h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
Request
curl -s "https://api.cleanfetch.dev/v1/twitch/live/{handle}?handle=example" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "twitch",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 0.016666666666666666h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Twitch channel search

/v1/twitch/channels
25 creditsPaid only6h cache
NameTypeRequiredDescription
querystringyesSearch query or keyword.
limitstringnoMaximum records to return, from 1 to 20.
Request
curl -s "https://api.cleanfetch.dev/v1/twitch/channels?query=nike" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "twitch",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 25,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Paid endpoint. Free accounts receive plan_required.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

Get Twitch profile

/v1/twitch/profiles/{handle}
15 creditsPaid only6h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
Request
curl -s "https://api.cleanfetch.dev/v1/twitch/profiles/{handle}" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "twitch",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 15,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Paid endpoint. Free accounts receive plan_required.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List Twitch profile videos

/v1/twitch/profiles/{handle}/videos
16 creditsPaid only6h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
filterBystringnoLookup parameter.
sortBystringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/twitch/profiles/{handle}/videos" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "twitch",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 16,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Paid endpoint. Free accounts receive plan_required.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.

Mapped / 3

503 · 0 credits
GET

Get Twitch clip

/v1/twitch/clips

503 upstream_not_configured · 0 credits
GET

Get Twitch clip transcript

/v1/twitch/clips/transcript

503 upstream_not_configured · 0 credits
GET

Get Twitch profile schedule

/v1/twitch/profiles/{handle}/schedule

503 upstream_not_configured · 0 credits
FAQ / Twitch

Common Twitch API questions

Pricing, caching, authentication, and placeholder behavior.
How many Twitch operations are live?

4 of 7 cataloged operations are live. 3 mapped operations return 503 upstream_not_configured and cost 0 credits.

What does a Twitch call cost?

Live operations range from 1 to 25 credits. 1 is available on the free daily cap and 3 are paid-only. Cache hits cost 0 credits.

Are Twitch responses cached?

Successful responses are cached between 0.016666666666666666h and 6h. A cache hit costs 0 credits and does not consume the free daily cap.

How do I authenticate Twitch requests?

Send x-api-key or Authorization: Bearer with a CleanFetch key. Missing or invalid keys return 401; paid-only routes return 403 plan_required; rate limits return 429 with Retry-After. A 5xx or timeout costs 0 credits.

ready