---
title: PDF to JPG Converter
slug: api-marketplace/pdf-to-jpg-converter
description: Discover the comprehensive details and valuable information you seek from this forthcoming document. Stay tuned for its release and gain deeper insights on the subject matter.
createdAt: 2023-04-20T22:39:27.000Z
---

# Introduction

The **PDF to JPEG Converter API** allows seamless conversion of single-page PDF documents into JPEG images. This tool is ideal for generating previews, document thumbnails, or easily shareable visual representations of PDFs. It securely hosts the converted JPEG on the cloud for instant access.

:::hint{type="info"}
Only single-page PDFs are supported. Multi-page PDFs will return an error response.
:::

## Key Features

- **High-Quality Conversion:** Converts single-page PDFs to clear, high-resolution JPEGs.&#x20;
- **Cloud Hosting:** Converted images are securely hosted and accessible via URL.&#x20;
- **Simple Integration:** Lightweight JSON request structure with instant response.&#x20;
- **One-Page Limitation:** Optimized specifically for single-page PDF inputs.&#x20;

## API Details

### Body Parameters

| Parameter | Type  | Required  | Description                                                                                      |
| --------- | ----- | --------- | ------------------------------------------------------------------------------------------------ |
| urls      | Array | Mandatory | Array containing one publicly accessible single-page PDF URL. Only the first entry is processed. |

### Example Request Body

```json
{
  "urls": [
    "https://example.com/example.pdf"
  ]
}
```

### API Request

:::CodeblockTabs
Preproduction cURL

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/converters/pdf-to-jpeg' \
--header 'Authorization: <auth-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "urls": [
       "https://example.com/example.pdf"
    ]
}'
```

Production cURL

```curl
curl --location 'https://api.signzy.app/api/v3/converters/pdf-to-jpeg' \
--header 'Authorization: <auth-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "urls": [
       "https://example.com/example.pdf"
    ]
}'
```
:::

## API Response

:::CodeblockTabs
200

```json
{
  "result": {
    "pdftoJpgs": [
      "https://persist.signzy.tech/api/files/1394566755/download/ea294e9e78174aba8f5f21309952c78e3be7d48d8c1e45c6a4b80e5b0c3e45fb.jpg"
    ]
  }
}
```

400

```json
{
    "error": {
        "name": "error",
        "message": "URL is required",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}
```
:::



