{"openapi":"3.1.0","info":{"title":"Vend API Merchant","version":"0.1.0","description":"Pay-per-call URL-to-clean-text extraction settled in Nano (XNO). No signup, no API keys. Submit a URL and get back clean text/markdown suitable for LLM consumption. Pay 0.0001 XNO per call via x402.","contact":{"email":"vend@paypercall.dev"},"x-guidance":"Use GET /api/v1/extract with a ?url= parameter to fetch and clean a web page. The endpoint returns 402 Payment Required with an x402 v2 challenge; pay the quoted Nano amount and retry with X-PAYMENT header containing the block hash."},"servers":[{"url":"https://extract.paypercall.dev","description":"URL Extraction API"},{"url":"https://check.paypercall.dev","description":"Link Checker API"},{"url":"https://domain.paypercall.dev","description":"Domain Intelligence API"},{"url":"https://search.paypercall.dev","description":"Web Search API"}],"paths":{"/api/v1/extract":{"get":{"operationId":"extractUrl","summary":"Extract clean text from a URL","tags":["Extraction"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.000100"},"protocols":[{"x402":{}}]},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri","minLength":1,"description":"URL to extract clean text from"}}],"responses":{"200":{"description":"Successful extraction","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"text":{"type":"string"},"markdown":{"type":"string"},"error":{"type":["string","null"]},"payment":{"type":"object","properties":{"amount_xno":{"type":"string"},"block_hash":{"type":"string"},"source":{"type":"string"}}},"receipt":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/check-link":{"get":{"operationId":"checkLink","summary":"Check HTTP status of a URL","tags":["Utility"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.000100"},"protocols":[{"x402":{}}]},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri","minLength":1,"description":"URL to check"}}],"responses":{"200":{"description":"Successful link check","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"status_code":{"type":"integer"},"response_time_ms":{"type":"integer"},"final_url":{"type":"string"},"redirect_chain":{"type":"array"},"content_type":{"type":"string"},"content_length":{"type":"string"},"error":{"type":["string","null"]},"payment":{"type":"object","properties":{"amount_xno":{"type":"string"},"block_hash":{"type":"string"},"source":{"type":"string"}}},"receipt":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/domain-info":{"get":{"operationId":"domainInfo","summary":"Full domain intelligence: DNS, WHOIS, SSL","tags":["Data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.000500"},"protocols":[{"x402":{}}]},"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Domain name to look up (e.g. example.com)"}}],"responses":{"200":{"description":"Successful domain info response","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"resolved_ip":{"type":"string"},"dns":{"type":"object"},"whois":{"type":"object"},"ssl":{"type":"object"},"http_headers":{"type":"object"},"lookup_time_ms":{"type":"integer"},"error":{"type":["string","null"]},"payment":{"type":"object","properties":{"amount_xno":{"type":"string"},"block_hash":{"type":"string"},"source":{"type":"string"}}},"receipt":{"type":"string"}}}}}},"402":{"description":"Payment Required"}}}},"/api/v1/web-search":{"get":{"operationId":"webSearch","summary":"Web search via DuckDuckGo","x-payment-info":{"price":"0.0001 XNO","network":"nano:mainnet","scheme":"exact"},"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"Search query"}],"responses":{"200":{"description":"Search results"},"402":{"description":"Payment Required"}}}},"/.well-known/x402":{"get":{"operationId":"x402Manifest","summary":"x402 capability manifest","tags":["Discovery"],"responses":{"200":{"description":"x402 v2 capability manifest","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/.well-known/agent-tools.json":{"get":{"operationId":"agentToolsManifest","summary":"Agent-tools.cloud discovery manifest","tags":["Discovery"],"responses":{"200":{"description":"Agent-tools discovery manifest","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/health":{"get":{"operationId":"health","summary":"Health check","tags":["System"],"responses":{"200":{"description":"Server is healthy","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"service":{"type":"string"},"version":{"type":"string"}}}}}}}}}},"x-discovery":{"ownershipProofs":[]}}