Guide

How credits work

What you are charged for, what is free, and what gets refunded.

Credits are prepaid and spent per successful call. Each endpoint has its own price based on the work it actually does, published with its reasoning on the endpoint page and in the price list.

The charging rules

SituationCharged?
The call succeedsYes - the endpoint's listed price.
Your arguments fail validationNo. The call never runs, so it is free.
The endpoint is disabled or unknownNo.
You have too few creditsNo. You get 402 and nothing is deducted.
A host you targeted is down or unreachableYes. We did the work of trying on your behalf.
We time out or fail internallyNo. Automatically refunded to your balance.

Why prices differ per endpoint

A flat rate sounds simpler but means light callers subsidise heavy ones. A DNS lookup is one cached query; a broken-link check fetches a page and then up to thirty more URLs. Charging both the same would either overprice the cheap call or lose money on the expensive one, so each is priced by what it consumes.

Tracking your spend

Every response carries two headers, so you can monitor spend without polling a billing endpoint:

http
X-Credits-Charged: 10
X-Credits-Remaining: 1240
  • Your free allowance refreshes on the 1st of each month.
  • Purchased credits never expire.
  • Balance and full history live in Billing; per-endpoint breakdowns are in Usage.