{"uid":"cap_3SobS5slwHY2lu6YYqnxY","slug":"lion-x402-scrape-json-3ba626b6","name":"LION x402 Scrape JSON","description":"Keyless attested data for autonomous agents. USDC on Base via x402. Official @x402/* middleware.","url":"https://lion-x402-bible.lionmaster-operations.workers.dev/api/x402/scrape-json","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute http(s) URL"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"asset_id":"LION","resolved":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9JZK6kYsznSKfrqu8e608","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns keyless attested JSON data for a given asset identifier, paid per-call via USDC on Base using the x402 protocol.","exampleAgentPrompt":"Fetch the attested JSON data for the LION asset — I'll pay the per-call fee in USDC on Base via x402, no API key needed.","exampleUseCases":[{"title":"Resolve on-chain asset attestation","prompt":"Look up the current attested resolution status for the LION asset and return the JSON payload — charge my USDC balance on Base for the call."},{"title":"Agent pipeline data ingestion","prompt":"Pull the latest keyless attested JSON for asset ID LION so my autonomous agent can process it downstream — use x402 micropayment to authorize."},{"title":"Verify asset resolved status","prompt":"Check whether the LION asset is marked as resolved in the attested data feed and give me the full JSON response — pay the $0.004 USDC fee on Base."}],"resultDescription":"Returns a JSON object containing at minimum the asset_id (e.g. 'LION') and a boolean resolved field indicating whether the asset has been resolved, along with any additional attested data fields for that asset.","failureModes":["Payment failure: insufficient USDC balance on Base causes 402 rejection before data is returned","Invalid asset_id: unknown or unsupported asset identifier returns empty or error response","Worker unavailability: Cloudflare Worker cold start or downtime returns 5xx","Attestation unavailable: underlying data source is stale or unreachable, resolved may return false"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs keyless, pay-per-call attested JSON data for a LION asset without requiring API key provisioning. Ideal for agent pipelines that support x402 micropayment protocol and need structured, verifiable asset resolution data on Base network. Prefer over traditional REST APIs when the calling agent has a USDC wallet and wants to avoid OAuth or API key management overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:34:46.601Z","isFirstParty":false}