Skip to main content

Fetch Company and LLP Master Data API - v1

This document highlights the Fetch Fetch Company and LLP Master Data API - v1 details.

API Description

Objective

The Fetch Company and LLP Master Data API - v1 authenticates the Company Identity Number(CIN), Limited Liability Partnership Identification Number(LLPIN), Foreign Company Registration Number(FCRN) and Foreign Limited Liability Partnership Identification Numbers (FLLPIN) issued by the Ministry of Corporate Affairs (MCA) and retrieves the master data associated with it.

InputOutput
The unique CIN, LLPIN, FCRN or FLLPINThe master data of the company or the Limited Liability Partnership(LLP) associated with the identity number

API URL

fetchCINDetails

Overview

The API is RESTful and uses standard HTTP verbs and status codes. The responses are in JSON format and you should upload all images and files as form-data through a POST request.

Authentication

You need a unique pair of application ID ( appId ) and application key (appKey) from HyperVerge to verify your identity for accessing the API.

API Request Details

Method - POST

Headers

ParameterMandatory or OptionalDescriptionValid Values
content-type Mandatory This parameter defines the media type for the request payload.application/json
appId Mandatory Application ID shared by HyperVerge N/A. This is a unique value.
appKey MandatoryApplication Key shared by HyperVerge N/A. This is a unique value.
transactionIdMandatoryUnique ID for the customer journey. N/A. Any defined unique value mapped to a transaction in your business ecosystem.

Inputs

The following table provides the details of the parameters required for the API's request body:

ParameterDescriptionMandatory or OptionalAllowed ValuesDefault Value
idThe twenty-one characters alphanumeric unique identification code allotted by the central government to each company or the seven characters alphanumeric unique identification code issued to an LLPMandatoryNot ApplicableNot Applicable
consentThe parameter value should be set to 'Y' in the requestMandatoryNot ApplicableNot Applicable
reasonA valid reason for the purpose of verification. Minimum length: 20 charactersMandatoryNot ApplicableNot Applicable

Request

The following code snippet demonstrates a standard curl request for the API:

curl --location --request POST 'https://ind-engine.thomas.hyperverge.co/v1/fetchCINDetails' \
--header 'Content-Type: application/json' \
--header 'appId: <Enter_the_HyperVerge_appId>' \
--header 'appKey: <Enter_the_HyperVerge_appKey>' \
--header 'transactionId: <Enter_the_HyperVerge_transactionID>' \
--data '{
"id": "<Enter_the_unique_ID>",
"consent": "<Enter_Y_or_N>",
"reason": "<Enter_the_valid_reason>"
}'

Success Response

The following code snippet demonstrates a success response from the API:

{
"status": "success",
"statusCode": "200",
"result": {
"code": 200,
"data": {
"company_master_data": {
"company_category": "<company_category>",
"email_id": "<email_id>",
"class_of_company": "<class_of_company>",
"date_of_last_agm": "<date_of_last_agm>",
"registered_address": "<registered_address>",
"registration_number": "<registration_number>",
"paid_up_capital(rs)": "<paid_up_capital>",
"whether_listed_or_not": "<whether_listed_or_not>",
"suspended_at_stock_exchange": "<suspended_at_stock_exchange>",
"cin": "<cin>",
"company_subcategory": "<company_subcategory>",
"authorised_capital(rs)": "<authorised_capital>",
"company_status(for_efiling)": "<company_status>",
"roc_code": "<roc_code>",
"date_of_balance_sheet": "<date_of_balance_sheet>",
"date_of_incorporation": "<date_of_incorporation>",
"company_name": "<company_name>",
"active_compliance": "<active_compliance>",
"rd_region": "<rd_region>",
"balance_sheets": [],
"annual_returns": []
},
"charges": [
{
"date_of_creation": "<date_of_creation>",
"date_of_modification": "<date_of_modification>",
"charge_amount": "<charge_amount>",
"status": "<status>"
}
// Other charge entries follow the same structure
],
"directors/signatory_details": [
{
"end_date": "<end_date>",
"din/pan": "<din/pan>",
"designation": "<designation>",
"begin_date": "<begin_date>",
"name": "<name>"
}
// Other director/signatory details follow the same structure
]
}
},
"metaData": {
"requestId": "<Request_Id>"
}
}

Success Response Details

The following table outlines the details of the success response from the API:

Field NameTypeDescription
statusStringIndicates whether the request was successful. Expected value: "success".
statusCodeStringThe HTTP status code. Expected value: "200".
resultObjectContains the detailed response data.
company_categoryStringThe category of the company (e.g., "Company limited by shares").
email_idStringThe registered email ID of the company.
class_of_companyStringThe classification of the company (e.g., "Public").
date_of_last_agmStringDate of the last Annual General Meeting (AGM).
chargesArrayA list of charges associated with the company.
charges.charge_idStringThe unique identifier for the charge.
charges.charge_amountStringThe amount associated with the charge.
charges.charge_dateStringThe date on which the charge was created.
charges.charge_statusStringThe current status of the charge.
directorsArrayA list of directors associated with the company.
directors.director_idStringThe unique identifier of the director.
directors.director_nameStringThe full name of the director.
directors.date_of_appointmentStringThe date the director was appointed.
signatory_detailsArrayA list of signatories associated with the company.
signatory_details.signatory_idStringThe unique identifier of the signatory.
signatory_details.signatory_nameStringThe full name of the signatory.
signatory_details.signatory_designationStringThe designation of the signatory.

Failure Response

The following code snippet shows a failure response from the API.

{
"status": "failure",
"statusCode": "422",
"error": {
"transaction_id": "<Transaction_ID>",
"code": 422,
"message": "Entered CIN/LLPIN/FLLPIN/FCRN is not found. Please enter valid details.",
"timestamp": <Time_Stamp>
}
}

Error Response

The following code snippets show the error responses from the API.

{
"status": "failure",
"statusCode": "422",
"error": {
"message": "Invalid parameter: Consent is required.",
"timestamp": <Time_Stamp>
},
"metaData": {
"requestId": "<Request_ID>"
}
}

Failure and Error Response Details

Error CodesError MessageError Description
422Invalid parameter: Consent is required.The request does not have the mandatory consent parameter
422Entered CIN/LLPIN/FLLPIN/FCRN is not found. Please enter valid details
info
CIN/FCRN/LLPIN/FLLPIN must be of the pattern [ADDDDDAADDDDAAADDDDDD] for CIN, [FDDDDD] for FCRN, [AAA-DDDD] for LLPIN and [FAAA-DDDD] for FLLPIN where A is an alphabet, D is a digit (0-9) and F is a literal F
Kindly check the format of the id input in the request
422No Relation data exists for the entered DINThe API failed to retrieve any information against the DIN input
500Internal Server ErrorPlease contact the HyperVerge team for resolution
Was this helpful?
Ask AIBeta
Hi! How can I help?
Ask me anything about HyperVerge products, APIs, and SDKs.
Try asking: