{"name":"x402-tools","description":"Pay-per-call utility APIs for AI agents (PDF, Markdown, Regex, Cron, Timezone, Holiday)","version":"1.1.0","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"USDC","payee":"HJfYcc2XtmrLgr4kze6kdp1JNHsqrdfJiHucpKNQaoJe","endpoints":{"render":{"method":"POST","path":"/render","paid":true,"price":"$0.005","inputSchema":{"type":"object","required":["html"],"properties":{"html":{"type":"string","description":"HTML document to render","maxLength":2000000},"options":{"type":"object","properties":{"format":{"type":"string","enum":["A4","Letter"],"default":"A4"},"landscape":{"type":"boolean","default":false},"margin":{"description":"CSS-length string or { top, bottom, left, right }"}}}}},"outputSchema":{"type":"string","contentMediaType":"application/pdf","description":"Binary PDF document"},"example":{"request":{"html":"<h1>Hello</h1>","options":{"format":"A4"}}}},"renderUrl":{"method":"POST","path":"/render-url","paid":true,"price":"$0.005","inputSchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL. Private/loopback IPs rejected."},"options":{"type":"object","properties":{"format":{"type":"string","enum":["A4","Letter"],"default":"A4"},"landscape":{"type":"boolean","default":false},"margin":{"description":"CSS-length string or { top, bottom, left, right }"},"waitUntil":{"type":"string","enum":["load","domcontentloaded","networkidle0","networkidle2"],"default":"networkidle0"},"viewport":{"type":"object","properties":{"width":{"type":"integer","minimum":320,"maximum":3840,"default":1280},"height":{"type":"integer","minimum":240,"maximum":2160,"default":800}}}}}}},"outputSchema":{"type":"string","contentMediaType":"application/pdf","description":"Binary PDF document"},"example":{"request":{"url":"https://example.com"}}},"urlToMarkdown":{"method":"POST","path":"/url-to-markdown","paid":true,"price":"$0.002","inputSchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL"},"options":{"type":"object","properties":{"waitUntil":{"type":"string","enum":["load","domcontentloaded","networkidle0","networkidle2"],"default":"networkidle0"},"includeImages":{"type":"boolean","default":true},"readability":{"type":"boolean","default":true,"description":"Run Readability to extract main content first"}}}}},"outputSchema":{"type":"object","properties":{"markdown":{"type":"string"},"title":{"type":"string"},"excerpt":{"type":"string"},"byline":{"type":"string"},"siteName":{"type":"string"},"length":{"type":"integer"},"url":{"type":"string"}}},"example":{"request":{"url":"https://example.com"}}},"regexFromExamples":{"method":"POST","path":"/regex-from-examples","paid":true,"price":"$0.005","inputSchema":{"type":"object","required":["examples"],"properties":{"examples":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":50,"description":"Strings the regex MUST match"},"should_not_match":{"type":"array","items":{"type":"string"},"maxItems":50,"description":"Strings the regex MUST NOT match (optional)"},"flavor":{"type":"string","enum":["js","pcre","python"],"default":"js"}}},"outputSchema":{"type":"object","properties":{"pattern":{"type":"string"},"flags":{"type":"string"},"explanation":{"type":"string"},"validation":{"type":"object","properties":{"matchesAll":{"type":"boolean"},"rejectsAll":{"type":"boolean"},"failures":{"type":"array","items":{"type":"string"}}}}}},"example":{"request":{"examples":["user@example.com","foo.bar@baz.io"],"should_not_match":["not an email"]}}},"textToCron":{"method":"POST","path":"/text-to-cron","paid":true,"price":"$0.001","inputSchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Natural language schedule (e.g. 'every Tuesday at 3pm')","maxLength":500},"timezone":{"type":"string","description":"IANA timezone for the schedule and next_fires computation","default":"UTC"}}},"outputSchema":{"type":"object","properties":{"cron":{"type":"string","description":"5-field standard cron expression"},"human_readable":{"type":"string"},"next_fires":{"type":"array","items":{"type":"string","format":"date-time"},"description":"Next 5 fire times in ISO 8601"},"timezone":{"type":"string"}}},"example":{"request":{"text":"every weekday at 9:30am","timezone":"America/New_York"}}},"timezoneMath":{"method":"POST","path":"/timezone-math","paid":true,"price":"$0.0005","inputSchema":{"type":"object","required":["to"],"properties":{"query":{"type":"string","description":"Natural language form (e.g. '3pm PT next Thursday in IST'). Mutually exclusive with datetime+from."},"datetime":{"type":"string","description":"ISO 8601 datetime or 'YYYY-MM-DD HH:mm'"},"from":{"type":"string","description":"Source IANA timezone (e.g. 'America/Los_Angeles')"},"to":{"type":"string","description":"Target IANA timezone (required)"},"reference":{"type":"string","description":"ISO date used as the reference for relative phrases in `query`"}}},"outputSchema":{"type":"object","properties":{"result_iso":{"type":"string","format":"date-time"},"result_human":{"type":"string"},"from_zone":{"type":"string"},"to_zone":{"type":"string"},"offset_difference_hours":{"type":"number"},"interpreted_query":{"type":"string"}}},"example":{"request":{"datetime":"2026-06-01 15:00","from":"America/Los_Angeles","to":"Asia/Tokyo"}}},"holidayCheck":{"method":"POST","path":"/holiday-check","paid":true,"price":"$0.0005","inputSchema":{"type":"object","required":["date","country"],"properties":{"date":{"type":"string","format":"date","description":"YYYY-MM-DD"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 3166-1 alpha-2 (e.g. 'US', 'GB', 'DE')"},"region":{"type":"string","description":"Sub-region code (e.g. 'CA' for California)"}}},"outputSchema":{"type":"object","properties":{"is_holiday":{"type":"boolean"},"holidays":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"public":{"type":"boolean"}}}},"country":{"type":"string"},"region":{"type":"string"},"date":{"type":"string"}}},"example":{"request":{"date":"2026-07-04","country":"US"}}},"fakeData":{"method":"POST","path":"/fake-data","paid":true,"price":"$0.005","inputSchema":{"type":"object","required":["count","schema"],"properties":{"count":{"type":"integer","minimum":1,"maximum":100},"locale":{"type":"string","default":"en","description":"Faker locale code (e.g. 'en', 'en_GB', 'en_US', 'de', 'fr', 'es', 'it', 'ja', 'zh_CN', 'pt_BR', 'ru', 'nl'). Falls back to 'en'."},"seed":{"type":"integer","description":"Optional seed for deterministic output"},"schema":{"type":"object","description":"Map of field name → faker spec. Spec is either a string 'namespace.method' (e.g. 'person.fullName') or an object { type, options }.","additionalProperties":{"oneOf":[{"type":"string","description":"Dotted faker path, e.g. 'internet.email', 'location.city'"},{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"options":{"type":"object"}}}]}}}},"outputSchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true}},"count":{"type":"integer"},"locale":{"type":"string"},"seed":{"type":"integer","nullable":true}}},"example":{"request":{"count":3,"locale":"en","schema":{"id":"string.uuid","name":"person.fullName","email":"internet.email","city":"location.city","age":{"type":"number.int","options":{"min":18,"max":65}}}}}},"health":{"method":"GET","path":"/health","paid":false},"docs":{"method":"GET","path":"/docs.md","paid":false},"llms":{"method":"GET","path":"/llms.txt","paid":false}}}