{"openapi":"3.1.0","info":{"title":"Fetch Sentry","version":"1.0.0","summary":"Paid fetch, extraction, and prompt-injection scanning over x402.","description":"Fetch Sentry is a paid API for agents. Protected routes return HTTP 402 with x402 payment requirements on Base."},"servers":[{"url":"https://api.fetch-sentry.online"}],"paths":{"/health":{"get":{"summary":"Health check","responses":{"200":{"description":"Service health"}}}},"/catalog":{"get":{"summary":"Machine-readable route catalog","responses":{"200":{"description":"Catalog of paid routes"}}}},"/pricing.json":{"get":{"summary":"Pricing and payment metadata","responses":{"200":{"description":"Pricing metadata for x402 clients"}}}},"/buyer-quickstart.txt":{"get":{"summary":"Buyer quickstart","responses":{"200":{"description":"Minimal x402 buyer quickstart for paid Fetch Sentry routes"}}}},"/buyer-example.ts":{"get":{"summary":"Buyer example","responses":{"200":{"description":"Ready-to-run TypeScript example for paying Fetch Sentry routes"}}}},"/preview":{"get":{"summary":"Free short preview","description":"Returns a short preview and upgrade links to paid routes.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Preview response"}}}},"/fetch":{"get":{"summary":"Paid page fetch","description":"Returns clean page text and metadata.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Fetched page snapshot"},"402":{"description":"Payment required. Inspect the payment-required header."}}}},"/extract":{"get":{"summary":"Paid metadata extraction","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Extracted metadata"},"402":{"description":"Payment required. Inspect the payment-required header."}}}},"/scan":{"post":{"summary":"Paid prompt-injection scan","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"text":{"type":"string"}}}}}},"responses":{"200":{"description":"Scan result"},"402":{"description":"Payment required. Inspect the payment-required header."}}}}}}