API
Overview
Overview of the AIOStreams REST API.
AIOStreams exposes a REST API that lets you query streams programmatically, look up anime mappings, and more. Responses use a consistent JSON envelope.
Base Path: /api/v1
Response Envelope
All endpoints return a consistent top-level structure:
{
"success": true,
"detail": "optional message",
"error": null,
"data": { ... }
}| Field | Type | Description |
|---|---|---|
success | boolean | true if the request succeeded |
detail | string | null | Optional informational message |
error | object | null | Error object present when success is false |
data | any | null | Response payload |
Error object:
| Field | Type | Description |
|---|---|---|
code | string | Machine-readable error code |
message | string | Human-readable description |