Render API
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.
- HTML or URL in, PDF out; or a screenshot of a page.
- Jobs are asynchronous: submit, then poll for the result.
- Each job renders in a fresh headless Chromium browser context inside a resource-limited worker container, with a hard timeout; requests to private network addresses are blocked.
- Credits: a simple render costs 1; credits for failed jobs are returned. One credit pool is shared with the site's tools. See pricing.
The output is the real file our engine returned for this request (page 1 shown). HTML shortened for display.
In one sentence
An overview of the AIIPWorld render API, one HTTP endpoint that renders HTML or a public web address to a PDF, PNG or JPEG.
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.
Example
Create a key in the dashboard, send the request, then poll the job.
Submit
Send
POST /v1/renderwithhtmlorurl, anoutputtype andoptions.Poll
Read
GET /v1/jobs/:iduntil the status issucceeded,failedortimeout.Download
Fetch the file from
download_url, a signed link that works for 10 minutes by default.
curl -X POST https://api.aiipworld.com/v1/render \
-H "Authorization: Bearer $AIIPWORLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"html":"<h1>Hello</h1>","output":"pdf","options":{"format":"A4"}}'
# returns {"job_id": "...", "status": "queued"}; then poll:
curl https://api.aiipworld.com/v1/jobs/JOB_ID -H "Authorization: Bearer $AIIPWORLD_API_KEY"What a render costs
The price of one render on each plan, in US dollars, worked out from the plan price and its credits.
| Plan | Credits | Simple render (1 credit), billed monthly | Simple render, billed yearly | Full page screenshot (from 2 credits), billed monthly |
|---|---|---|---|---|
| Starter ($19 / month) | 2,750 / month | about $0.0069 | about $0.0058 | from about $0.0138 |
| Pro ($59 / month) | 10,000 / month | about $0.0059 | about $0.0049 | from about $0.0118 |
| Business ($149 / month) | 30,000 / month | about $0.0050 | about $0.0041 | from about $0.0099 |
| Scale ($299 / month) | 75,000 / month | about $0.0040 | about $0.0033 | from about $0.0080 |
| Credit pack ($10, one time) | 1,400 | about $0.0071 | not offered | from about $0.0143 |
Price per render = plan price / credits included x credits the render uses, if you use all of the plan's credits. The free plan (100 credits a month) costs nothing. Yearly billing charges 10 months for 12 months of credits. The credits each kind of render uses are provisional, so treat these figures as approximate.
Plans, credit pack and what each kind of render uses: pricing. Machine-readable description of the API: openapi.json (OpenAPI 3.1; import it into Postman or Insomnia).
