Developer tools

From URL to your workflow.

Two endpoints. One key. Start building in minutes.

Quick start

  1. Sign in and create an API key in your dashboard.
  2. Store the key in a server-side environment variable.
  3. Send a POST request with a public website URL.
  4. Save the binary response as your PDF or image.
Public testing release: PDF and screenshot rendering are connected. Account features use ChatGPT sign-in, and billing is sandbox-only. The free renderer can take about a minute to wake after inactivity. Image conversion tools run in your browser and do not have API endpoints.

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
OptionValuesDefault
urlPublic HTTP or HTTPS URLRequired
formatA4, A3, Letter, LegalA4
orientationportrait, landscapeportrait
backgroundtrue, falsetrue
margin0 to 25 millimeters10

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
OptionValuesDefault
urlPublic HTTP or HTTPS URLRequired
viewportdesktop (1440 × 900), tablet (768 × 1024), mobile (390 × 844)desktop
fullPagetrue, falsetrue
formatpng, jpgpng

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.

StatusMeaning
400Invalid URL or options
401Missing, invalid, or revoked API key
403Blocked network destination
413Input or output too large
429Rate, capacity, or monthly credit limit reached
502The target website could not be rendered
503A required service is unavailable
504Rendering 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.