Api Endpoint

FastAF

Scrape a public webpage for AI agents: convert a web page URL into markdown, HTML, links or images, with optional JavaScript rendering and AI extraction or summary. Supports web content retrieval for research and RAG; response format follows the requested options. Provided by Scrape a public webpage. Price: $0.005000 USDC per successful call. Docs: https://fastaf.co

Open interactive test console

Offering

Provider
api.fastaf.co
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.fastaf.co/x402/v1/scrape
MIME type
text/html
First seen
2026-10-23T22:46:46.158Z
Last seen
Tags
Data, scraping, web-data, api, Agents

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x05B75e13f071A09A26B50a18Ce5BD02a0755d76F"
  }
]

Observed health

Status
Healthy
Latest latency
34 ms
Average latency
653 ms
HTTP status
402
Last checked
Reachability
93.3% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "dynamic": {
          "type": "boolean"
        },
        "js_rendering": {
          "type": "boolean"
        },
        "premium": {
          "type": "boolean"
        },
        "custom_headers": {
          "type": "boolean"
        },
        "wait": {
          "type": "integer"
        },
        "country": {
          "type": "string"
        },
        "session_number": {
          "type": "string"
        },
        "image": {
          "type": "boolean"
        },
        "formats": {
          "type": "string",
          "enum": [
            "html",
            "links",
            "markdown",
            "summary",
            "images"
          ]
        },
        "ai_query": {
          "type": "string"
        },
        "ai_extract_rules": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "image",
            "pdf",
            "pbf"
          ]
        },
        "challenge_mode": {
          "type": "boolean"
        },
        "max_tokens": {
          "type": "integer"
        },
        "async": {
          "type": "boolean"
        }
      },
      "required": [
        "url"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ]
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Scrape a public webpage for AI agents: convert a web page URL into markdown, HTML, links or images, with optional JavaScript rendering and AI extraction or summary. Supports web content retrieval for research and RAG; response format follows the requested options.",
  "properties": {
    "docsUrl": {
      "format": "uri",
      "type": "string"
    },
    "homepage": {
      "format": "uri",
      "type": "string"
    },
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "description": "Web page retrieval by URL with formats=markdown; dynamic and other optional rendering or extraction parameters select different modes.",
          "examples": [
            {
              "formats": "markdown",
              "url": "https://example.com/"
            }
          ],
          "properties": {
            "ai_extract_rules": {
              "description": "JSON-encoded extraction instructions as a STRING, e.g. {\"price\":\"product price\",\"currency\":\"currency code\"}; not a nested JSON object. Omit for no rule-based extraction. Not supported for Reddit feeds. AI extraction (ai_query, ai_extract_rules or formats=summary) adds 10 credits once per request, even when combined; other formats add none.",
              "maxLength": 8192,
              "type": "string"
            },
            "ai_query": {
              "description": "Natural-language extraction prompt, e.g. Return the product price and currency. Omit for no prompt-based extraction. Not supported for Reddit feeds. AI extraction (ai_query, ai_extract_rules or formats=summary) adds 10 credits once per request, even when combined; other formats add none.",
              "maxLength": 8192,
              "type": "string"
            },
            "challenge_mode": {
              "description": "Browser-verification handling mode; true/false, default false. Uses its own rendering/proxies; cannot combine with dynamic=true, premium=true or country. Ignored for Reddit feeds. When enabled: 10 base credits; AI adds 10.",
              "type": "boolean"
            },
            "country": {
              "description": "Proxy exit country as a two-letter ISO 3166-1 code, e.g. us, gb or de. Omit for no country targeting. Selecting any country uses premium-tier pricing even if premium=false; incompatible with challenge_mode. Ignored for Reddit feeds. Base cost with premium=true or any country: 10 credits, 25 with dynamic; AI adds 10.",
              "maxLength": 8192,
              "type": "string"
            },
            "custom_headers": {
              "description": "Boolean upstream header-forwarding flag, default false; NOT a header map. FastAF does not forward caller HTTP headers, cookies or Authorization to the target, so this cannot customize them. Ignored for Reddit feeds. No additional credits; selected rendering/proxy/AI options determine the request cost.",
              "type": "boolean"
            },
            "dynamic": {
              "description": "Render JavaScript before extracting content; true/false. FastAF default false, except booking.com defaults true with wait=8000. Ignored for Reddit feeds. Base cost: 1 credit without rendering, 5 with rendering, or 25 with rendering plus premium/country; AI adds 10.",
              "type": "boolean"
            },
            "formats": {
              "description": "One output format: html (default), links, markdown, summary or images. summary is AI-generated; links/images extract page URLs. Reddit supports html/markdown only. AI extraction (ai_query, ai_extract_rules or formats=summary) adds 10 credits once per request, even when combined; other formats add none.",
              "enum": [
                "html",
                "links",
                "markdown",
                "summary",
                "images"
              ],
              "examples": [
                "markdown"
              ],
              "type": "string"
            },
            "image": {
              "description": "Enable fetching image URLs; true/false, default false. Not a screenshot: use /screenshot for captures, or formats=images to extract page image links. No additional credits; selected rendering/proxy/AI options determine the request cost.",
              "type": "boolean"
            },
            "js_rendering": {
              "description": "Alias for dynamic with identical defaults and pricing. Boolean; cannot disagree with dynamic. Ignored for Reddit feeds. Base cost: 1 credit without rendering, 5 with rendering, or 25 with rendering plus premium/country; AI adds 10.",
              "type": "boolean"
            },
            "premium": {
              "description": "Use residential proxies; true/false, default false. Cannot combine true with challenge_mode. Ignored for Reddit feeds. Base cost with premium=true or any country: 10 credits, 25 with dynamic; AI adds 10.",
              "type": "boolean"
            },
            "session_number": {
              "description": "Reusable proxy session identifier, e.g. 12345. Repeat it to request the same proxy IP; expires after 60 seconds of inactivity. Omit to rotate normally. Ignored for Reddit feeds; not a FastAF login session. No additional credits; selected rendering/proxy/AI options determine the request cost.",
              "maxLength": 8192,
              "type": "string"
            },
            "type": {
              "description": "Non-HTML target format: image, pdf or pbf (Protocolbuffer Binary Format). Omit for normal page scraping. This selects a binary resource, not a screenshot or an output format conversion. No additional credits; selected rendering/proxy/AI options determine the request cost.",
              "enum": [
                "image",
                "pdf",
                "pbf"
              ],
              "type": "string"
            },
            "url": {
              "description": "Required public HTTP(S) page URL. Zillow/eBay URLs are rejected without charge: use their dedicated endpoints. Booking defaults to rendering; Reddit uses a best-effort public feed (1 credit), ignoring rendering/proxy/wait/session/header options. Normal base cost: 1 credit; rendered Booking defaults cost 5. Other selected modes/AI can increase cost.",
              "examples": [
                "https://example.com/"
              ],
              "format": "uri",
              "pattern": "^https?://",
              "type": "string"
            },
            "wait": {
              "description": "Extra browser loading delay in milliseconds, integer 0-35000, for dynamic rendering. Omitted: no explicit extra delay, except rendered booking.com defaults to 8000. Does not enable rendering; ignored for Reddit feeds. No additional credits; selected rendering/proxy/AI options determine the request cost.",
              "maximum": 35000,
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "url"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "openApiUrl": {
      "format": "uri",
      "type": "string"
    },
    "output": {
      "properties": {
        "example": {
          "description": "Markdown response text for formats=markdown, not a JSON wrapper. HTML is the default; links/images formats return JSON and binary targets return bytes.",
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    },
    "website": {
      "format": "uri",
      "type": "string"
    }
  },
  "required": [
    "input"
  ],
  "title": "Scrape a public webpage",
  "type": "object",
  "x-tool-slug": "scrape-public-webpage"
}