How to find out your usage
How to find out your usage
When receiving a response from Urlbox, it will contain a number of useful headers that you can use to see your current usage:
Usage Headers
x-renders-used
This header shows how many renders your account has used in the current billing period.
x-renders-allowed
This shows the number of renders you are allowed in the current billing period.
x-renders-remaining
This shows the number of renders you have remaining in the current billing period.
x-renders-reset
This shows the date and time when your renders will reset to 0.
Rate Limit Headers
x-ratelimit-limit
This shows the number of requests you are allowed to make in the rate limit window (1 minute).
x-ratelimit-remaining
This shows the number of requests you have remaining in the rate limit window (1 minute).
x-ratelimit-reset
This shows the date when the rate limit window resets.
x-ratelimit-resetdate
This shows the date and time when the rate limit window resets.
Other Headers
x-urlbox-request-id
This shows the unique request ID for this request. This can be used to help us find your request in our logs.
x-urlbox-cache-status
This shows whether the response was served from cache or not. If the response was served from cache, it will show HIT
. If the response was not served from cache, it will show MISS
.
x-urlbox-rendered-by
This shows which rendering engine was used to render the screenshot.
x-urlbox-render-time
This shows how long it took to render the screenshot in milliseconds.