Free tools

Free HTML/URL → PDF

Public and key-less: 20 renders per day per IP, viewports capped at 1600px, and always answered with a hosted URL.

post/api/tools/pdf

Request

  • Base URL: https://snaplab.dev
  • URL: https://snaplab.dev/api/tools/pdf
  • Auth: none required

Request body

urlstring uri
htmlstring
format'Letter' | 'Legal' | 'Tabloid' | 'A3' | 'A4' | 'A5'
landscapeboolean
darkModeboolean
dismissBannersboolean
blockAdsboolean

Response

A hosted render plus the caller's remaining daily budget.

urlstring uri required
idstring required
formatstring required
widthinteger
heightinteger
bytesinteger required
cacheHitboolean
durationMsinteger
kind'screenshot' | 'pdf' | 'image'
remainingTodayinteger
dailyLimitinteger

Example response

{
  "url": "https://snaplab.dev/i/c/V1StGXR8_Z5j",
  "id": "V1StGXR8_Z5j",
  "format": "png",
  "dailyLimit": 20
}

Changes

No recorded changes to this operation across all 1 revision of this API.