Web
What Web data is for.
Use Web when you need public records without maintaining a separate adapter for each route. Start with the lowest-cost live operation, then add search or list endpoints only when the response shape fits your product.
Live
4
Paid only
0
Price floor
6 cr
Use cases
Generate web page HTML
Call /v1/web/html when you need a normalized generate web page html response with the same credit and cache rules as the rest of the catalog.
List website URLs
Call /v1/web/map when you need a normalized list website urls response with the same credit and cache rules as the rest of the catalog.
Generate web page markdown
Call /v1/web/markdown when you need a normalized generate web page markdown response with the same credit and cache rules as the rest of the catalog.
Auth & error contract.
Auth
Send x-api-key: cf_live_... or Authorization: Bearer cf_live_.... A missing or invalid key returns 401.
Billing
Successful lookups charge the listed credits. Cache hits, 5xx responses and mapped 503 routes cost 0 credits.
Limits
429 includes Retry-After and costs nothing. Paid-only routes return 403 plan_required before any provider call.
Mapped routes
6 routes are cataloged but not connected. They return 503 upstream_not_configured and never charge.
Operations
Live / 4
readyGenerate web page HTML
/v1/web/html| Name | Type | Required | Description |
|---|---|---|---|
| url | string | yes | Public page, post, profile or video URL. |
| scanFullPage | string | no | Lookup parameter. |
| waitFor | string | no | Lookup parameter. |
| proxy | string | no | Lookup parameter. |
| maxCredits | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/web/html?url=https%3A%2F%2Fcleanfetch.dev" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "web",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 6,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 2 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
List website URLs
/v1/web/map| Name | Type | Required | Description |
|---|---|---|---|
| url | string | yes | Public page, post, profile or video URL. |
| limit | string | no | Maximum records to return, from 1 to 20. |
| query | string | no | Search query or keyword. |
| sitemap | string | no | Lookup parameter. |
| includeSubdomains | string | no | Lookup parameter. |
| ignoreQueryParameters | string | no | Lookup parameter. |
| proxy | string | no | Lookup parameter. |
| maxCredits | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/web/map?url=https%3A%2F%2Fcleanfetch.dev" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "web",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 6,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 2 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Generate web page markdown
/v1/web/markdown| Name | Type | Required | Description |
|---|---|---|---|
| url | string | yes | Public page, post, profile or video URL. |
| filter | string | no | Lookup parameter. |
| query | string | no | Search query or keyword. |
| cacheMode | string | no | Lookup parameter. |
| scanFullPage | string | no | Lookup parameter. |
| waitFor | string | no | Lookup parameter. |
| proxy | string | no | Lookup parameter. |
| maxCredits | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/web/markdown?url=https%3A%2F%2Fcleanfetch.dev" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "web",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 6,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 2 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Analyze web page SEO
/v1/web/seo| Name | Type | Required | Description |
|---|---|---|---|
| url | string | yes | Public page, post, profile or video URL. |
| proxy | string | no | Lookup parameter. |
| maxCredits | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/web/seo?url=https%3A%2F%2Fcleanfetch.dev" \ -H "x-api-key: $CLEANFETCH_API_KEY"
{
"data": {
"platform": "web",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 6,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 2 times per day.
- • Responses are cached for 6h.
- • A public record that does not exist returns not_found and is charged once.
Mapped / 6
503 · 0 creditsAsk a question about a web page
/v1/web/ask
Crawl web pages
/v1/web/crawl
Extract structured data from a web page
/v1/web/extract
Capture a web page's network responses
/v1/web/network
Capture website screenshot
/v1/web/screenshot
Search the web
/v1/web/search
Common Web API questions
How many Web operations are live?
4 of 10 cataloged operations are live. 6 mapped operations return 503 upstream_not_configured and cost 0 credits.
What does a Web call cost?
Live operations range from 6 to 6 credits. 4 are available on the free daily cap and 0 are paid-only. Cache hits cost 0 credits.
Are Web responses cached?
Successful responses are cached between 6h and 6h. A cache hit costs 0 credits and does not consume the free daily cap.
How do I authenticate Web requests?
Send x-api-key or Authorization: Bearer with a CleanFetch key. Missing or invalid keys return 401; paid-only routes return 403 plan_required; rate limits return 429 with Retry-After. A 5xx or timeout costs 0 credits.