The Renewable Energy 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/7015/renewable+energy+data+api/10840/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/7015/renewable+energy+data+api/10841/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 Renewable Energy 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.
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:
6,890ms
Service Level:
100%
Response Time:
54ms
Service Level:
100%
Response Time:
10,990ms
Service Level:
100%
Response Time:
11,502ms
Service Level:
100%
Response Time:
2,645ms
Service Level:
100%
Response Time:
74ms
Service Level:
100%
Response Time:
60ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
2,104ms
Service Level:
100%
Response Time:
3,891ms
Service Level:
100%
Response Time:
4,506ms
Service Level:
100%
Response Time:
4,937ms
Service Level:
100%
Response Time:
4,189ms
Service Level:
100%
Response Time:
4,687ms
Service Level:
100%
Response Time:
227ms
Service Level:
100%
Response Time:
8,591ms
Service Level:
100%
Response Time:
260ms
Service Level:
100%
Response Time:
5,607ms
Service Level:
100%
Response Time:
6,078ms