Page
Read a public web page as Markdown, with its title, author, date, site name, language, lead image and schema.org JSON-LD.
GET | POST /v1/reader/pageSend parameters as a query string with GET, or as a JSON body with POST. Both are equivalent. In a query
string, URL-encode the page's address.
Request
curl -G "https://gateway.apinoa.com/v1/reader/page" \
--data-urlencode "url=https://stephango.com/saw" \
-H "x-api-key: $APINOA_API_KEY"Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
url | string | yes | The page's address, http or https. |
country | enum | Where the page is read from. US | |
include | string list | Extra fields, comma-separated: html (the page as fetched), contentHtml (its main content as HTML), text (its main content as plain text), links (the links in its main content), images (the images in its main content). | |
maxChars | integer 100–1000000 | Cut markdown (and text) to at most this many characters, at a paragraph break where one is near; truncated is then true. |
The same parameters, and every response type, are in the OpenAPI document.
Response
Returns ReaderPage in data. A real response, in full.
{
"success": true,
"data": {
"url": "https://stephango.com/saw",
"finalUrl": "https://stephango.com/saw",
"status": 200,
"contentType": "text/html; charset=UTF-8",
"title": "Use the saw, fear the saw",
"wordCount": 143,
"jsonLd": [],
"description": "It’s hard to make a saw that cuts trees but not arms.",
"author": "Steph Ango",
"published": "2025-10-20T00:00:00+00:00",
"site": "Steph Ango",
"language": "en",
"image": "https://stephango.com/assets/card.png",
"favicon": "https://stephango.com/favicon.ico",
"markdown": "When I learned to use a table saw, my teacher impressed upon me that the machine wants to cut fingers. Fear the saw!\n\nPowerful tools can do powerful things. If you want to make handmade wooden furniture you must cut wood. Your desire to have limbs and your desire to have furniture are not at odds if you learn to use tools safely.\n\nThere *are* table saws that will stop at the touch of a finger, but I don’t know of any chainsaw that won’t cut an arm. There is a limit to how safe a tool can be before its function is crippled.\n\nWe should not stop making powerful tools because they are dangerous. Rather, we should empower people to use powerful tools safely.\n\nI use the saw, I fear the saw. I have handmade furniture, and I have all my limbs."
}
}Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | INVALID_PARAMS | url is missing, is not an http or https address, or is a private or internal address; a parameter is unknown or out of range; or the address answered something other than a web page (a PDF, an image, JSON). The message says which, and names the content type. |
| 400 | UPSTREAM_TOO_LARGE | The page is larger than 5 MiB. |
| 400 | INVALID_PARAMS | The site's TLS certificate does not verify (it is checked on every request). The message names the host. |
| 401 | UNAUTHORIZED | The x-api-key header is missing, or the key is revoked or unknown. |
| 402 | INSUFFICIENT_CREDITS | Your credits do not cover this call. Choose a plan or top up in the dashboard. |
| 404 | NOT_FOUND | The site does not exist or refuses connections: its name does not resolve, or nothing accepts the connection. The message names the host. |
| 429 | MARKETPLACE_SATURATED | Too many concurrent calls. Retry after the Retry-After seconds. |
| 503 | UPSTREAM_UNAVAILABLE | The page stayed behind a bot check after every try. Retry later. |
Every code is listed in Errors. Failed calls are not billed.
Pricing
Price 1 credit per call. Plans and credits.
Notes
statusis the site's. A404or500page is read and returned like any other page, and billed. Checkstatusbefore you usemarkdown.- No JavaScript is run. The page is read as the site's server sends it. A page that only fills in its content
with JavaScript comes back with little or no text (a low
wordCount);include=htmlshows what the server sent. - Main content only. Navigation, headers, footers and sidebars are left out of
markdown. On some pages, store pages especially, a little of the surrounding page (a related-products list, a button label) may remain.include=htmlreturns the whole page beside it. maxCharscutsmarkdownat a paragraph break when one is near the limit, and setstruncated: true.wordCountstill counts the whole content. Withinclude=text,textis cut the same way.include=text,links,imagesreturn the main content as plain text, its links ({ url, text }) and its images ({ url, alt }), the addresses absolute, each once, in page order. They come from the same main content asmarkdown, so a link in the navigation or footer is not among them.- Plain-text pages (
text/plain) come back as their text inmarkdown, with an emptytitle. - Redirects are followed;
finalUrlis the address that answered. Fields of every type are in the Response Schema.