{"openapi":"3.1.0","info":{"title":"Evidence API","version":"1.0.0","description":"Verify one technical, product or API claim against supported official sources. Japanese and English. Unsupported or multiple claims and preflight failures are not charged. Insufficient evidence and contradictory evidence are paid normal results. Up to three processing attempts per settled payment, without another payment. Unrecoverable processing failures are recorded for manual refunds to the original payer. No automatic refund promise. Keep the original signed payment and request body to retrieve results; changing the input requires a new purchase."},"servers":[{"url":"https://x402api.sun-t-sarah.work"}],"paths":{"/v1/verify-claim":{"post":{"operationId":"verifyClaim","summary":"Verify one technical claim","description":"Submit without payment for free eligibility checking and an x402 v2 quote. Repeat the same body with PAYMENT-SIGNATURE. X-Payment-Order is optional. Preserve the signature for retries and retrieval.","parameters":[{"in":"header","name":"PAYMENT-SIGNATURE","required":false,"schema":{"type":"string"},"description":"Base64 x402 v2 payment payload"},{"in":"header","name":"X-Payment-Order","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["claim"],"properties":{"claim":{"type":"string","minLength":1,"maxLength":2000},"options":{"type":"object","properties":{"mode":{"const":"standard","default":"standard"},"language":{"enum":["ja","en"],"default":"ja"}}}},"example":{"claim":"Python lists are mutable sequences.","options":{"language":"en","mode":"standard"}}}}}},"responses":{"200":{"description":"Paid normal result, including insufficient or contradicting evidence","headers":{"PAYMENT-RESPONSE":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["request_id","verdict","reason","evidence"],"properties":{"request_id":{"type":"string"},"claim":{"type":"string"},"verdict":{"enum":["SUPPORTED","CONTRADICTED","MIXED","INSUFFICIENT_EVIDENCE","NOT_VERIFIABLE","OUTDATED"]},"reason":{"type":"string"},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/Evidence"}},"contradicting_evidence":{"type":"array","items":{"$ref":"#/components/schemas/Evidence"}},"limitations":{"type":"array","items":{"type":"string"}}}}}}},"202":{"description":"Settlement pending; retry the original signature and body"},"400":{"description":"Invalid request or payment"},"401":{"description":"Payment proof required"},"402":{"description":"Eligible; payment required. Settlement rejection can also return 402: do not automatically sign a replacement.","headers":{"PAYMENT-REQUIRED":{"schema":{"type":"string"}}},"content":{"application/json":{"example":{"x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:80002","amount":"100000","asset":"0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582","payTo":"0xbe5447F8362C37522C7E38c3AC667ad2eC838F57","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"2","assetTransferMethod":"eip3009"}}]}}}},"409":{"description":"Input/payment conflict, expired quote or refunded order"},"422":{"description":"Outside supported scope or multiple claims; no settlement"},"429":{"description":"Concurrency, free preflight rate or budget limit; no new settlement"},"503":{"description":"Provider failure or paid processing failure; inspect payment_settled and retryable. Never pay again to retry a settled order."}}}},"/service.json":{"get":{"operationId":"serviceInfo","responses":{"200":{"description":"Scope, official sources, current price and refund policy"}}}}},"components":{"schemas":{"Evidence":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"publisher":{"type":"string"},"excerpt":{"type":"string"},"reason":{"type":"string"},"relationship":{"enum":["SUPPORT","CONTRADICT","CONTEXT"]}}}}}}