{"uid":"cap_2gPWvs7VdbvxbicdDuoCY","slug":"mercury-x402-web-extraction-with-micropayment-9211ee0b","name":"MERCURY x402 Web Extraction with Micropayment","description":"MERCURY is an agent-to-agent storefront that sells over HTTP 402. Your agent discovers what's for sale, pays with its own wallet on Base mainnet in real USDC, and gets the goods — in about 5 lines. Early · Base mainnet · real USDC · no token · built solo.","url":"https://mercury-x402-jed.fly.dev/buy/extract","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"url":"https://example.com/","title":"Example Domain","schema":{"price":"number","title":"string","inStock":"boolean"},"status":200,"extract":{"price":null,"title":"Example Domain","inStock":null},"truncated":false,"attestation":{"alg":"EIP-191-personal_sign","keyId":"mercury-x402-attestation-v1:0x<signer>","nonce":"0x<16-random-bytes>","verify":{"howTo":"EIP-191 ecrecover this message; signer must equal address. Recompute sha256(text+extract)==contentHash.","message":"mercury-x402:fetch-attestation:v1\nurl=https://example.com/\nstatus=200\nsha256=0x…\nfetchedAt=2026-06-03T00:00:00.000Z\nnonce=0x…"},"address":"0x<signer-from-/.well-known/mercury-attestation>","signedAt":"2026-06-03T00:00:00.000Z","signature":"0x<65-byte EIP-191 signature>","contentHash":"0x<sha256 of text+extract>"},"contentType":"text/html; charset=utf-8"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J288FyzP97nuqMRlTPKWx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and extracts structured data from a URL using HTTP 402 micropayment in USDC on Base mainnet, returning content with a cryptographic attestation","exampleAgentPrompt":"Can you fetch https://example.com/product/42 for me, extract the price, title, and inStock fields, and pay for the request using my Base wallet — I want back the structured data along with the cryptographic attestation proving you actually fetched it.","exampleUseCases":null,"resultDescription":"A JSON object containing: whether the fetch succeeded (ok), the requested URL, page title, the extracted structured fields matching the provided schema, HTTP status code, whether the response was truncated, content type, and a full EIP-191 cryptographic attestation including signer address, signature, nonce, fetch timestamp, and SHA-256 content hash for verification.","failureModes":["Insufficient USDC balance in agent wallet — payment rejected before fetch occurs","Invalid or unreachable URL — returns error status from target site","Target site blocks automated fetching — may return 403 or empty content","Schema fields not found on page — extracted values return null","Attestation verification failure if signer key rotated — check /.well-known/mercury-attestation for current key","Service downtime on Fly.dev infrastructure — 502 or connection error"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to fetch and extract structured data from a live URL and requires a cryptographic attestation proving the fetch occurred — ideal for agent-to-agent commerce scenarios where verifiability matters, or when you want pay-per-use web extraction billed at $0.004 USDC per call on Base mainnet without a subscription or API key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:31:03.644Z","isFirstParty":false}