{"openapi":"3.1.0","info":{"title":"OmniLertLab Web Markdown API — Webpage-to-Markdown & AI-Readiness Audit","version":"1.2.2","description":"Fetch any public webpage and convert it to clean Markdown (headings, links, tables, code blocks), or audit a page for AI readiness: llms.txt presence, robots.txt AI-crawler rules, JSON-LD, Open Graph and Schema.org, with a 0-100 AI-readiness score. Webpage to Markdown conversion plus an llms.txt audit for AI agents, RAG pipelines, readers and SEO tooling. Free tier: 25 requests/day.","contact":{"name":"OmniLertLab","email":"omnilertlab@gmail.com"},"license":{"name":"Proprietary — see pricing tiers","url":"https://omnilert-web-markdown-api.yazduniaca.workers.dev/"}},"servers":[{"url":"https://omnilert-web-markdown-api.yazduniaca.workers.dev"}],"tags":[{"name":"markdown"},{"name":"ai-audit"}],"paths":{"/v1/markdown":{"get":{"operationId":"webpageToMarkdown","summary":"Convert a public webpage to clean Markdown","tags":["markdown"],"parameters":[{"name":"url","in":"query","required":true,"description":"Public http(s) URL of the webpage to convert.","schema":{"type":"string"},"example":"https://example.com"}],"responses":{"200":{"description":"Markdown conversion with title, links, word and token counts.","content":{"application/json":{"example":{"ok":true,"data":{"url":"https://example.com/","canonical":"https://example.com/","title":"Example Domain","markdown":"This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.","wordCount":25,"tokenEstimate":34,"links":[],"source":"live"},"meta":{"latencyMs":122,"sourceUpdatedAt":null,"requestId":"b480984f-e2df-45f6-9a7a-deed89f9190b"}}}}},"400":{"description":"Missing, non-public or non-HTML URL."},"429":{"description":"Free tier exhausted."}}}},"/v1/ai-audit":{"get":{"operationId":"auditAiReadiness","summary":"Audit a page for AI readiness (llms.txt, robots.txt, JSON-LD, OG, Schema.org)","tags":["ai-audit"],"parameters":[{"name":"url","in":"query","required":true,"description":"Public http(s) URL of the page to audit.","schema":{"type":"string"},"example":"https://example.com"}],"responses":{"200":{"description":"AI-readiness score (0-100) with recommendations and per-signal detail.","content":{"application/json":{"example":{"ok":true,"data":{"url":"https://example.com/","signals":{"llmsTxt":{"found":false,"content":null},"robotsTxt":{"found":false,"content":null,"aiRules":[]},"jsonLd":{"found":false,"types":[]},"openGraph":{"found":false,"tags":[]},"schemaOrg":{"found":false,"types":[]}},"score":0,"recommendations":["Add /llms.txt at the site root with a concise Markdown summary of the site's content for LLM crawlers.","Add a robots.txt at the site root so crawlers (including AI crawlers) can discover crawl rules.","Add JSON-LD structured data (<script type=\"application/ld+json\">) describing the page content.","Add Open Graph meta tags (og:title, og:description, og:image) so link previews and AI summarizers can identify the page.","Add Schema.org markup (itemtype attributes or JSON-LD @type) so the page content is machine-typed."]},"meta":{"latencyMs":28,"sourceUpdatedAt":null,"requestId":"84993545-30b4-4463-a31d-f28ead91178b"}}}}},"400":{"description":"Missing or non-public URL."},"429":{"description":"Free tier exhausted."}}}}},"components":{"securitySchemes":{"RapidApiProxySecret":{"type":"apiKey","in":"header","name":"X-RapidAPI-Proxy-Secret","description":"Set automatically by RapidAPI Hub on proxied requests."},"PolarApiKey":{"type":"apiKey","in":"header","name":"Authorization","description":"Bearer <polar_api_key> for direct Polar.sh subscriptions."},"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}