# WebMD JSON-LD Extractor

> WebMD JSON-LD Extractor is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Fetches and extracts JSON-LD structured data from a public web page URL

## Facts

- Endpoint: GET https://api.firstmention.uk/s/webmd/jsonld?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webmd-json-ld-extractor-ab473960
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q2iNX5IXUe-hdsWQPL7L5

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 webmd-json-ld-extractor-ab473960
```

Example prompt: Can you fetch the JSON-LD structured data from https://example.com/article so I can see what schema.org metadata they're publishing?

## When to prefer this

Choose this endpoint when you specifically need JSON-LD or schema.org structured metadata from a web page, such as for SEO analysis, data enrichment, or extracting machine-readable product/article/event metadata. It is preferable over generic web extraction when the target use case is structured semantic markup rather than raw page text.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status
- Page has no JSON-LD structured data to extract
- URL parameter missing or malformed (validation error)
- Target page blocks automated requests or returns CAPTCHA
- Network timeout reaching the target URL
- Page content is behind authentication or paywall

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with ok (boolean), url (string), title (string), markdown (string representation of extracted content), word_count (integer), and markdown_chars (integer). The JSON-LD structured data is embedded within the extracted markdown/content of the page.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "max": {
       "type": "integer",
       "description": "For /sitemap: max pages, default 10, cap 25"
      },
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Public page URL"
      },
      "mode": {
       "enum": [
        "text",
        "article",
        "full"
       ],
       "type": "string",
       "description": "Extraction mode"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "url": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "markdown": {
       "type": "string"
      },
      "word_count": {
       "type": "number"
      },
      "markdown_chars": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "url": "https://example.com/article",
  "title": "Example",
  "markdown": "# Example Hello world.",
  "word_count": 2,
  "markdown_chars": 24
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webmd-json-ld-extractor-ab473960/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
