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.
| Code | Status | Retry | Who | What it means |
|---|---|---|---|---|
invalid_request | 400 | no | You can fix it | The request is not valid. Check the parameters against the API reference. |
invalid_key | 401 | no | You can fix it | The 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_credits | 402 | no | You can fix it | Your balance does not cover this request. Buy credits on your account page; nothing was fetched or charged. |
account_suspended | 403 | no | You can fix it | This account is suspended. Contact support; nothing was fetched or charged. |
address_not_allowed | 422 | no | You can fix it | This address cannot be fetched. Only public http and https addresses on ports 80 and 443 are allowed. |
not_convertible | 422 | no | You can fix it | The 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_requests | 429 | yes | You can fix it | You have as many requests running as your account allows. Send the next one when one has finished. |
site_busy | 429 | yes | You can fix it | You 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. |
blocked | 502 | later | The site did it | The site showed a check page ("are you human") instead of the page. Nothing was charged; trying again later may work. |
site_refused | 502 | no | The site did it | The site refused access to this page. Nothing was charged. |
site_rate_limited | 502 | yes | The site did it | The site said it received too many requests. Nothing was charged; try again after the wait shown. |
site_error | 502 | on a 5xx | The site did it | The site answered with an error. Nothing was charged. |
site_unreachable | 502 | yes | The site did it | The connection to the site failed. Nothing was charged; trying again may work. |
site_not_found | 502 | no | The site did it | The site's name does not exist. Check the address; nothing was charged. |
site_tls_error | 502 | no | The site did it | The site's certificate is not valid, so the page was not fetched. Nothing was charged. |
too_many_redirects | 502 | no | The site did it | The site redirected more often than allowed. Nothing was charged. |
too_large | 502 | no | The site did it | The content is larger than the limit (16 MiB; 4 MiB for Markdown). Nothing was charged. |
timeout | 504 | yes | The site did it | The page could not be fetched within the time limit. Nothing was charged; trying again may work. |
temporarily_unavailable | 503 | yes | gimmepage did it | gimmepage cannot take this request right now. Nothing was charged; try again after the wait shown. |
canceled | — | no | You can fix it | The 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.