Single-page apps
Read sites built with React, Vue, Angular or Svelte that send an empty page and fill it in the browser.
js_render=true
Some pages are empty until their scripts run. Add js_render=true and Grabber runs the page in a headless browser first, then returns what it shows in any format.
Add js_render=true to any request. Everything else stays the same.
curl -G https://api.grabber.sh/fetch \
-H "Authorization: Bearer $GRABBER_API_KEY" \
--data-urlencode "url=https://app.example.com/pricing" \
-d "formats=markdown" \
-d "js_render=true" \
-d "unwrap=true"Response body
# Pricing
| Plan | Price | Seats |
| --- | --- | --- |
| Starter | $19 a month | 3 |
| Team | $49 a month | 10 |
All plans include a 14-day trial.Keep the rest of your request as it is: the URL, the formats and unwrap.
The page loads in a headless browser and its scripts run, so the content they build is there.
The rendered page comes back in the formats you asked for. Allow up to 120 seconds.
Read sites built with React, Vue, Angular or Svelte that send an empty page and fill it in the browser.
Many pricing tables are loaded by scripts. Rendering gets you the numbers, not a spinner.
Reviews, listings and comments that arrive after the first load are in the rendered page.
Let your agent retry with js_render when a page comes back empty.
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.
When a page comes back empty or says to enable JavaScript. Try without it first: a plain fetch is faster and costs $0.001 instead of $0.005.
Usually a few seconds, and never more than 120. Set your client timeout to at least 130 seconds.
No. Grabber reads public pages as a signed-out visitor, with or without rendering.
No. Any error, including a render that times out, costs nothing.
Sign up in a minute and fetch your first 1,000 pages for free.