The Energy Insights Data API provides efficient access to information from Yahoo Finance's energy sector page. Users can retrieve company names with one lightweight request and fetch detailed financial information for specific companies, such as stock prices, market capitalization, and performance metrics, with a separate endpoint. This two-step structure minimizes data transfer overhead, making the API ideal for applications requiring real-time, precise data for market analysis or financial research.
{"companies":[{"company_id":"TXGE","company_name":"Texas Gulf Energy, Incorporated"},{"company_id":"XOM","company_name":"Exxon Mobil Corporation"},{"company_id":"CVX","company_name":"Chevron Corporation"},{"company_id":"COP","company_name":"ConocoPhillips"},{"company_id":"EOG","company_name":"EOG Resources, Inc."},{"company_id":"EPD","company_name":"Enterprise Products Partners L.P."},{"company_id":"WMB","company_name":"The Williams Companies, Inc."},{"company_id":"ET","company_name":"Energy Transfer LP"},{"company_id":"OKE","company_name":"ONEOK, Inc."},{"company_id":"KMI","company_name":"Kinder Morgan, Inc."}]}
curl --location --request POST 'https://zylalabs.com/api/7013/energy+insights+data+api/10836/get+company+names' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"symbol":"KMI","price":26.57,"market_cap":"59.018B","performance":{"day_change":"+0.02%","ytd_return":"+50.60%"},"sector":"Energy"}
curl --location --request POST 'https://zylalabs.com/api/7013/energy+insights+data+api/10837/get+energy+company+details' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"company_ID":"Required"}'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API provides structured access to energy sector companies' names and financial details, ensuring optimal performance by separating requests.
You can get a list of company names and, for each company, retrieve details like stock prices, market cap, and performance metrics.
Use the "get energy company details" endpoint and provide the company's stock symbol as a parameter.
The API returns data in a clean JSON format for easy integration into applications.
The Energy Insights Data API allows you to retrieve comprehensive data on the energy sector, including company names, stock prices, market capitalization, and various performance metrics for specific companies.
The "get company names" endpoint returns a list of companies in the energy sector, including their IDs and names. The "get energy company details" endpoint provides detailed financial information for a specific company, including stock price, market capitalization, and performance metrics.
For the "get company names" endpoint, key fields include "company_id" and "company_name." For the "get energy company details" endpoint, important fields are "symbol," "price," "market_cap," and "performance," which includes "day_change" and "ytd_return."
The response data is structured in JSON format. The "get company names" endpoint returns an array of company objects, while the "get energy company details" endpoint returns a single object with financial metrics and performance data.
The "get company names" endpoint provides a list of energy sector companies, while the "get energy company details" endpoint offers financial metrics such as stock price, market cap, and performance indicators for a specified company.
Users can customize requests by specifying the company symbol when using the "get energy company details" endpoint. This allows retrieval of tailored financial information for the desired company.
In the "get energy company details" response, "symbol" refers to the company's stock ticker, "price" indicates the current stock price, "market_cap" shows the company's total market value, and "performance" provides insights into daily and year-to-date changes.
Typical use cases include market analysis, financial research, investment decision-making, and tracking performance trends of energy sector companies based on real-time data.
Data accuracy is maintained through sourcing from reputable financial platforms like Yahoo Finance, which regularly updates information to reflect current market conditions and company performance metrics.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
7,033ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
2,645ms
Service Level:
100%
Response Time:
69ms
Service Level:
100%
Response Time:
2,898ms
Service Level:
60%
Response Time:
4,129ms
Service Level:
100%
Response Time:
480ms
Service Level:
100%
Response Time:
22ms
Service Level:
100%
Response Time:
4,674ms
Service Level:
100%
Response Time:
164ms
Service Level:
100%
Response Time:
237ms
Service Level:
100%
Response Time:
104ms
Service Level:
100%
Response Time:
1,064ms
Service Level:
100%
Response Time:
8,658ms
Service Level:
100%
Response Time:
1,708ms
Service Level:
100%
Response Time:
748ms
Service Level:
100%
Response Time:
354ms
Service Level:
100%
Response Time:
264ms
Service Level:
100%
Response Time:
669ms