> 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 Company Name

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

Cut down your order time by searching if company name already exists in our system. If not then we will also check the name in MCA directory. Use this API to search company name either in ITPA or in MCA database.

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

## Request

### Query parameters

- `query` (string, optional)

### Headers

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

## Response

### 200

OK

- `mca` (list of object, required)
  - `cin` (string, required)
  - `type` (string, required)
  - `active` (boolean, required)
  - `status` (string, required)
  - `businessName` (string, required)
  - `incorporatedDate` (string, required)
  - `registeredAddress` (string, required)
- `internal` (list of object, required)
  - `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
{
  "mca": [
    {
      "cin": "AAD-8872",
      "type": "Limited Liability Partnership",
      "active": true,
      "status": "Active",
      "businessName": "V5 TECHSOL INDIA LLP",
      "incorporatedDate": "07-05-2015",
      "registeredAddress": "1st Floor, No.43, Wilson Garden Housing Society,   Opp.RBI Layout, J. P. Nagar, 7th Phase,, NA, Bangalore, Bengaluru, Karnataka, India, 560078"
    }
  ],
  "internal": [
    {
      "id": "664e23417e70c5fefcfa35e9",
      "PAN": "AAMFV6242M",
      "town": "Bengaluru",
      "refNo": "1000019",
      "state": "Karnataka",
      "street": "1st Floor, No.43, Wilson Garden Housing Society, Opp.RBI Layout, J. P. Nagar, 7th Phase",
      "country": "INDIA",
      "district": "Bengaluru Urban",
      "postalCode": 560078,
      "reportDate": {
        "day": 22,
        "year": 2024,
        "month": 5
      },
      "lastFinancial": "31/03/2021(Last Available)",
      "nameCorrected": "V5 TECHSOL INDIA LLP"
    },
    {
      "id": "6628f9177e70c5fefcfa35e6",
      "PAN": "AAMFV6242M",
      "town": "Bengaluru",
      "refNo": "1000017",
      "state": "Karnataka",
      "street": "1st Floor, No.43, Wilson Garden Housing Society, Opp.RBI Layout, J. P. Nagar, 7th Phase",
      "country": "INDIA",
      "district": "Bengaluru Urban",
      "postalCode": 560078,
      "reportDate": {
        "day": 24,
        "year": 2024,
        "month": 4
      },
      "lastFinancial": "31/03/2021(Last Available)",
      "nameCorrected": "V5 TECHSOL INDIA LLP"
    },
    {
      "id": "66167d48434ff2bd04cd8ac5",
      "PAN": "AAMFV6242M",
      "town": "Bengaluru",
      "refNo": "1000010",
      "state": "Karnataka",
      "street": "1st Floor, No.43, Wilson Garden Housing Society, Opp.RBI Layout, J. P. Nagar, 7th Phase",
      "country": "INDIA",
      "district": "Bengaluru Urban",
      "postalCode": 560078,
      "reportDate": {
        "day": 10,
        "year": 2024,
        "month": 4
      },
      "lastFinancial": "31/03/2021(Last Available)",
      "nameCorrected": "V5 TECHSOL INDIA LLP"
    },
    {
      "id": "65bf0fcb2da03b05ed1a0593",
      "PAN": "AAMFV6242M",
      "town": "Bengaluru",
      "refNo": "1000003",
      "state": "Karnataka",
      "street": "1st Floor, No.43, Wilson Garden Housing Society, Opp.RBI Layout, J. P. Nagar, 7th Phase",
      "country": "INDIA",
      "district": "Bengaluru Urban",
      "postalCode": 560078,
      "reportDate": {
        "day": 4,
        "year": 2024,
        "month": 3
      },
      "lastFinancial": "31/03/2021(Last Available)",
      "nameCorrected": "V5 TECHSOL INDIA LLP"
    }
  ]
}
```

**SDK Code**

```python APIs_Search Company Name_example
import requests

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

querystring = {"query":"v5 techsol"}

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

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

print(response.json())
```

```javascript APIs_Search Company Name_example
const url = 'http://localhost:1337/ext/v1/searchName?query=v5+techsol';
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 Company Name_example
package main

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

func main() {

	url := "http://localhost:1337/ext/v1/searchName?query=v5+techsol"

	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 Company Name_example
require 'uri'
require 'net/http'

url = URI("http://localhost:1337/ext/v1/searchName?query=v5+techsol")

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 Company Name_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("http://localhost:1337/ext/v1/searchName?query=v5+techsol")
  .header("clientId", "{{clientid}}")
  .header("secretKey", "{{secretkeys}}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://localhost:1337/ext/v1/searchName?query=v5+techsol', [
  'headers' => [
    'clientId' => '{{clientid}}',
    'secretKey' => '{{secretkeys}}',
  ],
]);

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

```csharp APIs_Search Company Name_example
using RestSharp;

var client = new RestClient("http://localhost:1337/ext/v1/searchName?query=v5+techsol");
var request = new RestRequest(Method.GET);
request.AddHeader("clientId", "{{clientid}}");
request.AddHeader("secretKey", "{{secretkeys}}");
IRestResponse response = client.Execute(request);
```

```swift APIs_Search Company Name_example
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "http://localhost:1337/ext/v1/searchName?query=v5+techsol")! 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()
```