# Relaystation PDF Metadata Reader/Writer

> Relaystation PDF Metadata Reader/Writer is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Read or set PDF document metadata fields such as title, author, keywords, and dates.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/pdf/metadata
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-pdf-metadata-reader-writer-6f47f0c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nZ1Cs1Gtcr3fQpUmv-qO1

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 relaystation-pdf-metadata-reader-writer-6f47f0c2 -d '<json body>'
```

Example prompt: Can you read the metadata from this PDF — specifically the title, author, and keywords — and then update the author field to 'Jane Smith' and add the keyword 'Q3 Report'?

## When to prefer this

Choose this endpoint when you need to programmatically read or write standard PDF metadata fields (title, author, keywords, dates) without full document parsing or OCR. It is purpose-built for metadata operations only and is more cost-efficient than full document ingest pipelines for this narrow task.

## Known failure modes

- Invalid or corrupted PDF file returns an error
- PDF is password-protected and metadata cannot be accessed
- Missing required file input returns validation error
- Unsupported metadata field name returns error
- Network timeout for large PDF uploads

## How this service works

$0.001/call. Read or set PDF document metadata — title, author, keywords, dates. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns a JSON object containing the PDF's metadata fields including title, author, keywords, creation date, and modification date. When writing, returns confirmation of the updated fields.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/relaystation-pdf-metadata-reader-writer-6f47f0c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
