# /tofler/companies

`POST /api/tofler/companies`

Price: 20 credits

Get an Indian company or LLP from Tofler by CIN or LLPIN: status, incorporation, capital, registered address, email, industry, people with DIN, locations with coordinates, charges, companies connected through directors, subsidiaries, Tofler score and risk flags, key metrics and five years of financial statements where Tofler shows them

## How to use it

Rupee amounts are in INR; financial statement values are in INR crores. Tofler often does not publish standalone statements, so standalone_financials is null when absent; consolidated_financials exists only for groups that file them. Find a CIN with tofler/companies/search.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `company` (string, required) — Company CIN, LLP LLPIN, foreign company number or tofler.in company URL (examples: "L17110MH1973PLC019786", "AAN-5710", "https://www.tofler.in/reliance-industries-limited/company/L17110MH1973PLC019786")

## Response

### 200 — Successful Response

- `@type` (string) (default: "ToflerCompany")
- `cin` (string, required)
- `name` (string, required)
- `url` (string, required)
- `is_llp` (boolean) (default: false)
- `status` (string, nullable)
- `updated_date` (integer, nullable)
- `description` (string, nullable)
- `website_url` (string, nullable)
- `email` (string, nullable)
- `state` (string, nullable)
- `industry` (string, nullable)
- `industry_tags` (array) (default: [])
- `products` (array) (default: [])
- `types` (array) (default: [])
- `incorporation_date` (integer, nullable)
- `incorporation_year` (integer, nullable)
- `last_agm_date` (integer, nullable)
- `registered_address` (string, nullable)
- `authorized_capital` (number, nullable)
- `paid_up_capital` (number, nullable)
- `contributed_capital` (number, nullable)
- `designated_partner_count` (integer, nullable)
- `partner_count` (integer, nullable)
- `revenue_range` (string, nullable)
- `key_metrics_period` (string, nullable)
- `key_metrics` (array) (default: [])
  - `@type` (string) (default: "ToflerKeyMetric")
  - `name` (string, required)
  - `value` (number, nullable)
  - `change` (number, nullable)
- `score` (string, nullable)
- `risks` (array) (default: [])
  - `@type` (string) (default: "ToflerRisk")
  - `level` (string, required)
  - `flags` (array) (default: [])
- `people` (array) (default: [])
  - `@type` (string) (default: "ToflerPerson")
  - `din` (string, nullable)
  - `pan` (string, nullable)
  - `name` (string, required)
  - `designation` (string, nullable)
  - `tenure` (string, nullable)
  - `is_shareholder` (boolean) (default: false)
  - `url` (string, nullable)
- `locations` (array) (default: [])
  - `@type` (string) (default: "ToflerLocation")
  - `location_type` (string, nullable)
  - `address` (string, nullable)
  - `state` (string, nullable)
  - `pincode` (string, nullable)
  - `latitude` (number, nullable)
  - `longitude` (number, nullable)
  - `map_label` (string, nullable)
- `charges` (array) (default: [])
  - `@type` (string) (default: "ToflerCharge")
  - `holder` (string, nullable)
  - `amount` (number, nullable)
  - `date` (integer, nullable)
- `connected_companies` (array) (default: [])
  - `@type` (string) (default: "ToflerConnectedCompany")
  - `cin` (string, nullable)
  - `name` (string, required)
  - `status` (string, nullable)
  - `paid_up_capital` (number, nullable)
  - `common_director_count` (integer, nullable)
  - `state` (string, nullable)
  - `url` (string, nullable)
- `subsidiaries` (array) (default: [])
  - `@type` (string) (default: "ToflerSubsidiary")
  - `cin` (string, nullable)
  - `name` (string, required)
  - `location` (string, nullable)
  - `incorporation_year` (integer, nullable)
  - `paid_up_capital` (number, nullable)
  - `url` (string, nullable)
- `standalone_financials` (object, nullable) — Five years of standalone statements in INR crores; Tofler often does not publish standalone statements, and the field is null when absent
  - `@type` (string) (default: "ToflerFinancials")
  - `periods` (array) (default: [])
  - `balance_sheet` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])
  - `balance_sheet_percent_of_assets` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])
  - `profit_loss` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])
  - `profit_loss_percent_of_income` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])
  - `ratios` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])
- `consolidated_financials` (object, nullable) — Five years of consolidated statements in INR crores; null when Tofler shows none
  - `@type` (string) (default: "ToflerFinancials")
  - `periods` (array) (default: [])
  - `balance_sheet` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])
  - `balance_sheet_percent_of_assets` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])
  - `profit_loss` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])
  - `profit_loss_percent_of_income` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])
  - `ratios` (array) (default: [])
    - `@type` (string) (default: "ToflerFinancialRow")
    - `label` (string, required)
    - `group` (string, nullable)
    - `values` (array) (default: [])

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

Tofler has no company under that CIN or LLPIN

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

