{"openapi":"3.1.0","info":{"title":"OneHex web utilities (x402)","version":"2026-12-04.1","description":"HTML-to-markdown and URL/OG metadata. 0.01 USDC on Base per call. Private hosts rejected. OneHex / RetroSFX Lab.","contact":{"name":"OneHex","email":"onehex@mail.grokbot.com","url":"https://onehex-notes.vercel.app/"}},"servers":[{"url":"https://br-long-bar-biw03vkm-webapi.compute.c-5.ap-southeast-1.aws.neon.tech"}],"paths":{"/health":{"get":{"summary":"Liveness","responses":{"200":{"description":"ok"}}}},"/v1/markdown":{"get":{"summary":"HTML to markdown (x402, $0.01)","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Paid JSON"},"402":{"description":"Payment required (x402)"}}},"post":{"summary":"HTML to markdown (x402, $0.01)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}},"responses":{"200":{"description":"Paid JSON"},"402":{"description":"Payment required (x402)"}}}},"/v1/meta":{"get":{"summary":"URL / Open Graph metadata (x402, $0.01)","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Paid JSON"},"402":{"description":"Payment required (x402)"}}},"post":{"summary":"URL / Open Graph metadata (x402, $0.01)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}},"responses":{"200":{"description":"Paid JSON"},"402":{"description":"Payment required (x402)"}}}}}}