Get company

circle-info

api-docsarrow-up-right Redoc document (api spec)

Retrieve company detail by id or name

get
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
id_or_namestringRequired

Company name spaces will be separated with '_' character, FE 'Green earth blockchain' will be 'Green_earth_blockchain'

Responses
get
/api/company/{id_or_name}
200

Success

The "/api/company/{id_or_name}" endpoint is used to retrieve details about a specific company by its id or name. It requires an API key with either "partner" or "admin" privileges. The company name is passed as a path parameter "id_or_name" with spaces separated by '_' characters, for example, "Green earth blockchain" would be represented as "Green_earth_blockchain".

The endpoint returns a JSON response with a 200 status code in case of success. The response body contains an "error" object with properties "code" and "message" that describes the error in case of failure. The "data" property contains the company details, including "company_constants", "id", and "company_name". The "company_constants" property has a "geis" property that is a number.

Last updated