Overview
Government classifications such as NIC codes are detailed but hard for people to use when they want "handicrafts" or "pharma". IndiaCos groups businesses into a smaller master of sectors and categories, plus business functions such as manufacturer or exporter. Developers building filters, dropdowns or lead tools need the exact slugs and names of that master. Each category also carries counts of companies and GST registrations, which help size a market before building a list.
This endpoint returns the whole master in one call: sectors with slug and name, each with categories carrying slug, name, description and counts of companies and GST registrations, and functions with slug and name. Use the category and function slugs in /api/v1/companies, /api/v1/gst-registrations and the AI Business Finder API, whose understood block returns the same slugs. It takes no parameters.
- Input
- None
- Returns
- sectors (with categories, descriptions and counts) and functions
- Coverage
- The full IndiaCos business-category master
- Source
- IndiaCos category master, mapped from NIC activity codes
- Auth
- API key sent as Authorization: Bearer (or X-API-Key), or OAuth sign-in through the IndiaCos MCP server
- Register
- IndiaCos (indiacos.com)
- 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
sectorsThe top-level sectors, each with its categories
sectors[].slugMachine-readable id of the sector
sectors[].nameDisplay name of the sector
categoriesCategories inside a sector
categories[].slugCategory slug to use as a filter
categories[].descDescription of what the category covers
categories[].companiesNumber of companies in the category
categories[].gst_registrationsNumber of GST registrations in the category
functionsBusiness functions, each with slug and name
Use cases
Filter dropdowns
A lead generation tool loads the category master once a day and builds its sector and category dropdowns from it. Users pick "Manufacturing, Handicrafts & artisan goods" and the tool passes the category slug to the company list endpoint, so filter values always match what the API accepts.
Mapping your own taxonomy
A bank's analytics team maps its internal industry codes to IndiaCos categories using the names and descriptions, so portfolio reports can be compared with market counts of companies and GST registrations in each category. Function slugs fill a second dropdown in the same way.
Sizing a market
A SaaS company selling to restaurants reads the counts for the restaurant category to size how many companies and GST registrations sit in its target market before planning a sales campaign. The mapping is reviewed by the team whenever the master changes.
How to use it
- Create an IndiaCos API key.
- Call GET https://indiacos.com/api/v1/categories.
- Store the sector, category and function slugs.
- Pass a category or function slug to /api/v1/companies or /api/v1/gst-registrations, or compare with understood in the AI Business Finder API.
Example
Request
curl "https://indiacos.com/api/v1/categories" \
-H "Authorization: Bearer YOUR_KEY" Response (illustrative)
{
"sectors": [
{
"slug": "manufacturing",
"name": "Manufacturing",
"categories": [
{
"slug": "handicrafts",
"name": "Handicrafts & artisan goods",
"desc": "Handmade and artisan products...",
"companies": 0,
"gst_registrations": 0
},
{
"slug": "pharma",
"name": "Pharmaceuticals & medicines",
"desc": "Medicines and pharmaceutical preparations...",
"companies": 0,
"gst_registrations": 0
}
]
}
],
"functions": [{"slug": "manufacturer", "name": "Manufacturer"}, {"slug": "exporter", "name": "Exporter"}]
} 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.
Glossary
- Category slug
- A short lower-case id for an IndiaCos business category, such as handicrafts or pharma. It is the value the list endpoints and the AI Business Finder use for the category filter.
- NIC code
- A National Industrial Classification code, the Government of India's standard code for economic activities. IndiaCos maps NIC codes to its own categories through a reviewed mapping, so each category groups many related NIC activities.
Good to know
- Counts are computed nightly and may be missing until the next run.
Frequently asked questions
What business categories does IndiaCos use?
IndiaCos groups businesses into sectors, such as Manufacturing, and categories inside them, such as Handicrafts & artisan goods, plus business functions such as manufacturer and exporter. The Business Category API returns the full master with slugs, descriptions and counts. Use the slugs as filters.
How do I filter companies by category?
Call the Business Category API, pick a category slug, and pass it to /api/v1/companies or /api/v1/gst-registrations as the category filter. The AI Business Finder API picks the same slugs automatically from a plain-English request. Function slugs, such as manufacturer, work the same way.
How do categories relate to NIC codes?
Categories are built from NIC activity codes through a reviewed mapping. Each category groups related NIC activities, which is easier to use than individual codes. Industry pages on indiacos.com still show the NIC code view. The descriptions explain what each category covers.
How is this different from the government NIC code list?
The NIC list is a detailed government classification of activities and does not tell you how many businesses sit in each code. This endpoint gives a simpler master with counts of companies and GST registrations, ready to use as filters on IndiaCos lists.
Does an AI assistant need this endpoint?
Usually not. An assistant connected to the IndiaCos MCP server can use the find tool with a plain-English request, and the tool chooses the category for it. The category endpoint is for developers building their own filters. It suits code that needs exact slugs.
Why do some counts show zero?
Counts are computed nightly. When they are not ready yet, the response says so in a note and the counts can show zero; call again the next day for the figures. The sectors, categories and functions are still returned while counts are pending.