Overview
API reference
Every endpoint, with its parameters, an example request in four languages and an example response.
Run a request
Open the Playground and send a real request with your account.
ResolvedVideo
Every field the media endpoints return.
Base URL#
https://api.crawlfetch.com
Authentication#
Authorization: Bearer <YOUR_API_KEY>
See Authentication for scopes.
Endpoints#
| method | path | description |
|---|---|---|
| GET | /v1/youtube | Videos and Shorts. Returns the tallest rendition your plan allows, plus an audio-only track on Starter and up. |
| GET | /v1/tiktok | Public TikTok videos, returned without the TikTok watermark. |
| GET | /v1/instagram | Public Reels and video posts. |
| GET | /v1/resolve | One endpoint for every live platform. The service is detected from the URL. |
| GET | /v1/<service>/formats | See which qualities and containers your plan can get for a video, before downloading it. |
| GET | /v1/usage | Your credit balance, this period's plan credits and when they reset. |
| GET | /v1/services | Every platform with whether it is live and its endpoint. Public, no key needed. |
Conventions#
- Every response is JSON. Errors are
{ error: { code, message } }, see Errors. - Query parameters must be URL-encoded, especially
url. - Only successful requests are charged. See Credits & billing.