Docs / Platforms / Web10 operations / 4 live / 6 mapped

Web

Web is exposed through 4 live operations covering public records. The full reference is below; mapped routes are explicitly disabled and never charge credits.
Overview & use cases

What Web data is for.

Live Web capabilities, credit floor, and typical lookup workflows.

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.

Contract / auth

Auth & error contract.

The platform follows the same gateway and billing rules as the rest of CleanFetch.

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.

Reference / 10

Operations

Live routes are expanded first with parameters, request example and response fields. Mapped routes are compact placeholders.

Live / 4

ready
GET

Generate web page HTML

/v1/web/html
6 credits2/day free6h cache
NameTypeRequiredDescription
urlstringyesPublic page, post, profile or video URL.
scanFullPagestringnoLookup parameter.
waitForstringnoLookup parameter.
proxystringnoLookup parameter.
maxCreditsstringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/web/html?url=https%3A%2F%2Fcleanfetch.dev" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "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[].createdAt

Input 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.
GET

List website URLs

/v1/web/map
6 credits2/day free6h cache
NameTypeRequiredDescription
urlstringyesPublic page, post, profile or video URL.
limitstringnoMaximum records to return, from 1 to 20.
querystringnoSearch query or keyword.
sitemapstringnoLookup parameter.
includeSubdomainsstringnoLookup parameter.
ignoreQueryParametersstringnoLookup parameter.
proxystringnoLookup parameter.
maxCreditsstringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/web/map?url=https%3A%2F%2Fcleanfetch.dev" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "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[].createdAt

Input 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.
GET

Generate web page markdown

/v1/web/markdown
6 credits2/day free6h cache
NameTypeRequiredDescription
urlstringyesPublic page, post, profile or video URL.
filterstringnoLookup parameter.
querystringnoSearch query or keyword.
cacheModestringnoLookup parameter.
scanFullPagestringnoLookup parameter.
waitForstringnoLookup parameter.
proxystringnoLookup parameter.
maxCreditsstringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/web/markdown?url=https%3A%2F%2Fcleanfetch.dev" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "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[].createdAt

Input 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.
GET

Analyze web page SEO

/v1/web/seo
6 credits2/day free6h cache
NameTypeRequiredDescription
urlstringyesPublic page, post, profile or video URL.
proxystringnoLookup parameter.
maxCreditsstringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/web/seo?url=https%3A%2F%2Fcleanfetch.dev" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "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[].createdAt

Input 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 credits
GET

Ask a question about a web page

/v1/web/ask

503 upstream_not_configured · 0 credits
GET

Crawl web pages

/v1/web/crawl

503 upstream_not_configured · 0 credits
POST

Extract structured data from a web page

/v1/web/extract

503 upstream_not_configured · 0 credits
GET

Capture a web page's network responses

/v1/web/network

503 upstream_not_configured · 0 credits
GET

Capture website screenshot

/v1/web/screenshot

503 upstream_not_configured · 0 credits
FAQ / Web

Common Web API questions

Pricing, caching, authentication, and placeholder behavior.
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.

ready