Buyer-controlled x402 recipe

Extract clean webpage content with metadata

Convert one public URL into clean Markdown and collect canonical, social, hreflang, feed, heading, and JSON-LD metadata for RAG ingestion, research, or content indexing. The two results come from separate bounded fetches and each call requires its own buyer authorization.

2separately authorized steps
$0.012maximum listed total · USDC
eip155:8453Base network
1
$0.01 USDC · separate authorization

Web content extraction

Convert the public page into clean Markdown with bounded links, page signals, and fetch-specific provenance.

POSThttps://apiacre.com/v1/web/extract

Input template

{
  "url": "$publicUrl",
  "output": "markdown"
}
Use this result

Store result.data.content with its requested and resolved URLs, response evidence, and content hashes as one bounded non-JavaScript fetch.

2
$0.002 USDC · separate authorization

Metadata extraction

Collect structured publisher metadata for the same public URL.

POSThttps://apiacre.com/v1/web/metadata

Input template

{
  "url": "$publicUrl"
}
Use this result

Join canonical, social, heading, feed, and JSON-LD signals to the content only after comparing the independently fetched resolved URLs and response hashes. Publisher assertions do not verify identity or ownership.

You stay in control. Each step is an independent API call. Inspect its HTTP 402 challenge, authorize no more than the displayed price, verify the result, and continue only when the output is suitable. The listed total is not a bundle charge.