{"uid":"cap_a2qbgy1UGnTWcAokD3pE3","slug":"saylor-innovations-mdn-web-docs-search-33843497","name":"Saylor Innovations MDN Web Docs Search","description":"Search MDN Web Docs for HTML, CSS, JavaScript and Web API pages - title, one-paragraph summary, section, relevance score and a direct link","url":"https://saylorinnovations.com/api/dev/mdn-search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Web platform topic, API or CSS property"},"limit":{"type":"string","description":"optional 1-20, default 8"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["query","documents"],"properties":{"note":{"type":"string","description":"Caveat or context for reading the result"},"count":{"type":"number","description":"Number of items returned"},"query":{"type":"string","description":"The query as the server interpreted it"},"total":{"type":"number","description":"Total number of matching items"},"source":{"type":"string","description":"Data source the values come from"},"documents":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"Canonical URL"},"title":{"type":"string","description":"Title"},"section":{"type":"string","description":"Section"},"summary":{"type":"string","description":"Short summary"},"relevance":{"type":["number","null"],"description":"Search relevance score"},"popularity":{"type":["number","null"],"description":"MDN popularity score"}},"additionalProperties":true},"description":"Matching MDN pages with title, one-paragraph summary, URL, section, relevance and popularity"},"checked_at":{"type":"string","description":"Time the check was run (UTC)"}},"additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K_Z-C3hNtGtM58YqBH-Ql","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches MDN Web Docs for HTML, CSS, JavaScript, and Web API pages, returning title, summary, section, relevance score, and direct URL","exampleAgentPrompt":"Search MDN Web Docs for 'IntersectionObserver' and give me the top 5 results with their summaries and links.","exampleUseCases":[{"title":"CSS property reference lookup","prompt":"Search MDN for 'CSS grid-template-columns' and show me the top 3 results with summaries so I can understand how that property works."},{"title":"JavaScript API documentation discovery","prompt":"Find MDN documentation pages about the Fetch API — give me the titles, summaries, and links for the top 8 results."},{"title":"HTML element spec reference","prompt":"Look up MDN docs for the 'details' HTML element and return the most relevant pages with their section labels and relevance scores."}],"resultDescription":"Returns a JSON object with the interpreted query string, total match count, count of returned items, data source label, optional caveat note, and an array of matching MDN documents — each containing title, one-paragraph summary, canonical MDN URL, section category, relevance score, and popularity score.","failureModes":["Missing required 'q' parameter returns an error","Query with no matching MDN pages returns empty documents array","limit parameter outside 1-20 range may be clamped or rejected","Highly ambiguous queries may return loosely related results with low relevance scores","MDN upstream availability issues may cause degraded results"],"whenToPreferThis":"Choose this endpoint when an agent or developer needs to programmatically search MDN Web Docs for authoritative HTML, CSS, JavaScript, or Web API reference documentation. It is ideal for building coding assistants, documentation bots, or developer tools that need to surface official web platform specs and tutorials. Prefer this over generic web search when the target is specifically MDN content with structured metadata like relevance scores and section categorization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:42:21.144Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-mdn-web-docs-search-33843497"}