Documentation

Errors

A failed request is never charged. Its body is JSON with a stable error code, a message in plain words, retry (whether sending it again can help) and, when there is a wait, retry_after_s and a Retry-After header.

New codes may be added. If you meet a code you do not know, use retry and the HTTP status: 4xx means the request, 502 and 504 the site, 503 gimmepage.

CodeStatusRetryWhoWhat it means
invalid_request400noYou can fix itThe request is not valid. Check the parameters against the API reference.
invalid_key401noYou can fix itThe API key is missing, unknown or was replaced. Send the current key from your account page in the Authorization header: `Authorization: Bearer <key>`. A key in the address is not read.
out_of_credits402noYou can fix itYour balance does not cover this request. Buy credits on your account page; nothing was fetched or charged.
account_suspended403noYou can fix itThis account is suspended. Contact support; nothing was fetched or charged.
address_not_allowed422noYou can fix itThis address cannot be fetched. Only public http and https addresses on ports 80 and 443 are allowed.
not_convertible422noYou can fix itThe content is not an HTML page, so it cannot be converted to Markdown. Ask for output=raw to get it as it is.
too_many_requests429yesYou can fix itYou have as many requests running as your account allows. Send the next one when one has finished.
site_busy429yesYou can fix itYou already have a request running for this site. Requests to one site run one at a time; send the next one when this one has finished.
blocked502laterThe site did itThe site showed a check page ("are you human") instead of the page. Nothing was charged; trying again later may work.
site_refused502noThe site did itThe site refused access to this page. Nothing was charged.
site_rate_limited502yesThe site did itThe site said it received too many requests. Nothing was charged; try again after the wait shown.
site_error502on a 5xxThe site did itThe site answered with an error. Nothing was charged.
site_unreachable502yesThe site did itThe connection to the site failed. Nothing was charged; trying again may work.
site_not_found502noThe site did itThe site's name does not exist. Check the address; nothing was charged.
site_tls_error502noThe site did itThe site's certificate is not valid, so the page was not fetched. Nothing was charged.
too_many_redirects502noThe site did itThe site redirected more often than allowed. Nothing was charged.
too_large502noThe site did itThe content is larger than the limit (16 MiB; 4 MiB for Markdown). Nothing was charged.
timeout504yesThe site did itThe page could not be fetched within the time limit. Nothing was charged; trying again may work.
temporarily_unavailable503yesgimmepage did itgimmepage cannot take this request right now. Nothing was charged; try again after the wait shown.
canceled—noYou can fix itThe request was canceled before the answer was ready. Nothing was charged.

canceled never reaches you: it is what the usage list shows when you closed the connection before the answer was ready.

A site's own "not found" (404) or "gone" (410) is not an error: it is delivered with status 200 and Gimmepage-Site-Status: 404, and charged.