{"spec":"agent402-service-manifest/1","version":1,"x402Version":2,"kind":"resource-server","name":"Agent Reader","summary":"Pay-per-use webpage extraction and invoice batch checks for agents.","description":"Agent Reader extracts public HTML pages to Markdown. Invoice Batch Guard checks extracted invoice batches for arithmetic inconsistencies and duplicates.","homepage":"https://agent-reader-prototype.kcdesplanches.workers.dev","docs":"https://agent-reader-prototype.kcdesplanches.workers.dev/openapi.json","updated":"2026-11-04T18:33:51.123Z","payment":{"x402":{"version":2,"currency":"USDC","networks":["eip155:8453"],"primaryNetwork":"eip155:8453","payTo":"0xcBb8ed48BceFE2c0399417EE727fb4c738C2AB25","payToName":"Agent Reader","nonCustodial":"Payments settle directly to the configured wallet through the x402 facilitator."}},"capabilities":{"tools":2,"categories":[{"key":"web","label":"Web content","tools":1,"priceRange":"$0.003"},{"key":"finance","label":"Finance","tools":1,"priceRange":"$0.02"}]},"discovery":{"spec":"x402-discovery/1"},"resources":[{"url":"https://agent-reader-prototype.kcdesplanches.workers.dev/v1/extract","resource":"https://agent-reader-prototype.kcdesplanches.workers.dev/v1/extract","method":"POST","description":"Extract readable text from a public HTML URL as Markdown and return page title and canonical source metadata.","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000","payTo":"0xcBb8ed48BceFE2c0399417EE727fb4c738C2AB25","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"inputSchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public HTTP or HTTPS URL of the HTML page to extract."}},"required":["url"]}},{"url":"https://agent-reader-prototype.kcdesplanches.workers.dev/v1/invoices/preflight","resource":"https://agent-reader-prototype.kcdesplanches.workers.dev/v1/invoices/preflight","method":"POST","description":"Check up to 100 already-extracted invoices for arithmetic inconsistencies and duplicate supplier/invoice-number pairs. No OCR or data retention; not tax, legal, or invoice-compliance advice.","accepts":[{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"20000","payTo":"0xcBb8ed48BceFE2c0399417EE727fb4c738C2AB25","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"inputSchema":{"type":"object","required":["invoices"],"properties":{"invoices":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","required":["supplier","invoiceNumber","currency","subtotal","tax","total"],"properties":{"supplier":{"type":"string","minLength":1,"maxLength":200},"invoiceNumber":{"type":"string","minLength":1,"maxLength":100},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$"},"subtotal":{"oneOf":[{"type":"string","pattern":"^-?\\d{1,12}(?:\\.\\d{1,2})?$","description":"Exact decimal amount with at most two decimal places; strings are recommended."},{"type":"number","description":"Finite amount with at most two decimal places."}]},"tax":{"oneOf":[{"type":"string","pattern":"^-?\\d{1,12}(?:\\.\\d{1,2})?$","description":"Exact decimal amount with at most two decimal places; strings are recommended."},{"type":"number","description":"Finite amount with at most two decimal places."}]},"total":{"oneOf":[{"type":"string","pattern":"^-?\\d{1,12}(?:\\.\\d{1,2})?$","description":"Exact decimal amount with at most two decimal places; strings are recommended."},{"type":"number","description":"Finite amount with at most two decimal places."}]},"lineItems":{"type":"array","maxItems":200,"description":"Optional net line amounts before tax; their sum is compared with subtotal.","items":{"type":"object","required":["amount"],"properties":{"amount":{"oneOf":[{"type":"string","pattern":"^-?\\d{1,12}(?:\\.\\d{1,2})?$","description":"Exact decimal amount with at most two decimal places; strings are recommended."},{"type":"number","description":"Finite amount with at most two decimal places."}],"description":"Net line amount before tax."}},"additionalProperties":true}}},"additionalProperties":true}}},"additionalProperties":false}}],"free_endpoints":["/","/healthz","/llms.txt","/openapi.json","/.well-known/x402"]}