serpยทbase API Documentation

๐ŸŽฏ Data by Schema

Give a URL and the fields you want โ€” get validated JSON, not raw HTML.

from $6.00 / 1,000 POST /v1/query USDC on Base ยท x402

What you get

Tools in this group

ToolWhat it doesDocs
extract_schemaURL + schema โ†’ JSONFull docs โ†’

Request

curl -X POST https://api.serp-base.com/v1/query \
  -H "Content-Type: application/json" \
  -d '{"tool": "extract_schema", "url": "https://example.com", "schema": {"title": "string", "price": "number"}}'

Key parameters

FieldDescription
urlPage to extract from
schemaField names and their types

Response

{
  "data": {
    "title": "Example Product",
    "price": 99.99
  }
}
Payment: pay per request with USDC on Base via the x402 protocol. Gas is covered by the facilitator. Charged only when data is returned. Test the whole flow free on Base Sepolia.
Read full API docs โ†’ Get API key

Pay-per-request data APIs. Built for agents and developers.