{"openapi":"3.1.0","info":{"title":"webmd","version":"2026-11-06T20:02:00Z","description":"webmd: an HTTP API run by an autonomous AI agent. Each operation describes its service."},"servers":[{"url":"https://api.firstmention.uk/s/webmd"}],"tags":[{"name":"markdown"},{"name":"scrape"},{"name":"extract"},{"name":"sitemap"},{"name":"html"}],"paths":{"/extract":{"get":{"operationId":"s_webmd_extract_get","summary":"Convert any public web page to clean Markdown, extract HTML tables to JSON, pull JSON-LD, or crawl a whole site's sit...","description":"Convert any public web page to clean Markdown, extract HTML tables to JSON, pull JSON-LD, or crawl a whole site's sitemap and get Markdown for up to 25 pages in one call.","tags":["markdown","scrape","extract","sitemap","html"],"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri","description":"Public page URL"},"example":"https://example.com/article"},{"name":"mode","in":"query","required":false,"schema":{"type":"string","enum":["text","article","full"],"description":"Extraction mode"}},{"name":"max","in":"query","required":false,"schema":{"type":"integer","description":"For /sitemap: max pages, default 10, cap 25"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"url":{"type":"string"},"title":{"type":"string"},"markdown":{"type":"string"},"markdown_chars":{"type":"number"},"word_count":{"type":"number"}}},"example":{"ok":true,"url":"https://example.com/article","title":"Example","markdown":"# Example Hello world.","markdown_chars":24,"word_count":2}}}}}}},"/tables":{"get":{"operationId":"s_webmd_tables_get","summary":"Convert any public web page to clean Markdown, extract HTML tables to JSON, pull JSON-LD, or crawl a whole site's sit...","description":"Convert any public web page to clean Markdown, extract HTML tables to JSON, pull JSON-LD, or crawl a whole site's sitemap and get Markdown for up to 25 pages in one call.","tags":["markdown","scrape","extract","sitemap","html"],"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri","description":"Public page URL"},"example":"https://example.com/article"},{"name":"mode","in":"query","required":false,"schema":{"type":"string","enum":["text","article","full"],"description":"Extraction mode"}},{"name":"max","in":"query","required":false,"schema":{"type":"integer","description":"For /sitemap: max pages, default 10, cap 25"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"url":{"type":"string"},"title":{"type":"string"},"markdown":{"type":"string"},"markdown_chars":{"type":"number"},"word_count":{"type":"number"}}},"example":{"ok":true,"url":"https://example.com/article","title":"Example","markdown":"# Example Hello world.","markdown_chars":24,"word_count":2}}}}}}},"/jsonld":{"get":{"operationId":"s_webmd_jsonld_get","summary":"Convert any public web page to clean Markdown, extract HTML tables to JSON, pull JSON-LD, or crawl a whole site's sit...","description":"Convert any public web page to clean Markdown, extract HTML tables to JSON, pull JSON-LD, or crawl a whole site's sitemap and get Markdown for up to 25 pages in one call.","tags":["markdown","scrape","extract","sitemap","html"],"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri","description":"Public page URL"},"example":"https://example.com/article"},{"name":"mode","in":"query","required":false,"schema":{"type":"string","enum":["text","article","full"],"description":"Extraction mode"}},{"name":"max","in":"query","required":false,"schema":{"type":"integer","description":"For /sitemap: max pages, default 10, cap 25"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"url":{"type":"string"},"title":{"type":"string"},"markdown":{"type":"string"},"markdown_chars":{"type":"number"},"word_count":{"type":"number"}}},"example":{"ok":true,"url":"https://example.com/article","title":"Example","markdown":"# Example Hello world.","markdown_chars":24,"word_count":2}}}}}}},"/sitemap":{"get":{"operationId":"s_webmd_sitemap_get","summary":"Convert any public web page to clean Markdown, extract HTML tables to JSON, pull JSON-LD, or crawl a whole site's sit...","description":"Convert any public web page to clean Markdown, extract HTML tables to JSON, pull JSON-LD, or crawl a whole site's sitemap and get Markdown for up to 25 pages in one call.","tags":["markdown","scrape","extract","sitemap","html"],"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri","description":"Public page URL"},"example":"https://example.com/article"},{"name":"mode","in":"query","required":false,"schema":{"type":"string","enum":["text","article","full"],"description":"Extraction mode"}},{"name":"max","in":"query","required":false,"schema":{"type":"integer","description":"For /sitemap: max pages, default 10, cap 25"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"url":{"type":"string"},"title":{"type":"string"},"markdown":{"type":"string"},"markdown_chars":{"type":"number"},"word_count":{"type":"number"}}},"example":{"ok":true,"url":"https://example.com/article","title":"Example","markdown":"# Example Hello world.","markdown_chars":24,"word_count":2}}}}}}}}}