{"uid":"cap_bmZPzdXdXH0eBvS8pR9aa","slug":"api-anchor-x402-com-6b54f158","name":"Anchor X402 Yes/No Oracle","description":"Yes/no oracle with dual-chain anchored verdict (Base + Solana). $0.05 USDC.","url":"https://api.anchor-x402.com/v1/oracle","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["question"],"properties":{"question":{"type":"string","maxLength":1000,"description":"A yes/no question for the oracle."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"answer":"MAYBE","base_tx":"0x7fb4d107d8c1b65b33851434c6fd178b682a143904a2bfa89ff2c1fa70974e96","asked_at":1746820000,"solana_tx":"u8rqU4oSQkkHQw93nCCtQym5crh4UjuoNvYhspLcUTEny59asrNNffpmxpgzRuZ4MXQnN5UEoCKQuDS16ZMPKW2","explanation":"Possible if you cut the bottom three items and stop opening Twitter.","merkle_root":"ab0898397c86fbf97c99c6f8b29e55ab697315705777ee1d106e2dcb9bd686b3"}},"example":{"request":{"question":"Is artificial intelligence beneficial to society?"},"response":{"answer":"MAYBE","base_tx":"0x9dbd731a03e8f412540389dd4d5397215642d9450de86a57c2bdbb3767fb452d","asked_at":1780100769,"solana_tx":"54zTa3Sujbj19BZBtk3cfQd5hrY6hZN1VL8si5jqD4uraSrZcYuTgfuftbyvgEkMdcdKqbg1ubKKKfguJSrFNdBe","explanation":"AI offers significant potential benefits like medical breakthroughs and efficiency gains, but also poses risks including job displacement, bias, and misuse, making the overall impact dependent on how it is developed and governed.","merkle_root":"6fc5995f9542cbf8191378924043babd1f4042335895dd14a72756cbe552a8cc"}},"exampleRequest":{"question":"Is artificial intelligence beneficial to society?"},"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0ZZ2PngFPgJm2L1II1jJ1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Answers a yes/no question with a cryptographically-signed verdict anchored to both Base and Solana mainnet blockchains","exampleAgentPrompt":"Can you get a yes/no oracle verdict on whether this wallet address has been active in the last 30 days, and anchor the signed decision to both Base and Solana so I have an immutable on-chain proof?","exampleUseCases":null,"resultDescription":"A signed yes/no verdict with the decision anchored on both Base and Solana mainnet, returning the boolean answer, transaction hashes for both chains, a cryptographic signature over the (input_hash, output_hash, decision) tuple, and a timestamp.","failureModes":["Ambiguous question that cannot be resolved to a boolean — returns 4xx with an error message","Payment failure or insufficient USDC balance — returns 402 Payment Required","Network or RPC failure on Base or Solana during anchoring — partial anchor with error details","Rate limiting or quota exceeded — returns 429","Malformed request body — returns 400 with validation details"],"whenToPreferThis":"Use this endpoint when you need a tamper-proof, auditable yes/no answer that must be independently verifiable on-chain. Ideal for smart contract triggers, compliance checks, dispute resolution, or any workflow requiring a cryptographic proof of a boolean decision backed by dual-chain anchoring on both Base and Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:45:19.146Z","isFirstParty":false}