Equities

Get sectors

Fetch sector and sub-sector information


GET /equities-v2/sectors

Request

https://premium.aiera.com/api/equities-v2/sectors

Response

[
  {
    "sector_id": 1,
    "gics_code": "25",
    "name": "Consumer Discretionary",
    "subsectors": [
      {
        "subsector_id": 1,
        "gics_code": "25203010",
        "gics_industry_code": "252030",
        "name": "Apparel, Accessories & Luxury Goods"
      }, ...
    ]
  }, ...
]

Code Samples

Bash

curl --request GET \
  --url 'https://premium.aiera.com/api/equities-v2/sectors' \
  --header 'X-API-Key: xxx'

Python

import requests
requests.request("GET", "https://premium.aiera.com/api/equities-v2/sectors", headers={"X-API-Key": "xxx"})
Previous
Delete Transcrippet™