{"name":"x402-tools","description":"Pay-per-call utility APIs for AI agents (PDF, Screenshot, Markdown, Regex, Cron, Timezone, Holiday, Fake-data, Airport ATIS, Color palette, Token-count, JSON-validate, Data-convert, JWT-decode, Hash, UUID, QR-code, Slugify, HTML/Markdown, Meta-tags, HTTP-check, Email-validate, DNS-lookup)","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.01","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.01","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.01","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}}}}}},"airportAtis":{"method":"POST","path":"/airport-atis","paid":true,"price":"$0.01","inputSchema":{"type":"object","required":["icao"],"properties":{"icao":{"type":"string","pattern":"^[A-Za-z]{4}$","description":"4-letter ICAO airport code (e.g. 'KSFO', 'EGLL', 'RJTT')"}}},"outputSchema":{"type":"object","properties":{"icao":{"type":"string"},"temp_c":{"type":"number","description":"Temperature in degrees Celsius"},"dewpoint_c":{"type":"number","nullable":true},"atis_letter":{"type":"string","nullable":true,"description":"Current ATIS information code (A-Z), null for METAR source"},"atis_time":{"type":"string","nullable":true,"description":"Observation time, e.g. '1853Z'"},"atis_type":{"type":"string","nullable":true,"enum":["ARR","DEP"],"description":"Arrival or departure ATIS, when distinguished"},"source":{"type":"string","enum":["d-atis","metar"]},"parser":{"type":"string","nullable":true},"raw":{"type":"string","nullable":true,"description":"Raw observation/message line"},"observed_at":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time"}}},"example":{"request":{"icao":"KSFO"}}},"colorPalette":{"method":"POST","path":"/color-palette","paid":true,"price":"$0.01","inputSchema":{"type":"object","description":"Provide either `base` (hex) or `seed` (string).","properties":{"base":{"type":"string","pattern":"^#?([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$","description":"Base hex color, e.g. '#3B82F6'. Drives color-theory harmony."},"seed":{"type":"string","maxLength":200,"description":"Any string (brand name, id). Hashed into a deterministic base color — same seed always yields the same palette."},"mode":{"type":"string","enum":["complementary","analogous","triadic","tetradic","split-complementary","monochromatic"],"default":"analogous"},"count":{"type":"integer","minimum":2,"maximum":10,"default":5}}},"outputSchema":{"type":"object","properties":{"base":{"type":"string","description":"Resolved base color as hex"},"mode":{"type":"string"},"seed":{"type":"string","nullable":true},"count":{"type":"integer"},"colors":{"type":"array","items":{"type":"object","properties":{"hex":{"type":"string"},"rgb":{"type":"object","properties":{"r":{"type":"integer"},"g":{"type":"integer"},"b":{"type":"integer"}}},"hsl":{"type":"object","properties":{"h":{"type":"integer"},"s":{"type":"integer"},"l":{"type":"integer"}}}}}}}},"example":{"request":{"base":"#3B82F6","mode":"analogous","count":5}}},"health":{"method":"GET","path":"/health","paid":false},"docs":{"method":"GET","path":"/docs.md","paid":false},"llms":{"method":"GET","path":"/llms.txt","paid":false}}}