Search indexes
Fill a full-text search engine with the words of each page and nothing else.
formats=text
Send a URL and get back the readable content of the page as plain text, with every tag, script and style removed. For search indexes, classifiers and anything that only needs the words.
With unwrap=true the text is the whole response body, with Content-Type: text/plain.
curl -G https://api.grabber.sh/fetch \
-H "Authorization: Bearer $GRABBER_API_KEY" \
--data-urlencode "url=https://example.com/news/launch" \
-d "formats=text" \
-d "unwrap=true"Response body
Example Co. launches its new trail shoe
The Trail Runner 2 weighs 240 grams and ships on November 3.
Pre-orders open today on the Example store, with free returns for 60 days.Call GET /fetch with url and formats=text.
It follows redirects, loads the page and removes the markup, scripts and styles.
Index it, classify it, embed it or compare it with yesterday. Errors cost nothing.
Fill a full-text search engine with the words of each page and nothing else.
Run topic, language or sentiment models on clean input instead of HTML.
Embed pages for similarity search when you do not need their headings or tables.
Compare the text of a page over time, without layout changes showing up as edits.
Prepaid credit, taken one request at a time. Ask for several formats in one request at the price of one.
| Request | Price |
|---|---|
| A page | $0.001 |
A page with js_render=true | $0.005 |
| Any error | $0 |
| Credit when you sign up | $1, about 1,000 pages |
Something else? The docs cover every parameter and error, and you can reach us from the dashboard.
Both hold the readable content of the page. Markdown keeps its structure, such as headings, lists, tables and links. Text has no markup at all. Use Markdown for language models and text when you only need the words.
Yes. Ask for formats=text,links and both come back in the JSON envelope, for $0.001.
Yes, with js_render=true. The page runs in a headless browser first, for $0.005 a page.
You get an error with a stable code, such as fetch_failed, and nothing is charged.
Sign up in a minute and fetch your first 1,000 pages for free.