Billing and credits
You pay for calls that run, nothing else. Every endpoint has a price in credits, shown in the catalog and on its docs page. A call that runs spends that many credits; calls refused before they run and failures on our side spend none (details). No seats, no per-request fees, no surprises on the invoice.
Credits
Each response tells you what it cost and what's left, in the x-credits-used and x-credits-remaining headers. Repeat calls served from the 24-hour cache cost the same as live ones, but are much faster. Re-downloading a past response with /v1/results is free.
Where credits come from
| source | rate | lasts |
|---|---|---|
| Free monthly | 1,000 credits for every account, every month | Until the monthly reset |
| Monthly plan | 1,000 credits per $1 ($1 per 1,000): plans of $50, $100, $250, $500 or $1,000 a month | Until the next renewal |
| Top-up (pay-as-you-go) | 500 credits per $1 ($2 per 1,000), from $15 | Never expire |
Credits that expire soonest are spent first: free monthly and plan credits, then top-ups. Buckets stack, so a plan plus a top-up is a common setup: the plan covers the baseline, the top-up covers spikes. Compare plans on pricing.
Plans
- Start, change or cancel a plan in Billing (owners and billing members).
- Plan credits are granted at each renewal. Unused plan credits don't roll over.
- A canceled plan stays active until the end of the paid month. See refunds and cancellation.
- Any paid plan or past top-up also unlocks paid team features: more members, whole-site API requests, required 2FA and verified domains.
Auto top-up
Never run dry mid-job. When your Billing page offers auto top-up, pick a threshold in credits and an amount in dollars (at least $15): when the balance drops below the threshold, we charge the card from your first payment and add the credits. To keep things predictable, it runs at most 3 times a day and switches itself off after 3 failed payments. Make one top-up or start a plan first, so there's a card on file.
Low-balance alerts
Paying accounts get an email when the balance falls below a share of your plan's credits or your last top-up (10% by default, anywhere up to 50% under billing details; 0 turns alerts off), and another one at zero. Alerts go to the owner and to the billing contact.
Spend limits
Set a hard daily and monthly limit in credits for the whole team. Calls past it get 402 with spend_limit and cost nothing until the limit resets (UTC). To limit a single key, use its monthly credit cap. Details in Spend limits.
Invoices and receipts
- Every payment comes with an emailed receipt and invoice, sales tax or VAT included where it applies.
- Billing lists every payment with its invoice, and the billing portal has them too.
- Put your company, address, country and tax ID (VAT or GST) on invoices under billing details.
Billing contact
Add a billing contact email (finance, accounts payable, your bookkeeper) and invoices, receipts, plan emails and low-balance alerts go there as well as to the owner. Owners and billing members can set it. See roles for who can see and change billing.
Enterprise contracts and statements
Enterprise teams can buy credits on an invoice with their PO number, at volume pricing, with an optional monthly commitment. Each month brings a usage statement (CSV, credits per key, member and endpoint) that owners, admins and billing members can download from the Enterprise page. See contracts and invoicing.
Referral rewards
Share your referral link from Billing. For 12 months after someone signs up with it, you earn 20% of what they spend on the credits they use (their personal account and the teams they create). Rewards are counted daily on paid credits used, at the price paid for them; free and bonus credits don't count. Redeem from $5: rewards become pay-as-you-go credits (500 per $1) that never expire, after a quick review by API.SH. You see clicks, sign-ups, paying referrals and your rewards, never who signed up. Details in the referral terms.
What's charged, what's free
You pay for calls that run, at the endpoint's price:
- successful (
200) responses, including repeat calls answered from the cache; - lookups that ran but found nothing: a username that doesn't exist, a removed listing, a private profile (
404), or a value the site itself rejected.
Everything else is free, and the response says credits_used: 0:
- calls we refuse before running them: a missing or misspelled parameter, an invalid value, a missing, wrong or expired key, no credits left, and anything stopped by your own key caps, spend limits, allow-lists or rate limits;
- failures on our side: a site that didn't answer or refused us, a timeout, any
5xx. Retry those without worrying.
Every response carries its cost in credits_used and the x-credits-used header. Every status is listed in Errors.