Base URL
All API requests use this base URL:Authentication
Every request requires a Bearer token. API keys start withmk_live_ and can be created from Settings > Developer in the Mindcase dashboard.
Quick Example
Here’s a complete flow — run an Instagram Profile Scraper, poll for status, then fetch results:Rate Limits
API keys are limited to 60 requests per minute. If you exceed this, you’ll receive a429 status code. Wait and retry with exponential backoff.
Credits
Each agent consumes credits per row of data returned. Most agents cost 1 credit/row, while premium agents like LinkedIn Profile Scraper cost 2 credits/row. Check your balance anytime:Error Codes
| Code | Meaning |
|---|---|
401 | Invalid or missing API key |
402 | Insufficient credits |
404 | Agent or job not found |
422 | Invalid request parameters |
429 | Rate limit exceeded (60 req/min) |
500 | Internal server error |
What’s Next?
Authentication
Learn how to create and manage API keys.
Agent Reference
Browse all 30+ available data agents.
Running Agents
Submit jobs and retrieve results.
Python SDK
Use our Python client library.