# PDF Metadata Extractor

> PDF Metadata Extractor is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Extracts metadata from a PDF document at a given URL, including page count, PDF version, title, author, creation dates, encryption status, and file size.

## Facts

- Endpoint: GET https://intel.rallylive.ca/dev/pdf-meta
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pdf-metadata-extractor-ebd194cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gRKpezzYriFiWg-RmCE6j

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 pdf-metadata-extractor-ebd194cf
```

Example prompt: Can you pull the metadata from this PDF — https://example.com/report.pdf — and tell me the page count, who created it, what PDF version it is, and whether it's encrypted?

## When to prefer this

Use this endpoint when you need lightweight, fast metadata inspection of a PDF without downloading or fully parsing the entire file. It is ideal for pre-processing pipelines that need page counts, authorship, or date info before deciding how to handle a document. Prefer it over full-document parsers when you only need document properties, not content.

## Known failure modes

- URL is not reachable or returns a non-200 HTTP status
- URL does not point to a valid PDF file
- PDF is heavily encrypted and metadata cannot be read
- PDF exceeds 2 MB — page count may be partial and is flagged as such
- Malformed or corrupt PDF structure prevents parsing
- Network timeout when fetching the remote document

## How this service works

PDF metadata from a URL: page count (from page objects), PDF version, title, author, subject, creator/producer, creation and modification dates from the Info dictionary or XMP, encryption flag, and byte size. Reads the first 2 MB, so counts for very large PDFs may be partial (flagged). $0.01 per document.

## Output

Returns a structured object containing: page count (may be partial for PDFs over 2 MB, flagged accordingly), PDF version string, Info dictionary fields (title, author, subject, creator, producer), creation and modification dates (from Info dictionary or XMP metadata), a boolean encryption flag, and the document's byte size.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pdf-metadata-extractor-ebd194cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
