# Saylor Innovations MDN Web Docs Search

> Saylor Innovations MDN Web Docs Search is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-21).

Searches MDN Web Docs for HTML, CSS, JavaScript, and Web API pages, returning title, summary, section, relevance score, and direct URL

## Facts

- Endpoint: GET https://saylorinnovations.com/api/dev/mdn-search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-mdn-web-docs-search-33843497
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a2qbgy1UGnTWcAokD3pE3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-mdn-web-docs-search-33843497
```

Example prompt: Search MDN Web Docs for 'IntersectionObserver' and give me the top 5 results with their summaries and links.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Search MDN Web Docs for HTML, CSS, JavaScript and Web API pages - title, one-paragraph summary, section, relevance score and a direct link

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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 wi
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-mdn-web-docs-search-33843497/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
