---
title: Cheque Extraction Fast
slug: api-marketplace/cheque-extraction-fast
createdAt: 2026-06-30T11:07:06.515Z
---

## Introduction

The Cheque Extraction API is tailored to retrieve data from cheque images. By providing the URL of the cheque image, the API delivers structured and accurate data extracted from the cheque. This includes crucial information like the account holder's name, cheque number, account number, bank and branch details, MICR code, IFSC code, and other pertinent information.

***

## API details

### Endpoint

:::CodeblockTabs
Production Environment

```jsx
POST https://api.signzy.app/api/v3/polaris/cheque 
```
:::

:::CodeblockTabs
UAT/Testing environment

```jsx
POST https://api-preproduction.signzy.app/api/v3/polaris/cheque 
```
:::

***

### Request headers&#x20;

| Name          | Value            | Required  | Description                                                                                                |
| ------------- | ---------------- | --------- | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Request body parameters

| **Parameter** | **Data type** | **Description**                                                                                                     | **Required** |
| ------------- | ------------- | ------------------------------------------------------------------------------------------------------------------- | ------------ |
| file          | Strings       | The URL of the file being extracted. <br />Single image url, if PDF is passed then first page of the pdf processed. | Mandatory    |

```json
{
    "files": ""
}
```

***

### Code samples

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/polaris/cheque' \
--header 'Content-Type: application/json' \
--header 'Authorization:<auth_key>' \
--data '{
    "file": "https://persist.signzy.tech/api/xxxxx/xxxxx/download/xxx.pdf"
}'
```

```nodejs
 const axios = require('axios');
let data = JSON.stringify({
  "file": "https://persist.signzy.tech/api/base64strings/19852784/download/52390ea07a31473bb41460cda28658da5c6b10ac09cf471da53d9e887a79c3a8.pdf"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/polaris/cheque',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<auth_key>'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});


```

```python
import http.client
import json

conn = http.client.HTTPSConnection("api-preproduction.signzy.app")
payload = json.dumps({
  "file": "https://persist.signzy.tech/api/base64strings/19852784/download/52390ea07a31473bb41460cda28658da5c6b10ac09cf471da53d9e887a79c3a8.pdf"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<auth_key>'
}
conn.request("POST", "/api/v3/polaris/cheque", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/polaris/cheque"
  method := "POST"

  payload := strings.NewReader(`{
    "file": "https://persist.signzy.tech/api/base64strings/19852784/download/52390ea07a31473bb41460cda28658da5c6b10ac09cf471da53d9e887a79c3a8.pdf"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<auth_key>")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := io.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| **Parameter**                   | **Data Type**    | **Description**                                                                          |
| ------------------------------- | ---------------- | ---------------------------------------------------------------------------------------- |
| files                           | Array of Strings | URL of files being extracted.                                                            |
| result                          | Object           | Contains the result of extraction.                                                       |
| result.address                  | String           | Address as on the cheque.                                                                |
| result.ifsc                     | String           | IFSC code.                                                                               |
| result.pincode                  | String           | Pincode.                                                                                 |
| result.accountNumber            | String           | Bank account number.                                                                     |
| result.bankName                 | String           | Name of the bank.                                                                        |
| result.chequeNumber             | String           | Cheque number.                                                                           |
| result.accountType              | String           | Type of bank account.If available.<br />The possible values are: Savings or<br />Current |
| result.micrCode                 | String           | MICR code.                                                                               |
| result.contact                  | String           | Contact number, if available.                                                            |
| result.branch                   | String           | Branch name of the bank.                                                                 |
| result.name                     | String           | Account holder name.                                                                     |
| result.splitAddress             | Object           | Contains the bank branch address in split format.                                        |
| result.splitAddress.district    | Array of strings | District.                                                                                |
| result.splitAddress.state       | Array of strings | State.                                                                                   |
| result.splitAddress.city        | Array of strings | City.                                                                                    |
| result.splitAddress.pincode     | String           | Pincode.                                                                                 |
| result.splitAddress.country     | Array of Strings | Country.                                                                                 |
| result.splitAddress.addressLine | String           | Address line.                                                                            |
| status                          | Number           | Status code for the api                                                                  |

:::CodeblockTabs
200

```json
{
  "file": "https://example.com/files/cheque_001.jpeg",
  "message": "success",
  "result": {
    "accountNumber": "12345678901234",
    "accountType": "Savings",
    "address": "ABC BANK LTD GROUND FLOOR 45 MG ROAD INDIRANAGAR BENGALURU KARNATAKA 560038",
    "bankName": "ABC BANK LTD",
    "branch": "INDIRANAGAR",
    "chequeNumber": "001245",
    "contact": "+91-9876543210",
    "ifsc": "ABCD0001234",
    "micrCode": "560002123",
    "name": "RAHUL SHARMA",
    "pincode": "560038",
    "splitAddress": {
      "addressLine": "ABC BANK LTD GROUND FLOOR 45 MG ROAD INDIRANAGAR",
      "city": [
        "BENGALURU"
      ],
      "country": [
        "IN",
        "IND",
        "INDIA"
      ],
      "district": [
        "BENGALURU URBAN"
      ],
      "pincode": "560038",
      "state": [
        [
          "KARNATAKA",
          "KA"
        ]
      ]
    }
  },
  "status": 200
}
```

400

```json
// Invalid input URL
{
    "error": {
        "message": "File download failed. Please give valid URL or valid filetype.",
        "status": 400,
        "name": "Invalid input"
    }
}

// Empty input URL
{
    "error": {
        "statusCode": 400,
        "status": "Bad Request",
        "message": "\"requestBody.cheque_url\" is not allowed to be empty",
        "id": "e9fb474a-92b3-4479-bed2-cabd32c3b24f"
    }
}
```

401

```json
{
    "message": "Invalid authentication credentials"
}
```

409

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```
:::

***

### Document Related Constraints

:::hint{type="info"}
The size of the document should not exceed **7 MB**.

For best results, make sure the image you use fits tightly in the camera view and is horizontally aligned.

Supported document types:

- Image - JPEG, JPG, PNG, TIFF/TIF and GIF.
- Single page PDF
:::

***

**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!

