# Render API

> An overview of the AIIPWorld render API, one HTTP endpoint that renders HTML or a public web address to a PDF, PNG or JPEG.

Turn HTML or a URL into a PDF, or take a PNG or JPEG screenshot, with a single HTTP request. The web tools on this site run on the same engine.

## Key facts

- Endpoint: POST https://api.aiipworld.com/v1/render; jobs are asynchronous and polled with GET /v1/jobs/:id.
- Each job runs in a fresh headless Chromium browser context inside a resource-limited worker container with a hard timeout; requests to private network addresses are blocked.
- One credit pool covers the API and the web tools: a simple render costs 1 credit and failed jobs are refunded. The free plan includes 100 credits a month.

## Steps

1. Submit: send `POST /v1/render` with `html` or `url`, an `output` type and `options`.
2. Poll: read `GET /v1/jobs/:id` until the status is `succeeded`, `failed` or `timeout`.
3. Download: fetch the file from `download_url`, a signed link that works for 10 minutes by default.

## Related

- [API docs](https://aiipworld.com/docs/index.md)
- [PDF API](https://aiipworld.com/pdf-api/index.md)
- [Screenshot API](https://aiipworld.com/screenshot-api/index.md)
- [Pricing](https://aiipworld.com/pricing/index.md)

Page: https://aiipworld.com/api/
