Authentication
API Key
- Required: An API key is necessary for all requests.
- Usage: Include api_key=YOUR_API_KEY in the query string.
- Security: Treat your API key as sensitive information to prevent unauthorized access.
- All integers can be used as ranges (e.g., 2005-2010 or 2005- or -2005).
Base URL
All API requests should be initiated to: https://api.clip.cafe/.Download Video Clips
Method: GETPurpose: Download a specific video clip.
Response: Binary stream of the video clip.
Query Parameters:
- api_key (string) YOUR_API_KEY (mandatory).
- slug (string) Unique identifier for the clip (mandatory).
- key (string) Unique download key (mandatory).
Example Request:
GET /?api_key=YOUR_API_KEY&slug=clip-slug&key=DOWNLOAD_KEY HTTP/1.1Host: api.clip.cafe
Error Codes
- 200 OK: Successful request.
- 400 Bad Request: Invalid request format or parameters.
- 401 Unauthorized: Missing or invalid API key.
- 403 Forbidden: Access denied.
- 404 Not Found: Resource not found.
- 429 Too Many Requests: Rate limit exceeded.
- 500 Internal Server Error: Server error.