Endpoint
Company Search
Company name → Matching companies with CIN. ₹3.50 per successful call, GST included.
POST/v1/mca/search₹3.50 incl. GST · failed ₹0
Fuzzy search across company and LLP names. Returns ranked matches with CIN/LLPIN, status, state and incorporation year.
Request
POST /v1/mca/search
curl https://api.apiserver.in/v1/mca/search \
-H "Authorization: Bearer as_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Sabarmati","limit":5}'const res = await fetch("https://api.apiserver.in/v1/mca/search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.APISERVER_KEY ?? "as_test_YOUR_KEY"}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "Sabarmati",
"limit": 5
}),
});
const { success, data, meta, error } = await res.json();
console.log(meta.charged, meta.amount_inr); // failed calls are never chargedimport os, requests
res = requests.post(
"https://api.apiserver.in/v1/mca/search",
headers={
"Authorization": f"Bearer {os.getenv('APISERVER_KEY', 'as_test_YOUR_KEY')}",
},
json={
"name": "Sabarmati",
"limit": 5,
},
timeout=10,
)
body = res.json()
print(body["meta"]["charged"], body["meta"]["amount_inr"])<?php
$ch = curl_init('https://api.apiserver.in/v1/mca/search');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . (getenv('APISERVER_KEY') ?: 'as_test_YOUR_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Sabarmati',
'limit' => 5,
]),
]);
$body = json_decode(curl_exec($ch), true);
echo $body['meta']['charged'] ? 'charged' : 'not charged';| Field | Type | Description |
|---|---|---|
| namerequired | string | Company or LLP name (fuzzy). |
| limit | integer | Max results (1–20, default 5). |
Response
{ : true, : "as_req_01J9X2K7R8M4V6T2Q9W3E5Y1ZB", : "mca.search", : "2026-10-01", : { : "Sabarmati", : 1, : [ { : "SABARMATI LOGISTICS PRIVATE LIMITED", : "U63030GJ2019PTC108745", : null, : "Active", : "Gujarat", : "2019-01-14", : 0.81 } ] }, : { : true, : 3.5, : 402, : "live", : 1, : "2026-10-03T09:12:00+05:30", : "live" }}Response fields
| Field | Type | Description |
|---|---|---|
| query | string | — |
| count | integer | — |
| results | object[] | — |
| ↳name | string | — |
| ↳cin | string | null | — |
| ↳llpin | string | null | — |
| ↳status | string | — |
| ↳state | string | — |
| ↳incorporated_on | string | — |
| ↳score | number | 0–1 relevance score |
Errors
| HTTP | Code | What it means | Retry | Billed |
|---|---|---|---|---|
| 400 | VALIDATION_FAILED | Something in the request isn't in the right shape — usually an ID with a typo or a missing field. | no | ₹0 |
| 401 | AUTH_INVALID_KEY | We couldn't find a valid API key on this request. | no | ₹0 |
| 402 | WALLET_INSUFFICIENT_BALANCE | Your wallet doesn't have enough for this call, so we didn't run it. | no | ₹0 |
| 404 | RECORD_NOT_FOUND | The source has no record for this ID. | no | ₹0 |
| 429 | RATE_LIMITED | You sent requests faster than your key's limit. | yes | ₹0 |
| 503 | PROVIDER_UNAVAILABLE | All upstream sources for this check were down, even after fallback. | yes | ₹0 |
| 504 | PROVIDER_TIMEOUT | The upstream source took too long to answer. | yes | ₹0 |
Try it: open in playground · product page