From URL to your workflow.
Two endpoints. One key. Start building in minutes.
Quick start
- Sign in and create an API key in your dashboard.
- Store the key in a server-side environment variable.
- Send a POST request with a public website URL.
- Save the binary response as your PDF or image.
Authentication
Send Authorization: Bearer YOUR_API_KEY on every API request. Keys are shown once and stored as SHA-256 hashes. You can revoke them instantly from your dashboard. Never put keys in frontend code or URL query strings.
Webpage to PDF
POST /v1/pdf returns application/pdf.
export TOOLLANE_ORIGIN="https://toollane.arudkosky.chatgpt.site"
export API_KEY="YOUR_API_KEY"
curl --fail-with-body --max-time 150 -X POST "$TOOLLANE_ORIGIN/v1/pdf" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"format": "A4",
"orientation": "portrait",
"background": true
}' \
--output webpage.pdf| Option | Values | Default |
|---|---|---|
| url | Public HTTP or HTTPS URL | Required |
| format | A4, A3, Letter, Legal | A4 |
| orientation | portrait, landscape | portrait |
| background | true, false | true |
| margin | 0 to 25 millimeters | 10 |
Website Screenshot
POST /v1/screenshot returns PNG or JPEG image bytes.
export TOOLLANE_ORIGIN="https://toollane.arudkosky.chatgpt.site"
export API_KEY="YOUR_API_KEY"
curl --fail-with-body --max-time 150 -X POST "$TOOLLANE_ORIGIN/v1/screenshot" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"viewport": "desktop",
"fullPage": true,
"format": "png"
}' \
--output webpage.png| Option | Values | Default |
|---|---|---|
| url | Public HTTP or HTTPS URL | Required |
| viewport | desktop (1440 × 900), tablet (768 × 1024), mobile (390 × 844) | desktop |
| fullPage | true, false | true |
| format | png, jpg | png |
Errors & rate limits
Errors return JSON with an error message. A successful API or signed-in web render uses one credit from the same allowance; unsuccessful renders are refunded. Browser image tools do not use render credits. Anonymous visitors can make up to five web renders per day, subject to shared network limits. Free accounts allow 10 API requests per minute, paid accounts 60. Web renders allow five requests per minute. Monthly credit limits also apply.
| Status | Meaning |
|---|---|
| 400 | Invalid URL or options |
| 401 | Missing, invalid, or revoked API key |
| 403 | Blocked network destination |
| 413 | Input or output too large |
| 429 | Rate, capacity, or monthly credit limit reached |
| 502 | The target website could not be rendered |
| 503 | A required service is unavailable |
| 504 | Rendering timed out |
Page rendering is limited to 30 seconds after the renderer is ready. Waking the free service can take additional time. Full-page screenshots are capped at 16,000 pixels tall and output files at 25 MB. A request is synchronous; use a 150-second client timeout. Retrying a completed request creates another billable operation.
Results are streamed directly. There is no permanent asset URL or stored output to expire.