The Exports Data API is designed to extract and serve export-related information from the provided dataset, offering users the ability to explore global trade statistics in an efficient and structured way. Instead of delivering all data in a single request, the API allows users to fetch country names separately and retrieve detailed export figures per country through parameterized requests. This segmented approach enhances data accessibility, minimizes response size, and improves performance. The API supports filtering, sorting, and data aggregation, making it a valuable resource for researchers, economists, and businesses analyzing global trade trends.
{"countries":["China","United States","Germany","United Kingdom","France","Netherlands","Japan","Italy","Singapore","India","South Korea","United Arab Emirates","Ireland","Canada","Hong Kong (CN)","Switzerland","Mexico","Spain","Taiwan","Belgium","Poland","Russia","Australia","Brazil","Vietnam","Saudi Arabia","Turkey","Thailand","Norway","Indonesia","Sweden","Malaysia","Denmark","Austria","Czech Republic","Israel","Luxembourg","Qatar","Hungary","South Africa","Romania","Finland","Slovakia","Kuwait","Chile","Greece","Portugal","Argentina","Philippines","Kazakhstan","Iraq","Iran","Egypt","Colombia","Peru","Nigeria","Algeria","Lithuania","Bulgaria","Bangladesh","Puerto Rico (US)","Morocco","New Zealand","Ukraine","Slovenia","Angola","Azerbaijan","Belarus","Oman","Croatia","Serbia","Pakistan","Ecuador","Estonia","Bahrain","Latvia","Venezuela","Costa Rica","Panama","Macau (CN)","Cyprus","Cambodia","Malta","Dominican Republic","Ghana","Uruguay","Democratic Republic of the Congo","Uzbekistan","Tunisia","Syria","Myanmar","C\u00f4te d'Ivoire","Guatemala","Paraguay","Bolivia","Jordan","Sri Lanka","Iceland","Zambia","Kenya","Papua New Guinea","Bosnia and Herzegovina","Trinidad and Tobago","Brunei","Mongolia","Guinea","North Macedonia","Lebanon","El Salvador","Armenia","Libya","Ethiopia","Mozambique","Honduras","Cuba","Tanzania","Turkmenistan","Georgia","Botswana","Nicaragua","Laos","Cameroon","Albania","Equatorial Guinea","Chad","Jamaica","Burkina Faso","Uganda","Moldova","Sudan","Gabon","Mali","Senegal","Zimbabwe","Djibouti","Maldives","Namibia","Mauritius","Republic of the Congo","South Sudan","Guyana","Benin","Cayman Islands (UK)","Kosovo","Palestine","San Marino","Madagascar","Kyrgyzstan","Bahamas","Mauritania","Montenegro","Aruba (NL)","Rwanda","Nepal","Suriname","Andorra","Fiji","Timor-Leste","Barbados","Eswatini","New Caledonia (FR)","Tajikistan","Seychelles","Togo","Malawi","Niger","Afghanistan","Somalia","Belize","Cura\u00e7ao (NL)","Haiti","Faroe Islands (DK)","French Polynesia (FR)","Bermuda (UK)","Sierra Leone","Lesotho","Yemen","Cape Verde","Turks and Caicos Islands (UK)","Bhutan","Sint Maarten (NL)","Antigua and Barbuda","Saint Lucia","Liberia","Solomon Islands","Grenada","Saint Kitts and Nevis","Eritrea","Guinea-Bissau","Central African Republic","Burundi","Samoa","Comoros","Saint Vincent and the Grenadines","Gambia","Marshall Islands","Micronesia","Dominica","Vanuatu","S\u00e3o Tom\u00e9 and Pr\u00edncipe","Tonga","Nauru","Palau","Kiribati","Tuvalu"]}
curl --location --request POST 'https://zylalabs.com/api/6868/exports+data+api/10417/get+countries+with+exports+data' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"country":"Argentina","exports_in_US$_million":102947}
curl --location --request POST 'https://zylalabs.com/api/6868/exports+data+api/10419/get+exports+data+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{"country":"Argentina","top_good_exports":"Soybeans"}
curl --location --request POST 'https://zylalabs.com/api/6868/exports+data+api/10420/get+top+goods+exports' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"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 Exports Data API provides structured access to export data by country, including country lists and detailed export statistics. Users can retrieve specific export figures and analyze global trade trends.
The API enhances data accessibility and performance by allowing users to fetch country names separately and retrieve detailed export figures through optimized, parameterized requests. This segmented approach minimizes response size and improves loading times.
Yes, the Exports Data API supports filtering, sorting, and data aggregation, enabling users to customize their queries and analyze export data according to specific criteria.
To retrieve detailed export statistics for a specific country using the Exports Data API, you can use the optimized endpoints with the appropriate query parameters. First, fetch the list of countries available through the API. Then, make a request to the endpoint designed for export figures, including the country identifier as a parameter. This segmented approach allows you to access only the data you need, enhancing performance and reducing response size.
The "get countries with exports data" endpoint returns a list of countries available in the dataset. The "get exports data by country" endpoint provides specific export figures for a selected country, while the "get top goods exports" endpoint returns the leading export goods for that country.
The response from "get countries with exports data" includes a "countries" array. The "get exports data by country" endpoint returns "country" and "exports_in_US$_million." The "get top goods exports" endpoint provides "country" and "top_good_exports."
Each endpoint returns data in JSON format. The "get countries" endpoint provides an array of country names, while the other two endpoints return objects containing specific export data, making it easy to parse and utilize in applications.
The "get exports data by country" and "get top goods exports" endpoints require a "country" parameter to specify which country's data to retrieve. Users must ensure the country name matches those returned by the "get countries" endpoint.
The "get countries with exports data" endpoint provides a comprehensive list of countries. The "get exports data by country" endpoint delivers detailed export statistics, while the "get top goods exports" endpoint highlights the primary goods exported by a specified country.
Users can customize requests by selecting specific countries from the list obtained through the "get countries" endpoint. By specifying the desired country in the other endpoints, users can tailor the data to their needs, focusing on particular regions or export categories.
Typical use cases include market analysis, trade research, and economic forecasting. Researchers and businesses can leverage the data to identify export trends, assess market opportunities, and evaluate the performance of specific goods in international trade.
Data accuracy is maintained through regular updates and quality checks from reliable sources. The API aggregates data from trusted trade databases, ensuring that users receive accurate and up-to-date export statistics for their analyses.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
69ms
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
14,985ms
Service Level:
100%
Response Time:
10,425ms
Service Level:
100%
Response Time:
69ms
Service Level:
100%
Response Time:
89ms
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
1,867ms
Service Level:
100%
Response Time:
3,263ms
Service Level:
100%
Response Time:
1,017ms
Service Level:
100%
Response Time:
37ms
Service Level:
100%
Response Time:
819ms
Service Level:
100%
Response Time:
861ms
Service Level:
100%
Response Time:
1,541ms
Service Level:
100%
Response Time:
285ms
Service Level:
100%
Response Time:
3,408ms
Service Level:
100%
Response Time:
684ms
Service Level:
100%
Response Time:
2,429ms