Rate limits
Requests to the Glanced API are rate limited per token. If you get a 429, wait out Retry-After and try again.
Requests are limited to 120 per minute, per token.
Handling 429
Every 429 carries a Retry-After header with the number of seconds to wait, and a JSON body; see Errors.
curl -i 'https://api.glanced.io/v1/items?limit=1' \
-H 'Authorization: Bearer glanced_live_...'\
# HTTP/1.1 429 Too Many Requests\
# retry-after: 60Wait out Retry-After before retrying. Retrying early just hits the same
limit.
How is this guide?