---
title: Insurance Detail Extraction
slug: api-marketplace/insurance-detail-extraction
createdAt: 2024-07-18T14:40:31.412Z
---

## Introduction

This API allows users to extract insurance details from image/pdf urls. It accepts a list of image URLs and returns a JSON response containing information about the insurance, such as customerName, policyStartDate, policyEndDate, companyName, age, gender, contactNumber, email, nomineeName, nomineeRelation and  typeOfInsurance.&#x20;

## API details

### Endpoint

```curl
https://api.signzy.app/api/v3/extraction/insurance
```

:::CodeblockTabs
curl

```curl
https://api-preproduction.signzy.app/api/v3/extraction/insurance
```
:::

### Request headers&#x20;

| **Name** | **Value**     | **Description**                                                                       | **Required** |
| -------- | ------------- | ------------------------------------------------------------------------------------- | ------------ |
| files    | Array of URLs | A URL of the image. <br />Acceptable image format JPEG/JPG, PNG, PDF(MAX of 10 pages) | Mandatory    |



```json
{
    "file": [
        "https://persist.signzy.tech/api/files/944382838/download/89009452d6cb42078478ae51e388e7dc4538cf7ec26049b1b031bf54e529969f.pdf"
    ]
}
```

### &#xA;Code samples

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/extraction/insurance' \
--header 'Content-Type: application/json' \
--data '{
    "file": [""]
}'
```

### Response body parameters

| Parameter       | Data Type | Description                    |
| --------------- | --------- | ------------------------------ |
| customerName    | String    | Name of the policy owner       |
| policyStartDate | String    | Policy start date              |
| policyEndDate   | String    | Policy end date                |
| companyName     | String    | Insurance company              |
| age             | String    | Age of customer                |
| gender          | String    | Gender of Customer             |
| contactNumber   | String    | Contact number of customer     |
| email           | String    | Email of customer              |
| nomineeName     | String    | Nominee name of customer       |
| nomineeRelation | String    | Nominee relation with customer |
| typeOfInsurance | String    | type of insurance              |



:::CodeblockTabs
200

```json
{
    "customerName": "Rajesh Sharma",
    "policyStartDate": "01-July-2024",
    "policyEndDate": "30-June-2025",
    "companyName": "ABC Insurance Pvt. Ltd.",
    "age": "35",
    "gender": "Male",
    "contactNumber": "+91-9876543210",
    "email": "rajesh.sharma@example.com",
    "nomineeName": "Sunita Sharma",
    "nomineeRelation": "Spouse",
    "typeOfInsurance": "Health Insurance"
}
```

422

```none
{
    "error": {
        "status": 422,
        "msg": "Unable to download the file.",
        "responseCode": "fail"
    }
}
```

```json
{
    "error": {
        "name": "Validation Error",
        "status": 400,
        "msg": "JSON decode error",
        "responseCode": "fail"
    }
}
```
:::

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
