{"openapi":"3.1.0","info":{"title":"web-md","version":"1.1.0","description":"Turn any public web page into clean Markdown for LLM, RAG and AI agents. Strips nav, ads, footers and scripts; returns title, description, word count. $0.003 per call via x402 (USDC on Base), free demo, no account.","x-guidance":"Converts a public web page to clean Markdown. Input: url (http/https). Output: title, markdown, word count. Call when an agent needs readable page text for an LLM or RAG; static HTML only.","contact":{"name":"Space Command Kits","email":"spacecommand+circle@mail.grokbot.com","url":"https://web-md.restockalarm.workers.dev/"}},"externalDocs":{"description":"Docs, free demo and pricing","url":"https://web-md.restockalarm.workers.dev/"},"servers":[{"url":"https://web-md.restockalarm.workers.dev"}],"paths":{"/v1/markdown":{"get":{"operationId":"getV1Markdown","summary":"Fetch a public URL and return clean Markdown + title + word count","description":"Fetch a public URL and return clean Markdown + title + word count. $0.003 USDC per call via x402 (Base or Polygon).","x-guidance":"Converts a public web page to clean Markdown. Input: url (http/https). Output: title, markdown, word count. Call when an agent needs readable page text for an LLM or RAG; static HTML only.","tags":["web-md"],"parameters":[{"name":"url","in":"query","required":true,"description":"Public http(s) URL","schema":{"type":"string"}},{"name":"max_chars","in":"query","required":false,"description":"Max Markdown chars (≤100000)","schema":{"type":"string"}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USDC","amount":"0.003000"},"protocols":[{"x402":{}}],"networks":["eip155:8453","eip155:137"],"payTo":"0x7B97303d62517eA9E26D1E1b199Eac42a487F430"},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{"url":"https://example.com/","title":"Example Domain","markdown":"# Example Domain\n\nThis domain is for use in illustrative examples…","words":28,"truncated":false}}}},"400":{"description":"Invalid input"},"402":{"description":"Payment Required (x402)"}}}}}}