/v1/list
List constituents
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/sp500-api/v1/list" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sp500-api/v1/list", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sp500-api/v1/list");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/sp500-api/v1/list",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"count": 21,
"total": 21,
"companies": [
{
"cik": "0001841666",
"name": "APA Corporation",
"sector": "Energy",
"symbol": "APA",
"founded": "1954",
"date_added": "1997-07-28",
"headquarters": "Houston, Texas",
"sub_industry": "Oil & Gas Exploration & Production"
},
{
"cik": "0001701605",
"name": "Baker Hughes",
"sector": "Energy",
"symbol": "BKR",
"founded": "2017",
"date_added": "2017-07-07",
"headquarters": "Houston, Texas",
"sub_industry": "Oil & Gas Equipment & Services"
},
{
"cik": "0001163165",
"name": "ConocoPhillips",
"sector": "Energy",
"symbol": "COP",
"founded": "2002",
"date_added": "1957-03-04",
"headquarters": "Houston, Texas",
"sub_industry": "Oil & Gas Exploration & Production"
},
{
"cik": "0000093410",
"name": "Chevron Corporation",
"sector": "Energy",
"symbol": "CVX",
"founded": "1879",
"date_added": "1957-03-04",
"headquarters": "Houston, Texas",
"sub_industry": "Integrated Oil & Gas"
},
{
"cik": "0001090012",
"name": "Devon Energy",
"sector": "Energy",
"symbol": "DVN",
"founded": "1971",
"date_added": "2000-08-30",
"headquarters": "Oklahoma City, Oklahoma",
"sub_industry": "Oil & Gas Exploration & Production"
},
{
"cik": "0000821189",
"name": "EOG Resources",
"sector": "Energy",
"symbol": "EOG",
"founded": "1999",
"date_added": "2000-11-02",
"headquarters": "Houston, Texas",
"sub_industry": "Oil & Gas Exploration & Production"
},
{
"cik": "0000033213",
"name": "EQT Corporation",
"sector": "Energy",
"symbol": "EQT",
"founded": "1888",
"date_added": "2022-10-03",
"headquarters": "Pittsburgh, Pennsylvania",
"sub_industry": "Oil & Gas Exploration & Production"
},
{
"cik": "0000895126",
"name": "Expand Energy",
"sector": "Energy",
"symbol": "EXE",
"founded": "1989",
"date_added": "2025-03-24",
"headquarters": "Oklahoma City, Okl
…