Pricing

Pricing is calculated at the end of the month based on the number of requests made with your API token. It's calculated from the following tiers:

Total Requests in a MonthMonthly Price (USD)
under 500$0 (free)
under 20,000$9
under 100,000$40
per 1,000,000$360 ($0.00036 per request)
per 10,000,000$3,240 ($0.000324 per request)
per 100,000,000$25,000 ($0.00025 per request)
a request is defined as any HTTP request made to the API endpoint: service.headless-render-api.com - but our official pre-rendering middlewares strive to only make requests for HTML pages (thus you can predict your approximate (upper bound) usage based on number of monthly sessions on your website) - in reality you will locally cache so you're only making API requests when necessary
note from those tiers how once you exceed 1,000,000 API requests in a billing cycle, your pricing gets cheaper by changing to "per request"
* EU customers: Prices inclusive of VAT, where applicable

Examples

  • Example 1: 19,999 requests would cost $9
  • Example 2: 20,001 requests would cost $40
  • Example 3: 100,001 requests would cost $36 (making over 100,000 requests qualifies for the variable rate plan)
  • Example 4: 1,500,000 requests would cost $540
  • Example 5: 150,000,000 requests would cost $37,500

Billing is automatic at the end of the cycle

  • The cycle is 30 days long and starts when you add your credit/debit card
  • If the credit/debit card on record fails/rejects the payment, we'll try 2 more times (and send you an email indicating failed payment) over the next few days. After the 3rd failure, your service will be converted into the "free tier" which means it will be rate limited to 500 requests total per month.
  • We send a receipt with a summary of your requests via email after a successful payment. After this, corresponding a PDF invoice (marked "paid") is available for download when you sign-in to Headless-Render-API.com

Canceling

  • You're billed for "usage" at the end of your billing cycle (how many API requests you made) as opposed to a flat fee subscription price at the beginning of a month.
  • Simply stop making requests to the service.headless-render-api.com endpoint. After your final invoice is paid and 45 days of idle activity your credit card will be automatically removed.
  • If you're unable to remove one of our integrations from your webserver but still want to cancel, we can block your API key from our end but this may cause your webserver to start returning errors - so if you're using a Headless-Render-API.com middleware integration with your webserver, you must remove that integration.

Reduce costs

  • cache API responses locally (easy with our Node.js lib or nginx config)
  • use a "botsOnly" config so only googlebot, twitterbot etc. user-agents are proxied through Headless-Render-API.com

Rate limiting

  • API requests without an API token are rate-limited: 15 requests per hour and/or 500 per month
  • API requests with an API token but no or invalid billing will be rate-limited 500 per month (but not per hour)
  • API requests with an API token and valid billing information are not rate-limited

Burst requests and capacity

  • Headless-Render-API.com can tolerate sudden and unexpected bursts of up to 100 req/sec. If that burst is sustained for more than 2 minutes, the system autoscales to meet the load. This autoscaling process takes approximately 1 minute.
  • If there's a sudden burst of traffic exceeds 100 req/sec, the requests beyond 100/sec will be queued. It will take approximately 3 minutes total to address that queue. Historically there's only ever been queuing when a new large Headless-Render-API.com customer joins without reaching out beforehand.
  • To tolerate any potential capacity issues Headless-Render-API.com may have, set your request timeout to 5 minutes.
  • Email us if you have any capacity concerns. If you have complicated burst or seasonal requirements, we can program the autoscaler to provision capacity on a schedule.