How credits work
Every API key has a credit balance. Each scrape request deducts a fixed number of credits. Credits are deducted on both cache hits and fresh scrapes — you’re paying for the data, not the compute.Credit costs
| Endpoint | Credits | Description |
|---|---|---|
GET /v1/instagram/profile | 1 | Single profile lookup |
GET /v1/instagram/user/posts | 2 | User’s recent posts |
GET /v1/instagram/post | 1 | Single post by shortcode |
GET /v1/instagram/post/comments | 2 | Comments on a post |
GET /v1/credit-balance | 0 | Check your balance (free) |
Checking your balance
Insufficient credits
If your balance is too low for a request, you’ll receive a402 error:
Credit deduction rules
- Credits are deducted only on successful responses (HTTP 2xx)
- Failed scrapes (502, 504) do not cost credits
- Cached responses still cost credits (same rate as fresh scrapes)
- The
credit-balanceendpoint is always free