{
  "x402Version": 2,
  "id": 4936,
  "slug": "4936",
  "resource": "https://x402.donnyautomation.com/markdown",
  "description": "Fetch a public article or PDF and return clean Markdown plus title, byline, siteName, excerpt and wordCount. HTML is extracted with Firefox reader-mode rules; PDFs return their text layer. Requires ?url=<public http(s) URL>. Errors: 400 missing_url|bad_url, 403 blocked_private (private and internal hosts refused, every redirect hop re-checked), 413 too_large above 8 MB, 422 no_text_layer for scanned PDFs or not_extractable for app shells, 504 fetch_timeout. To FIND urls, use /search.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2740651e046c59aB2A6510401140643292d3a96F",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "url": "https://en.wikipedia.org/wiki/Markdown"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "byline": null,
            "excerpt": "Markdown is a lightweight markup language…",
            "finalUrl": "https://en.wikipedia.org/wiki/Markdown",
            "format": "article",
            "markdown": "# Markdown\n\nMarkdown is a lightweight markup language…",
            "siteName": "Wikipedia",
            "title": "Markdown",
            "truncated": false,
            "ts": "2026-08-01T00:00:00.000Z",
            "url": "https://en.wikipedia.org/wiki/Markdown",
            "wordCount": 3204
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "url": {
                    "description": "Public http(s) URL of an article or PDF, e.g. https://en.wikipedia.org/wiki/Markdown. Private and internal hosts are refused. Fetch cap 8 MB, output cap 400K chars.",
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402.donnyautomation.com",
  "lastUpdated": "2026-08-30T07:40:24.797Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-30T07:40:24.618Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.donnyautomation.com",
    "manifest_name": "x402.donnyautomation.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}