Developers
The same data that powers this site: providers, series, episodes and genres, with playback links. JSON over HTTPS, CORS enabled.
X-API-Key header (this server currently also allows anonymous reads, with a lower per-IP rate limit).export AI_SHORTS_KEY=sk_live_...
curl -s "http://localhost:8011/v1/series?q=revenge&sort=popular&limit=5" \
-H "X-API-Key: $AI_SHORTS_KEY"curl -s "http://localhost:8011/v1/series/<series-id>/episodes" \
-H "X-API-Key: $AI_SHORTS_KEY"{
"success": true,
"data": [ { "id": "...", "number": 1, "playback": { "type": "stream", "url": "http://localhost:8011/v1/episodes/<id>/stream?exp=...&sig=..." } } ],
"error": null,
"meta": { "total": 12, "page": 1, "limit": 100, "totalPages": 1 }
}| type | What to do |
|---|---|
| hosted | Play playback.url. Byte ranges are supported for seeking. |
| stream | Play playback.url. It redirects to the licensed HLS/MP4 stream (use hls.js for .m3u8 outside Safari). |
| external | Link out to playback.url on the provider's own app or site. |
| none | Metadata only, nothing to play. |
Signed playback URLs expire (default 6 hours). Fetch the episode again for a fresh link. Request limits are per key per minute; responses includeX-RateLimit-Remaining.
Keys are free and take a few seconds to create.