This API provides Environmental, Social, Governance and Overall scores for companies on a scale of 0 to 100. In addition to this, the API also provides other relevant metrics like Global Rank, Industry Rank and more.
Please Note: GaiaLens tracks over 19,000 companies, however only the top 2,000 companies by market capitalization are available via this API. In case you need more please visit https://www.gaia-lens.com/
Arguments: The allowed arguments for the API are: companyname, isin, sedol. The user must provide exactly one of these arguments. The API will return an error response if more than one or no arguments are provided.
companyname: The name of the company. e.g. ‘Apple Inc.’. This must be an exact match. We provide a companynames API (click here) that can be used to retrieve all the company names available.
isin: The International Securities Identification Number (ISIN) for the company. e.g. ‘US0378331005’
sedol: The stock exchange daily official list (SEDOL) for the company. e.g. ‘2046251’
Header: The header must contain the below two parameters:
X-RapidAPI-Host: This must be set to ‘gaialens-esg-scores.p.rapidapi.com’
X-RapidAPI-Key: This must contain the Rapid API key for the user
Sample python request code:
import requests
url = "https://gaialens-esg-scores.p.rapidapi.com/scores"
querystring = {"companyname":"Apple Inc."}
headers = {
"X-RapidAPI-Host": "gaialens-esg-scores.p.rapidapi.com",
"X-RapidAPI-Key": ""
}
response = requests.request("GET", url, headers=headers, params=querystring)
print(response.text)
Sample response:
[
{
"request_id": 30782,
"companyname": "Apple Inc.",
"industry": "Technology Hardware, Storage and Peripherals",
"country": "United States",
"exchangename": "Nasdaq Global Select",
"tickersymbol": "AAPL",
"Year": 2022,
"Overall Score": 68.7090505281,
"Overall Transparency Score": 89.2021032468,
"Environmental Pillar Score": 80.6235072386,
"Social Pillar Score": 66.9539942866,
"Governance Pillar Score": 65.8506549467,
"Overall Score Global Rank": "1756/17154",
"Overall Industry Rank": "28/151",
"Overall Region Rank": "434/3509",
"Latest Score Date": "15 May 2022"
}
]