# ESG ratings

> A company's environmental, social and governance scores over time, newest first.

Source: https://wiseview.ai/docs/api/companies-esg

`GET https://api.wiseview.ai/v1/companies/{symbol}/esg`

A company's environmental, social and governance scores over time, newest first.

Each call counts against your allowance.

## Parameters

| Name | In | Type | What it does |
| --- | --- | --- | --- |
| `symbol` (required) | path | ticker | Stock ticker, like AAPL. |

## Answer

`data`, abridged — real answers carry more fields:

```json
{
  "ratings": [
    {
      "symbol": "AAPL",
      "date": "2026-06-30",
      "environmentalScore": 61.2,
      "socialScore": 47.9,
      "governanceScore": 58.4,
      "ESGScore": 55.8
    }
  ],
  "totalAvailable": 1,
  "truncated": false
}
```

## Samples

```bash
curl "https://api.wiseview.ai/v1/companies/AAPL/esg" \
  -H "Authorization: Bearer $WISEVIEW_API_KEY"
```

```python
import os
import requests

response = requests.get(
    "https://api.wiseview.ai/v1/companies/AAPL/esg",
    headers={"Authorization": f"Bearer {os.environ['WISEVIEW_API_KEY']}"},
)
response.raise_for_status()
print(response.json())
```

```javascript
const response = await fetch("https://api.wiseview.ai/v1/companies/AAPL/esg", {
  headers: { "Authorization": `Bearer ${process.env.WISEVIEW_API_KEY}` },
});
if (!response.ok) throw new Error(`WiseView answered ${response.status}`);
console.log(await response.json());
```
