# Sivut Page Markdown

> Sivut Page Markdown is a paid API for AI agents from pay.sivut.co, paid per call via x402, $0.003/call, status down (last checked 2026-09-15).

Fetches a public web URL and converts its content into clean, LLM-ready markdown with extracted links, headings, and plain text

## Facts

- Endpoint: GET https://pay.sivut.co/api/public-data/page-markdown
- Price: $0.003/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sivut-page-markdown-9e40e2ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tJW10pqgY4SIJK_oOGIy0

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 sivut-page-markdown-9e40e2ae
```

Example prompt: Can you fetch https://en.wikipedia.org/wiki/Artificial_intelligence and give me the content as clean markdown so I can feed it into my LLM pipeline?

## When to prefer this

Choose this endpoint when you need to convert a publicly accessible web page into clean, LLM-ready markdown for downstream AI processing, summarization, or content extraction. Ideal when you want structured output including links, headings, and plain text alongside the markdown, rather than raw HTML. Best for single-URL fetch-and-convert use cases paid per-call via x402.

## Known failure modes

- Invalid or non-public URL returns an error (URL must be http/https and publicly accessible)
- Private or paywalled pages may not return full content
- Very large pages may be truncated or timeout
- Payment failure via x402 protocol returns 402 Payment Required
- Malformed URL query parameter returns validation error
- Non-HTML content types (e.g. PDFs, images) may produce incomplete or empty markdown

## How this service works

Machine-payable x402 endpoints for public SEC crypto filing radar data, page markdown, and public x402 seller intelligence paid in USDC on Base or Solana.

## Output

Returns a JSON object containing: the target URL, a timestamp (checkedAt), the page content as markdown, plain text version, extracted hyperlinks (href + text pairs), headings array, page title, HTTP status code, content type, and meta description.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 2048,
       "description": "Public http(s) URL to fetch and convert."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "checkedAt",
      "target",
      "plainText",
      "markdown",
      "links"
     ],
     "properties": {
      "links": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "href": {
          "type": "string"
         },
         "text": {
          "type": "string"
         }
        }
       }
      },
      "title": {
       "type": "string"
      },
      "status": {
       "type": "integer"
      },
      "target": {
       "type": "string"
      },
      "product": {
       "type": "string"
      },
      "headings": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "markdown": {
       "type": "string"
      },
      "checkedAt": {
       "type": "string"
      },
      "plainText": {
       "type": "string"
      },
      "contentType": {
       "type": "string"
      },
      "description": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "links": [
   {
    "href": "https://www.iana.org/domains/example",
    "text": "More information"
   }
  ],
  "title": "Example Domain",
  "status": 200,
  "target": "https://example.com/",
  "product": "public-page-markdown",
  "headings": [
   "Example Domain"
  ],
  "markdown": "# Example Domain\n\nThis domain is for use in illustrative examples.",
  "checkedAt": "2026-06-09T00:00:00.000Z",
  "plainText": "Example Domain This domain is for use in illustrative examples.",
  "contentType": "text/html",
  "description": ""
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sivut-page-markdown-9e40e2ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pay.sivut.co](https://www.zero.xyz/host/pay.sivut.co/llms.txt)
