💡API Reference

List of all companies covered

Gives you a list of the whole universe of companies available. No query parameters are required.

Company Details

Query params: company_id or isin

Search by company id or ISIN

Gives you a summary company profile and ESG snapshot including:

  • Company description and sector information

  • Listed securities

  • AI based ESG pulse and positive/negative ratio (how many instances have been + or - all time)

  • Executive salaries and payments

  • Activity involvement (e.g is the company involved in weapons manufacturing)

Company Screening

Query params: company_id

Gives you company Activity involvement (e.g is the company involved in weapons manufacturing)

Company ESG Sentiment / ESG Pulse

Query Params: company_id, group by (week, month, year), filter_options

Gives you a time series of the ESG sentiment grouped by week month or year

Provides the stock price if available for easy comparison

You can filter this by ESG topic, if you do the structure of this field is an array, with the topics separated by commas e.g ["Business Model Resilience","Product Design & Lifecycle Management"]

Response - all based on group by fields:

  • Sent_queryset - the overall ESG sentiment

  • Filtered_queryset - the filtered ESG sentiment if filter options were used

  • Stock_queryset - the stock price

External Scores

Query Params: Company_ID

Provides external scores and a correlation matrix + normalized scores

Industry Details

Query params: gicSector, time (optional)

Provides a list of companies in a given GIC sector and the total articles and overall sentiment

If no time filter, the data returned will be for all time. Alternatively, this can be for the last week, month or year (if companies do not have any data here then they will not be included)

ESG Event Feed / Snapshot

For the ESG Event Feed:

Query params - company_id, feed_type=mini

Allows you to get a feed of ESG events picked up by the AI algorithm for a company. This feed includes the headlines, links. You can further filter by sentiment score or esg_topic, or both. This is a paginated response

Optional Query params: sentiment_score (between -1 and 1), comparison (greater, less, or equal), esg_topics

Example: /api/company/nlp/company_id=190187&feed_type=mini&page=1&sentiment_score=0.1&comparison=greater&esg_topics=WATER+%26+WASTEWATER+MANAGEMENT

ESG Topics available:'GHG Emissions', 'Air Quality', 'Energy Management', 'Water & Wastewater Management', 'Waste & Hazardous Materials Management', 'Ecological Impacts', 'Product Design & Lifecycle Management', 'Business Model Resilience', 'Supply Chain Management', 'Materials Sourcing & Efficiency', 'Physical Impacts of Climate Change', 'Labor Practices', 'Employee Health & Safety', 'Employee Engagement, Diversity & Inclusion', 'Human Rights & Community Relations', 'Customer Privacy', 'Data Security', 'Access & Affordability', 'Product Quality & Safety', 'Customer Welfare', 'Selling Practices & Product Labeling', 'Business Ethics', 'Competitive Behavior', 'Management of the Legal & Regulatory Environment', 'Critical Incident Risk Management', 'Systemic Risk Management'

For an ESG snapshot vs industry

Query params - company_id, feed_type=flags

No filtering available - see Getting Started for an example

Industry and market ESG Feed

Query Params - feed_type (industry or recent)

Industry feed type = gives you a snapshot of ESG scores by GIC industry and historical time series

Recent feed type - gives you the latest ESG events across all companies as well as the current top 10 and bottom 10 companies

ESG Event Detail

Query params - id (from the ESG Event feed)

Provides the full text for any event that was picked up in company/NLP along with additional information

ESG Clustered Events (BETA)

Query params - company_id

Provides a summary of the clustered events (e.g articles that are similar, or from different sources) for a given company

ESG Clustered Event Detail

Query params - event_id

Provides detailed view for a specific clustered event

GET https://api.esganalytics.io/api/company/nlp/daily/

Query Parameters

{
    "count": 91,
    "next": "http://127.0.0.1:8001/api/company/nlp/daily/?page=2&published_at=2023-04-23",
    "previous": null,
    "results": {
        "details": "All flagged ESG relevant topics across universe for 2023-04-22 to 2023-04-23",
        "items": [
            {
                "id": 62215276,
                "published_at": "2023-04-22T23:30:00Z",
                "title": "ROSEN, A RESPECTED AND LEADING FIRM, Encourages Amgen Inc. Investors with Losses to Secure Counsel Before Important Deadline in Securities Class Action - AMGN",
                "tagged_sentences": [
                    {
                        "topic": "Selling Practices & Product Labeling",
                        "sentence": "According to the lawsuit, defendants throughout the Class Period made false and/or misleading statements and/or failed to disclose that: (1) the U.S. government claimed Amgen owed more than $3 billion in back taxes for tax years 2010, 2011, and 2012; (2) the U.S. government claimed Amgen owed more than $5 billion in back taxes for tax years 2013, 2014, and 2015; (3) the U.S. government would likely claim Amgen owed materially more to the U.S. government than investors had been led to believe for subsequent tax years for which the Company had used the same profit allocation treatment between its U.S. and Puerto Rico operations; (4) Amgen had not taken sufficient accruals to account for its outstanding tax liabilities; (5) Amgen had failed to comply with ASC 450 and other rules and regulations regarding the preparation of its periodic SEC filings; and (6) Amgen's refusal to pay taxes claimed by the U.S. government exposed the Company to a substantial risk of severe financial penalties imposed by the IRS.",
                        "esg_pulse": -0.9829
                    }
                ],
                "source": "PRNewswire",
                "source_fk": "",
                "sentiment_score": -0.9829,
                "sentiment_rank": "negative",
                "tagged_sent_topics": [
                    "Selling Practices & Product Labeling"
                ],
                "url": "https://www.prnewswire.com/news-releases/rosen-a-respected-and-leading-firm-encourages-amgen-inc-investors-with-losses-to-secure-counsel-before-important-deadline-in-securities-class-action--amgn-301804323.html"
            },
            {...}
            ]
        }    
{

Last updated