# 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-12).

Retrieves the OpenAPI specification document for the markdown.page API

## Facts

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

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-dc2152ad -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need to programmatically discover the full API surface of the markdown.page service, including all available routes, input schemas, and response formats, before integrating or calling other markdown.page endpoints.

## Known failure modes

- Invalid or missing authentication token — returns 401 Unauthorized
- Payment not provided or insufficient — returns 402 Payment Required
- API temporarily unavailable — returns 503 Service Unavailable
- Malformed request body — returns 400 Bad Request

## How this service works

Get OpenAPI specification

## Output

Returns a JSON document conforming to the OpenAPI specification format, describing all available endpoints, request/response schemas, parameters, and authentication requirements of the markdown.page API.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/markdown-page-api-get-openapi-specification-dc2152ad/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)
