API Quickstart
Start tracking search rankings and managing your keyword portfolios programmatically in under 5 minutes.
1. Create your API Key
Log into the TrackSERPs console and navigate to Settings → API → Keys (Owner or Admin role required). Click Create Key, select your desired scopes and restrictions, and copy your newly generated token.
Key prefixes: Live keys start with
ts_live_ and interact with real search data and credit balances. Test keys start with ts_test_ and read synthetic demo data with zero credit consumption.2. First Request with cURL
Make your first HTTP call to the /account endpoint to verify your token:
A successful response returns your account identifier, team name, active plan, and timezone:
3. First Request with TypeScript / Node.js SDK
Install the official @trackserps/sdk package (zero runtime dependencies beyond Node 18+):
Use the typed client with automatic pagination and retry support:
4. First Request with Python
Call the API from Python using standard requests:
Next Steps
- Read Authentication & Keys to configure scopes and project restrictions.
- Review Rate Limits & Quotas to understand per-minute limits and monthly allowances.
- Explore the complete API Reference for detailed endpoint specifications.