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
Endpoint | Method | Description |
---|---|---|
/v1/convert | POST | Convert a URL to PDF |
/v1/batch | POST | Convert multiple URLs to PDFs |
/v1/status/{id} | GET | Check conversion status |
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
url | string | Yes | The URL to convert to PDF |
pageSize | string | No | Page size (A4, Letter, Legal, etc.) |
orientation | string | No | Page orientation (portrait, landscape) |
scale | number | No | Scale 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.