Overview
Users rarely start with a clean identifier. They type a business name, a half-remembered trade name, a director's name or an identifier copied from an invoice. Onboarding forms, CRM look-ups and research tools need one search that turns that input into the right record. Without it, each kind of input needs its own portal: the MCA site for company names, the GST portal for GSTINs, and nothing at all for addresses or people across both registers.
GET /api/v1/search?q= searches companies, LLPs and GST registrations by name, optionally narrowed by a two-digit GST state code. With type=director it searches directors with a DIN, type=person searches name pages, and type=address searches shared addresses. An identifier in q returns that record. The response is {total, total_capped, count, limit, offset, next, results}; past 1,000 matches total is null with total_capped true and total_at_least 1000. Pick a result and open it with the Company Master Data, GST Verification or DIN Director Lookup APIs.
- Input
- q (name or identifier); optional type (director, person, address), state (GST state code), limit up to 50, offset
- Returns
- Paged results with total, total_capped, count and next
- Coverage
- 32,94,044 companies, 5,99,373 LLPs and 85,10,831 GST registrations
- Source
- MCA and GST records held by IndiaCos
- Auth
- API key as Authorization: Bearer (or X-API-Key header); OAuth sign-in through the IndiaCos MCP server
- Register
- IndiaCos (indiacos.com)
- MCP tool
search- Data source
- Public government records: the Ministry of Corporate Affairs register, GST registrations, IP India journals and registers, Udyam, EPFO, official defaulter and wanted lists, rating-agency rationales and court records.
What it returns
totalNumber of matches; null past 1,000 matches and for type searches
total_cappedtrue when there are more than 1,000 matches
total_at_least1000 when the total is capped
countNumber of results in this page
limitPage size (1 to 50, default 20), with offset for the position
nextLink to the next page, or null
resultsMatching companies, LLPs, GST registrations, directors, name pages or addresses, each with its identifier and link
Use cases
Search box in an onboarding form
A lending app lets a borrower type the business name. The app calls the search endpoint as the user types, shows matching companies and GST registrations with their state, and stores the chosen CIN or GSTIN. If the user pastes a GSTIN instead, the same call returns that record directly.
Finding a director by name
A compliance analyst knows only a promoter's name. A search with type=director returns directors with a DIN who match, and the analyst picks the right one by looking at the companies linked to each, before running a DIN lookup for disqualification and regulator entries.
Address checks during KYB
A KYB reviewer searches the address a new merchant gave with type=address. If the address is shared by many companies and GST registrations, it may be a shared office or an agent's address, and the reviewer opens the Business Address Network API for the full list.
How to use it
- Get an API key at indiacos.com/signup.
- Call GET https://indiacos.com/api/v1/search?q={text} with Authorization: Bearer YOUR_KEY. Add state=27 (for example) to narrow by GST state code.
- For people or addresses add type=director, type=person or type=address.
- Page with limit and offset, following next.
- Open the chosen result with the matching record endpoint (company, gst, director, person or office).
Parameters
q required query See the documentation. limit query See the documentation. Example: 20 type query director: directors with a DIN; person: name pages; address: shared addresses. Leave out to search businesses. offset query See the documentation. Example: 0 state query GST state code Example
Request
curl "https://indiacos.com/api/v1/search?limit=20&offset=0" \
-H "Authorization: Bearer YOUR_KEY" Response (illustrative)
{
"total": 3,
"total_capped": false,
"count": 2,
"limit": 2,
"offset": 0,
"next": "/api/v1/search?q=example+traders&limit=2&offset=2",
"results": [
{
"type": "company",
"cin": "U51909MH2019PTC123456",
"name": "EXAMPLE TRADERS PRIVATE LIMITED",
"state": "Maharashtra",
"category": "Private Limited Company",
"status": "Active",
"incorporation_date": "2019-07-22",
"url": "https://indiacos.com/company/example-traders-private-limited-u51909mh2019ptc123456"
},
{
"type": "gst",
"gstin": "24AABCE1234F1ZB",
"legal_name": "EXAMPLE TRADERS PRIVATE LIMITED",
"trade_name": null,
"state": "Gujarat",
"status": "Active",
"url": "https://indiacos.com/gst/24AABCE1234F1ZB"
}
]
} Authenticate with Authorization: Bearer <key>. Every response field is documented in the IndiaCos API documentation. Assistants can also call this through the IndiaCos MCP server as the search tool.
Glossary
- Name page
- An IndiaCos page that groups every directorship, officer role, LLP partnership and GST proprietorship filed under one name. A name is not a person: the same name can belong to several people, so a name page should never be treated as one individual.
- Shared address
- An address given as the registered office or principal place of business by more than one company, LLP or GST registration, matched by address text. It can mean a group of companies, a shared office or an agent's address.
Good to know
- Up to 50 results per page.
- Past 1,000 matches the exact total is not returned (total_capped is true).
Frequently asked questions
Is there an API to search Indian companies by name?
Yes. GET https://indiacos.com/api/v1/search?q={name} searches companies, LLPs and GST registrations by name and returns paged results with identifiers and links. Add state with a two-digit GST state code to narrow it, and page through results with limit and offset. Each result carries its identifier, so the next call can open the full record.
Can I search by GSTIN, CIN, PAN or DIN in the same endpoint?
Yes. When q is a GSTIN, CIN, LLPIN, PAN or DIN, the search returns that record directly instead of a name search. This lets one search box accept both names and identifiers without your code having to detect which one the user typed.
How do I search for a director or a person by name?
Add type=director to search directors with a DIN, or type=person to search name pages. A name page groups roles filed under a name and can cover several different people who share it, so confirm identity with a DIN before you rely on a match.
Why is total null in my response?
total is null in two cases: past 1,000 matches, when total_capped is true and total_at_least is 1000, and for type searches (director, person, address). Narrow the query or add a state filter to get an exact total, or simply page through results with next.
How does this compare with searching on the MCA and GST portals?
The MCA portal searches companies and the GST portal searches GSTINs, each on its own and behind its own forms. This endpoint searches both registers together, adds directors, name pages and shared addresses, and returns JSON that your application can show or store.
Can an AI assistant search for a company for me?
Yes. Connect the IndiaCos MCP server at https://indiacos.com/mcp and ask by name, for example "find Example Traders in Maharashtra". The assistant calls the search tool, and for plain-English requests such as "pharma companies in Gujarat" it can use the find tool.