API Overview
Base URL
Authentication
All API requests (except public endpoints) require authentication using an API key passed in the header:Response Format
All responses follow a consistent JSON format: SuccessAvailable API Categories
- Webhooks — Configure endpoints for real-time event delivery View docs
- Tracking — Monitor X, Discord, Telegram, Web, and RSS sources View docs
- X Queries — Query X user and tweet data View docs
- Telegram Queries — Search Telegram messages, users, and channels View docs
- Web Scraping — Scrape any public URL for raw HTML View docs
- API Keys — Usage stats and key rotation View docs
- Health & Metrics — System health and latency percentiles View docs
- Backfill — Trigger and retrieve historical data View docs
- Streams — WebSocket and SSE for real-time data View docs
Source Guides
For per-source setup guides with examples, see:- X — Track users, search tweets, token mentions
- Telegram — Monitor groups & channels, token mentions
- Discord — Track channels, token mentions
- Web — Track websites, scrape web pages
- RSS — Monitor RSS feeds for new content
Getting Started
1. Get Your API Key
- Sign up at Scrapest Dashboard
- Navigate to API Keys section
- Generate a new API key
- Copy and securely store your API key
2. Make Your First Request
3. Explore Endpoints
- Webhooks: Create your first webhook
- Tracking: Set up data tracking
- X Queries: Query X data
Common Patterns
Pagination
List endpoints support pagination withpage and limit query parameters:
Filtering
Many endpoints support filtering:Error Handling
Errors return appropriate HTTP status codes:| Status | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request |
| 401 | Unauthorized |
| 422 | Validation Error |
| 500 | Internal Server Error |
For streaming capabilities, see the Streams documentation.