The Global Oil Data Retrieval API provides a RESTful interface to retrieve oil production data from countries around the world, based on historical and current data found on reliable online sources. This API is designed for developers, researchers, and analysts who need easy, programmatic access to global oil output statistics. It features cleanly separated endpoints for querying the list of countries, available years, and oil production volumes. With efficient filtering capabilities and structured JSON responses, this API supports integration with dashboards, analytics systems, and business intelligence tools.
[
{
"countries": [
"United States",
"Saudi Arabia",
"Russia",
"Canada",
"Iran",
"Iraq",
"China",
"United Arab Emirates",
"Brazil",
"Kuwait",
"Mexico",
"Kazakhstan",
"Norway",
"Qatar",
"Nigeria",
"Algeria",
"Argentina",
"Libya",
"Angola",
"Oman",
"Venezuela",
"Colombia",
"India",
"United Kingdom",
"Egypt",
"Guyana",
"Indonesia",
"Azerbaijan",
"Malaysia",
"Ecuador",
"Australia",
"Thailand",
"Republic of the Congo",
"Gabon",
"Turkmenistan",
"Vietnam",
"Chad",
"Peru",
"Brunei",
"Equatorial Guinea",
"Italy",
"South Sudan",
"Trinidad and Tobago",
"Romania",
"Denmark",
"Yemen",
"Uzbekistan",
"Sudan",
"Syria",
"Tunisia"
]
}
]
curl --location --request POST 'https://zylalabs.com/api/9435/global+oil+data+retrieval+api/17182/get+countries+with+oil+production+data' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"United States": {
"Daily Oil Production 2024 (barrels/day)": "20.1M",
"Total Oil Production 2024 (tonnes)": "858M"
}
}
]
curl --location --request POST 'https://zylalabs.com/api/9435/global+oil+data+retrieval+api/17185/get+oil+production+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required","year":"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.
You can retrieve global oil production statistics by country and year, including specific oil production volumes.
The API returns data in structured JSON format, making it easy to integrate into applications and systems.
The API can be used for analytics, dashboard creation, research on oil production trends, and business intelligence reporting.
The API responses include fields such as country name, year, and oil production volume, allowing for detailed analysis.
Developers can use the API's RESTful endpoints to query data based on specific countries and years, facilitating seamless integration into their existing workflows.
This endpoint returns a list of countries for which oil production data is available. The response includes an array of country names, allowing users to identify which countries they can query for specific oil production statistics.
The response includes the country name as a key, with nested fields for daily oil production (in barrels/day) and total oil production (in tonnes) for the specified year, providing detailed insights into each country's oil output.
Users can customize their requests by specifying the country parameter in the "get oil production by country" endpoint. This allows them to retrieve oil production data for a specific country of interest, enhancing the relevance of the data returned.
The response data is organized in a structured JSON format. For the "get oil production by country" endpoint, each country is represented as a key with its production data nested within, making it easy to parse and utilize in applications.
The data is sourced from reliable online resources that compile global oil production statistics. This ensures that the information is accurate and reflects current and historical production trends across various countries.
Typical use cases include analyzing oil production trends over time, comparing production levels between countries, and integrating the data into dashboards or business intelligence tools for strategic decision-making.
Users can leverage the structured JSON responses to easily extract and visualize oil production statistics. By integrating this data into analytics platforms, they can create reports, charts, and dashboards that inform business strategies and research.
If users receive partial or empty results, they should verify the country parameter used in their request. Additionally, checking the availability of data for the specified year may help, as not all countries may have production data for every year.
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:
1,650ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
7,449ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
10,438ms
Service Level:
100%
Response Time:
3,207ms
Service Level:
100%
Response Time:
168ms
Service Level:
100%
Response Time:
11,402ms
Service Level:
67%
Response Time:
1,982ms
Service Level:
100%
Response Time:
916ms
Service Level:
100%
Response Time:
11,149ms
Service Level:
100%
Response Time:
12,613ms
Service Level:
100%
Response Time:
469ms
Service Level:
100%
Response Time:
13,451ms
Service Level:
100%
Response Time:
874ms
Service Level:
100%
Response Time:
8,351ms
Service Level:
100%
Response Time:
12,357ms
Service Level:
100%
Response Time:
8,944ms
Service Level:
100%
Response Time:
3,050ms