# Bismuth Conversion API

> Bismuth Conversion API is a paid API for AI agents from x402-conversion-api-production.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Converts files between formats: resizes/reformats images, converts CSV to JSON, HTML to PDF, and DOCX to PDF.

## Facts

- Endpoint: POST https://x402-conversion-api-production.up.railway.app/convert
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bismuth-conversion-api-c0c16d02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P61xje7-e1RMQEJwGLRXz

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 bismuth-conversion-api-c0c16d02 -d '<json body>'
```

Example prompt: Can you convert this Word document into a PDF and also resize my product banner image from PNG to JPEG at 800x600 pixels?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call file conversion without managing your own conversion infrastructure — especially useful in agent pipelines that need to normalize data formats (CSV→JSON) or produce printable documents (HTML/DOCX→PDF) on the fly. At $0.02 per call it is cost-effective for low-to-medium volume automated workflows.

## Known failure modes

- Unsupported input format returns an error indicating the format is not accepted
- Malformed or corrupt file may cause a processing error
- Image resize with invalid dimensions returns a validation error
- File size exceeding limits may be rejected
- Network timeout on large file uploads

## How this service works

File conversion: image resize/reformat, CSV→JSON, HTML→PDF, DOCX→PDF. Part of the Bismuth utility API suite for AI agents.

## Output

Returns the converted file in the requested output format — a resized/reformatted image binary, a JSON object parsed from CSV, or a PDF document generated from HTML or DOCX input.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bismuth-conversion-api-c0c16d02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-conversion-api-production.up.railway.app](https://www.zero.xyz/host/x402-conversion-api-production.up.railway.app/llms.txt)
