Skip to main content

Overview

These endpoints use the x402 payment protocol, enabling pay-per-use access with stablecoin payments. Each request requires a payment header for authentication and payment.
Pay-Per-Use EndpointsAll endpoints listed below accept stablecoin payments via the x402 protocol. No subscription required - pay only for what you use.

Authentication

Include the payment header with your requests:
The payment is automatically processed and verified before your request is fulfilled.

Scrapegraphai API

Payment-Enabled Endpoints

POST /v1/markdownify

Convert any webpage into clean, readable Markdown format. View Documentation Price: $0.01 per request Network: Base (USDC)

POST /v1/scrape

Extract raw HTML content from web pages with JavaScript rendering support View Documentation Price: $0.01 per request Network: Base (USDC)

POST /v1/crawl

Start a new web crawl request with AI extraction or markdown conversion View Documentation Price: $0.04 per request Network: Base (USDC)

POST /v1/smartscraper

Extract content from a webpage using AI by providing a natural language prompt and a URL. View Documentation Price: $0.04 per request Network: Base (USDC)

POST /v1/sitemap

Extract all URLs from a website sitemap automatically. View Documentation Price: $0.01 per request Network: Base (USDC)

POST /v1/searchscraper

Start a new AI-powered web search request View Documentation Price: $0.12 per request Network: Base (USDC)

Standard Endpoints

These endpoints do not require payment:
  • GET /v1/searchscraper/{request_id} - Get the status and results of a previous search request (docs)
  • GET /v1/markdownify/{request_id} - Check the status and retrieve results of a Markdownify request. (docs)
  • GET /v1/sitemap/{request_id} - Check the status and retrieve results of a Sitemap request. (docs)
  • GET /v1/crawl/{task_id} - Get the status and results of a previous smartcrawl request (docs)
  • GET /v1/smartscraper/{request_id} - Check the status and retrieve results of a SmartScraper request. (docs)

How x402 Works

The payment flow is handled automatically by the x402 SDK:
  1. Make Request - Send a request to the endpoint
  2. Payment Required - Server responds with payment requirements (402 status)
  3. Auto-Payment - SDK automatically creates and submits payment
  4. Get Response - Receive your API response

Getting Started

Install the x402 SDK for your language:

Example Usage

Learn More


Powered by Orthogonal