API Documentation

Integrate URL to PDF conversion directly into your applications

curl -X POST https://api.PDFCapture.com/v1/convert \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "url": "https://example.com",
    "pageSize": "A4",
    "orientation": "portrait",
    "scale": 1
  }'

API Endpoints

EndpointMethodDescription
/v1/convertPOSTConvert a URL to PDF
/v1/batchPOSTConvert multiple URLs to PDFs
/v1/status/{id}GETCheck conversion status

Request Parameters

ParameterTypeRequiredDescription
urlstringYesThe URL to convert to PDF
pageSizestringNoPage size (A4, Letter, Legal, etc.)
orientationstringNoPage orientation (portrait, landscape)
scalenumberNoScale factor (0.1 to 2.0)

Get Your API Key

To use our API, you'll need an API key. Sign up for an account and generate your API key from the dashboard.