Get company
Last updated
Last updated
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.