API Reference
Every Stophy endpoint: video, search, channel, playlist, credits, logs and usage. Bearer token on every request.
All endpoints are under https://api.stophy.dev/v1. Every request must include:
Authorization: Bearer $STOPHY_API_KEY
Content-Type: application/jsonEach endpoint page shows examples for the TypeScript SDK, the Python SDK, and raw cURL. The SDKs set the auth header, parse the envelope, and raise typed errors for you; reach for cURL when you want the raw HTTP shape.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /v1/video | Video details, transcript, comments, live chat |
POST | /v1/search | YouTube search |
POST | /v1/channel | Channel metadata and content |
POST | /v1/playlist | Playlist items |
GET | /v1/credits | Credit balance |
GET | /v1/logs | Request logs |
GET | /v1/usage | Daily usage |