Skip to content
Gridlode
LiveWeb pages and crawling1 credit / request

Page HTML API

The raw HTML of any public web page with final URL, status code, redirect chain and key headers. Respects robots.txt by default. Failed fetches (blocks, 5xx, timeouts) are not charged.

GEThttps://api.gridlode.com/v1/url/html

Try it live

Try . Free, no account needed.

Parameters

NameTypeDescription
urlrequiredstringPublic http(s) URL to fetch.
respect_robotsbooleanRefuse URLs disallowed by the site's robots.txt.
Default: true
renderbooleanRender JavaScript in real Chrome first (+1 credit). Images, media and fonts are skipped.
Default: false
wait_msintegerWith render=true: extra wait after load for late content.
Default: 1000
max_ageintegerAccept a cached answer up to this many seconds old, billed at 50%. Default 0 (always fresh).

Response fields

  • final_url / redirects · Where the request ended up and every hop on the way.
  • status_code / content_type · HTTP status and media type of the final response.
  • headers · content-type, content-language, last-modified, cache-control, x-robots-tag, server, etag when present.
  • html · The HTML exactly as the server sent it (up to 5 MB).
  • robots · allowed, unavailable (no robots.txt reachable) or ignored.

Code

curl "https://api.gridlode.com/v1/url/html?url=https%3A%2F%2Fexample.com%2F" \
  -H "Authorization: Bearer $GRIDLODE_KEY"
1 credit per request
One credit is $0.001 on the smallest pack, from $0.0003 on enterprise plans.
Half price for cached data
Cached for up to 1 h. Pass max_age to use it.
Failed requests are free
Blocks, timeouts and target errors never cost credits.

Market reference: TabAPI HTML: 1 credit ($1.00/1k).

Questions

Is JavaScript executed?

Not yet. You get the HTML the server sends. Pass render=true once browser rendering launches in Q1 2027.

Am I charged when a site blocks the request?

No. 401, 403, 429 and 5xx answers from the site, timeouts and robots.txt refusals are never charged.

How much does the Page HTML API cost?

1 credit per request. One credit costs $0.001 on the smallest pack and as little as $0.0003 on enterprise plans. Cached answers cost half and failed calls are free.

Web pages and crawling
All 13 in Web pages and crawling · 13 live
Live

URL to Markdown

The main content of a web page as clean Markdown (boilerplate, navigation and ads removed) with title, description, author, publish date and language

1 credit / requestTry freeDocs
Live

Website Crawler (Markdown for RAG)

Crawl a website from a start URL (and optionally its XML sitemap) and get every page back as clean Markdown with title, description, language, word…

1 credit / pageDocs
Live

Screenshot

A screenshot of any public web page, rendered in real Chrome with JavaScript

2 credits / requestTry freeDocs
Live

Broken Link Checker

Crawl a website and check every internal and external link for 404s, server errors, timeouts and redirect chains

1 credit / pageTry freeDocs