{"openapi":"3.1.0","info":{"title":"Ordstirr Live Check: is it live / safe to pay?","version":"0.1.1","description":"Fresh, at-call-time check of a URL or x402 endpoint: DNS, HTTP status, latency, redirects, TLS trust, certificate expiry (CT logs), domain age (RDAP), and the live x402 402 challenge (network, asset, amount, payTo) with sanity flags and a live / degraded / down and safe_to_pay verdict. $0.01 per check, $0.04 per batch of up to 5. Signed Ed25519 receipts. One unpaid check from one Cloudflare location at the time shown. Informational only: not a security audit, not a guarantee of future availability, and not a statement about the seller's honesty.","x-guidance":"Before paying an x402 endpoint, POST {\"url\": \"<endpoint>\", \"method\": \"POST\", \"x402\": true, \"expect\": {\"pay_to\": \"...\", \"max_price_usd\": \"0.05\"}} to /v1/check. Read verdict.safe_to_pay (yes / caution / no) and verdict.reasons. Unpaid calls get HTTP 402. Free sample: GET /v1/sample.","termsOfService":"https://ordstirr.com/agents/terms","contact":{"url":"https://ordstirr.com","email":"li8ertyapps@gmail.com"}},"servers":[{"url":"https://live.ordstirr.com"}],"paths":{"/v1/check":{"post":{"operationId":"checkLiveSafeToPay","summary":"Is this URL live, and is its x402 endpoint safe to pay right now?","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL to check (ports 80/443 only; private, internal and IP-literal hosts are refused)."},"method":{"type":"string","enum":["GET","HEAD","POST"],"default":"GET","description":"POST is only allowed with x402:true and sends an empty {} body (the usual way to ask an x402 route for its price)."},"x402":{"type":"boolean","default":false,"description":"Treat url as an x402 endpoint: expect an HTTP 402 challenge and judge safe_to_pay."},"x402_url":{"type":"string","format":"uri","description":"Optional separate x402 endpoint to read payment terms from (same safety rules)."},"x402_method":{"type":"string","enum":["GET","POST"],"default":"GET"},"expect":{"type":"object","additionalProperties":false,"description":"Optional. What you expect to pay; mismatches make safe_to_pay 'no'.","properties":{"pay_to":{"type":"string","description":"Expected payTo address"},"network":{"type":"string","description":"Expected CAIP-2 network, e.g. eip155:8453"},"max_price_usd":{"type":"string","description":"Highest acceptable price in USD, e.g. \"0.05\""},"asset":{"type":"string","description":"Expected asset contract address, or \"USDC\""}}}}},"example":{"url":"https://api.example-seller.com/v1/price","method":"POST","x402":true,"expect":{"pay_to":"0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6","network":"eip155:8453","max_price_usd":"0.05"}}}}},"responses":{"200":{"description":"Check result with signed receipt. A target that is down is still a correct, paid answer.","content":{"application/json":{"example":{"target":{"url":"…","final_url":"…","redirects":0,"method":"POST"},"checked_at":"2026-11-23T18:00:00.000Z","vantage":{"provider":"cloudflare","colo":"DFW"},"verdict":{"status":"live","safe_to_pay":"yes","reasons":[]},"dns":{"resolved":true,"rcode":"NOERROR","a":["…"],"aaaa":[],"cname":null,"dnssec_validated":false,"blocked":false},"http":{"up":true,"status":402,"latency_ms":120,"total_ms":121,"redirects":0,"chain":[{"url":"…","status":402,"latency_ms":120}],"content_type":"application/json","body_bytes_read":312,"body_sha256_first_64kb":"…"},"tls":{"used":true,"trusted":true,"cert_not_after":"2027-01-30T23:59:59.000Z","days_left":68,"cert_source":"ct_log_newest_issued"},"domain":{"domain":"example-seller.com","registered":"2019-04-01T00:00:00.000Z","age_days":2793,"source":"rdap"},"x402":{"challenge_valid":true,"version":2,"source":"PAYMENT-REQUIRED header","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"USDC","price_usd":"0.02","pay_to":"0x…","pay_to_format_ok":true,"flags":[]}],"listing":{"found":true,"pay_to_matches":true},"expect":{"pay_to_matches":true,"network_matches":true,"price_within_max":true}},"checked":["dns","http","redirects","tls_trust","cert_expiry_ct","domain_age_rdap","x402_challenge","listing_match","buyer_expectation"],"not_checked":["paid delivery (we never pay the target)","uptime history","seller identity or honesty","served certificate (CT logs used)","content correctness"],"disclaimer":"One unpaid check from one Cloudflare location at the time shown. Informational only: not a security audit, not a guarantee of future availability, and not a statement about the seller's honesty."}}}},"400":{"description":"Invalid input or refused target (never charged)"},"402":{"description":"Payment required (x402). See the PAYMENT-REQUIRED header."},"413":{"description":"Body too large (never charged)"},"429":{"description":"Rate limited (never charged)"},"503":{"description":"Our own check failed (never charged)"}}}},"/v1/check-batch":{"post":{"operationId":"checkLiveSafeToPayBatch","summary":"Up to 5 checks in one call","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["items"],"properties":{"items":{"type":"array","minItems":1,"maxItems":5,"items":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL to check (ports 80/443 only; private, internal and IP-literal hosts are refused)."},"method":{"type":"string","enum":["GET","HEAD","POST"],"default":"GET","description":"POST is only allowed with x402:true and sends an empty {} body (the usual way to ask an x402 route for its price)."},"x402":{"type":"boolean","default":false,"description":"Treat url as an x402 endpoint: expect an HTTP 402 challenge and judge safe_to_pay."},"x402_url":{"type":"string","format":"uri","description":"Optional separate x402 endpoint to read payment terms from (same safety rules)."},"x402_method":{"type":"string","enum":["GET","POST"],"default":"GET"},"expect":{"type":"object","additionalProperties":false,"description":"Optional. What you expect to pay; mismatches make safe_to_pay 'no'.","properties":{"pay_to":{"type":"string","description":"Expected payTo address"},"network":{"type":"string","description":"Expected CAIP-2 network, e.g. eip155:8453"},"max_price_usd":{"type":"string","description":"Highest acceptable price in USD, e.g. \"0.05\""},"asset":{"type":"string","description":"Expected asset contract address, or \"USDC\""}}}}}}}},"example":{"items":[{"url":"https://example.com/"},{"url":"https://api.example-seller.com/v1/price","method":"POST","x402":true}]}}}},"responses":{"200":{"description":"One result per item, in order, one signed receipt"},"400":{"description":"Invalid input or refused target (never charged)"},"402":{"description":"Payment required (x402). See the PAYMENT-REQUIRED header."},"413":{"description":"Body too large (never charged)"},"429":{"description":"Rate limited (never charged)"},"503":{"description":"Our own check failed (never charged)"}}}},"/v1/sample":{"get":{"operationId":"sample","summary":"Free: a real, cached (5 min) check of our own pd-checker x402 endpoint, same fields plus a signed receipt (sample:true)","security":[]}},"/v1/receipts/{request_id}":{"get":{"operationId":"settlementReceipt","summary":"Free signed settlement receipt with the payment tx hash","security":[],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}]}},"/.well-known/ordstirr-receipt-keys.json":{"get":{"operationId":"receiptKeys","summary":"Public Ed25519 receipt keys","security":[]}},"/health":{"get":{"operationId":"health","summary":"Free health check","security":[]}}}}