# markdown.page API – Get OpenAPI Specification

> markdown.page API – Get OpenAPI Specification is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status down (last checked 2026-10-13).

Retrieves the OpenAPI specification document for the markdown.page API

## Facts

- Endpoint: POST https://api.relai.fi/relay/1781260916303/openapi.json?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/markdown-page-api-get-openapi-specification-dae70148
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ERfJgKT64d-Gn5tufCG_

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 markdown-page-api-get-openapi-specification-dae70148 -d '<json body>'
```

Example prompt: Can you fetch the OpenAPI specification for the markdown.page API so I can see what endpoints and schemas it exposes?

## When to prefer this

Use this endpoint when you need to programmatically discover or inspect the capabilities of the markdown.page API, for example to auto-generate client code, validate integration, or enumerate available operations before calling them.

## Known failure modes

- Service unavailable – 5xx error if the relay or upstream is down
- Payment failure – x402 payment not accepted or insufficient funds
- Invalid request format – POST body malformed or missing required fields
- Specification not found – endpoint returns 404 if the spec has been moved or removed

## How this service works

Get OpenAPI specification

## Output

Returns a JSON document conforming to the OpenAPI specification standard, describing the available endpoints, request/response schemas, parameters, and other metadata for the markdown.page API.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/markdown-page-api-get-openapi-specification-dae70148/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
