README
This API returns a list of all company names available to the user. It can be used as a pre-step before invoking other GaiaLens APIs such as GaiaLens ESG Scores, Gaialens Historical ESG Scores and GaiaLens ESG News to make sure correct company names are provided in the requests.
Please Note: GaiaLens tracks over 17,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 API doesn’t take any arguments.
Header: The header must contain the below two parameters:
-
X-RapidAPI-Host: This must be set to ‘gaialens-company-names.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-company-names.p.rapidapi.com/companynames"
headers = {
"X-RapidAPI-Host": "gaialens-company-names.p.rapidapi.com",
"X-RapidAPI-Key": ""
}
response = requests.request("GET", url, headers=headers)
print(response.text)