Buyer-controlled x402 recipe

Turn website metadata into a reusable schema

Extract a public page's metadata, then infer a JSON Schema for the normalized result so downstream agents can validate future records.

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

Metadata extraction

Extract normalized title, description, canonical, and social metadata.

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

Input template

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

Pass result.data to the next step as JSON text.

2
$0.025 USDC · separate authorization

Schema inference

Infer a JSON Schema from the normalized metadata object.

POSThttps://apiacre.com/v1/data/schema

Input template

{
  "content": "$json(step1.result.data)",
  "format": "json"
}
Use this result

Persist result.data.schema as the validation contract.

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.