> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itpainform.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itpainform.com/_mcp/server.

# Search Report

GET http://localhost:1337/ext/v1/searchReport

Cut down your order time by searching if your report already exists in our system. Use this API to search existing report searching by Name or PAN of company.

Reference: https://docs.itpainform.com/itpa/ap-is/search-report

## Request

### Query parameters

- `query` (string, optional) — enter pan or company name
- `page` (integer, optional)

### Headers

- `clientId` (string, optional)
- `secretKey` (string, optional)

## Response

### 200

OK

- `list of object`
  - `id` (string, required)
  - `PAN` (string, required)
  - `town` (string, required)
  - `refNo` (string, required)
  - `state` (string, required)
  - `street` (string, required)
  - `country` (string, required)
  - `district` (string, required)
  - `postalCode` (integer, required)
  - `reportDate` (object, required)
    - `day` (integer, required)
    - `year` (integer, required)
    - `month` (integer, required)
  - `lastFinancial` (string, required)
  - `nameCorrected` (string, required)

## Examples

**Response**

```json
[
  {
    "id": "65a100a5b88282b42efc5d5f",
    "PAN": "AACCK5275E",
    "town": "Kolkata",
    "refNo": "1000001",
    "state": "West Bengal",
    "street": "Johar Building, Suite No. 6A, 6th Floor, 22 LU Tsun Sarani",
    "country": "INDIA",
    "district": "Kolkata",
    "postalCode": 700073,
    "reportDate": {
      "day": 24,
      "year": 2024,
      "month": 1
    },
    "lastFinancial": "31/03/2023",
    "nameCorrected": "KLASSIK LAMITEX PRIVATE LIMITED"
  }
]
```

**SDK Code**

```python APIs_Search Report_example
import requests

url = "http://localhost:1337/ext/v1/searchReport"

querystring = {"page":"1","query":"V5 Techsol india llp"}

headers = {
    "clientId": "{{clientid}}",
    "secretKey": "{{secretkeys}}"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript APIs_Search Report_example
const url = 'http://localhost:1337/ext/v1/searchReport?page=1&query=V5+Techsol+india+llp';
const options = {
  method: 'GET',
  headers: {clientId: '{{clientid}}', secretKey: '{{secretkeys}}'}
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go APIs_Search Report_example
package main

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

func main() {

	url := "http://localhost:1337/ext/v1/searchReport?page=1&query=V5+Techsol+india+llp"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("clientId", "{{clientid}}")
	req.Header.Add("secretKey", "{{secretkeys}}")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby APIs_Search Report_example
require 'uri'
require 'net/http'

url = URI("http://localhost:1337/ext/v1/searchReport?page=1&query=V5+Techsol+india+llp")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Get.new(url)
request["clientId"] = '{{clientid}}'
request["secretKey"] = '{{secretkeys}}'

response = http.request(request)
puts response.read_body
```

```java APIs_Search Report_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("http://localhost:1337/ext/v1/searchReport?page=1&query=V5+Techsol+india+llp")
  .header("clientId", "{{clientid}}")
  .header("secretKey", "{{secretkeys}}")
  .asString();
```

```php APIs_Search Report_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://localhost:1337/ext/v1/searchReport?page=1&query=V5+Techsol+india+llp', [
  'headers' => [
    'clientId' => '{{clientid}}',
    'secretKey' => '{{secretkeys}}',
  ],
]);

echo $response->getBody();
```

```csharp APIs_Search Report_example
using RestSharp;

var client = new RestClient("http://localhost:1337/ext/v1/searchReport?page=1&query=V5+Techsol+india+llp");
var request = new RestRequest(Method.GET);
request.AddHeader("clientId", "{{clientid}}");
request.AddHeader("secretKey", "{{secretkeys}}");
IRestResponse response = client.Execute(request);
```

```swift APIs_Search Report_example
import Foundation

let headers = [
  "clientId": "{{clientid}}",
  "secretKey": "{{secretkeys}}"
]

let request = NSMutableURLRequest(url: NSURL(string: "http://localhost:1337/ext/v1/searchReport?page=1&query=V5+Techsol+india+llp")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```