# Pagesnap PDF Generation API

> Pagesnap PDF Generation API is a paid API for AI agents from pagesnap.142-93-197-141.sslip.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Converts any public web URL into a downloadable PDF document with configurable page format, orientation, and margins

## Facts

- Endpoint: GET https://pagesnap.142-93-197-141.sslip.io/x402/v1/pdf
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pagesnap-pdf-generation-api-6eed9d56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tFRv7M4ARHSJLLTvhgHsw

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 pagesnap-pdf-generation-api-6eed9d56
```

Example prompt: Can you convert https://en.wikipedia.org/wiki/Eiffel_Tower into a PDF using A4 format in portrait orientation?

## When to prefer this

Choose this endpoint when you need a faithful, print-ready PDF rendering of a public webpage, especially when you need control over paper format (A4/Letter/Legal/etc.), landscape orientation, or custom margins. Prefer this over screenshot endpoints when a selectable-text, printable document format is required rather than a raster image.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error
- Invalid or malformed URL in query parameter — returns validation error
- Timeout if page takes longer than the specified wait duration to load
- Unsupported page format value causes schema validation failure
- Network unreachable or DNS failure for the target URL

## How this service works

Turn any public URL into clean Markdown, a screenshot, a PDF or metadata with one API. Free tier, no signup and a remote MCP server for AI agents.

## Output

Returns a binary PDF file (application/pdf) representing the fully rendered webpage at the given URL, formatted according to the specified page size (A4, A3, A5, Letter, Legal, Tabloid), orientation, and margin settings.

## 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",
       "description": "Public HTTP(S) URL"
      },
      "wait": {
       "type": "integer",
       "maximum": 10000,
       "minimum": 0
      },
      "format": {
       "enum": [
        "A4",
        "A3",
        "A5",
        "Letter",
        "Legal",
        "Tabloid"
       ],
       "type": "string"
      },
      "margin": {
       "type": "string"
      },
      "landscape": {
       "type": "boolean"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "contentType",
      "encoding"
     ],
     "properties": {
      "encoding": {
       "type": "string",
       "const": "binary"
      },
      "contentType": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "encoding": "binary",
  "contentType": "application/pdf"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pagesnap-pdf-generation-api-6eed9d56/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pagesnap.142-93-197-141.sslip.io](https://www.zero.xyz/host/pagesnap.142-93-197-141.sslip.io/llms.txt)
