This API provides full access to historical and projected series of Gross Domestic Product (GDP) for different countries and regions, covering several decades of economic information. Its main purpose is to provide a reliable and structured resource for analysts, researchers, developers, and financial sector professionals who require comparable and consistent macroeconomic indicators.
Each annual record includes data such as GDP percentage growth, total nominal GDP, nominal GDP per capita, GDP adjusted for purchasing power parity (PPP), GDP per capita in PPP, and the economy's estimated share of global GDP. These indicators are returned in an organized and uniform JSON format, facilitating direct integration into applications, econometric models, interactive visualizations, and business intelligence tools.
With this API, users can automate data collection processes, generate dynamic reports, and ensure the consistency of figures in research projects or customer-oriented products. It is a versatile tool, designed for easy integration and providing a clear and reliable overview of the historical and future economic performance of any country or region available in the database.
[{"country": "CAN", "year": 1980, "gdp_growth": 2.2, "gdp_nominal": 276.064, "gdp_per_capita_nominal": 11281.422, "gdp_ppp": 290.29, "gdp_per_capita_ppp": 11862.755, "gdp_ppp_share": 2.192}, {"country": "CAN", "year": 1981, "gdp_growth": 3.5, "gdp_nominal": 307.246, "gdp_per_capita_nominal": 12396.666, "gdp_ppp": 328.886, "gdp_per_capita_ppp": 13269.808, "gdp_ppp_share": 2.224}, {"country": "CAN", "year": 1982, "gdp_growth": -3.2, "gdp_nominal": 314.639, "gdp_per_capita_nominal": 12543.938, "gdp_ppp": 338.153, "gdp_per_capita_ppp": 13481.384, "gdp_ppp_share": 2.142}, {"country": "CAN", "year": 1983, "gdp_growth": 2.6, "gdp_nominal": 341.863, "gdp_per_capita_nominal": 13493.198, "gdp_ppp": 360.398, "gdp_per_capita_ppp": 14224.769, "gdp_ppp_share": 2.143}, {"country": "CAN", "year": 1984, "gdp_growth": 5.9, "gdp_nominal": 356.728, "gdp_per_capita_nominal": 13947.358, "gdp_ppp": 395.431, "gdp_per_capita_ppp": 15460.587, "gdp_ppp_share": 2.172}, {"country": "CAN", "year": 1985, "gdp_growth": 4.7, "gdp_nominal": 366.184, "gdp_per_capita_nominal": 14185.922, "gdp_ppp": 427.262, "gdp_per_capita_ppp": 16552.087, "gdp_ppp_share": 2.196}, {"country": "CAN", "year": 1986, "gdp_growth": 2.1, "gdp_nominal": 379.015, "gdp_per_capita_nominal": 14539.75, "gdp_ppp": 445.111, "gdp_per_capita_ppp": 17075.347, "gdp_ppp_share": 2.172}, {"country": "CAN", "year": 1987, "gdp_growth": 4.1, "gdp_nominal": 433.14, "gdp_per_capita_nominal": 16408.139, "gdp_ppp": 474.716, "gdp_per_capita_ppp": 17983.107, "gdp_ppp_share": 2.176}, {"country": "CAN", "year": 1988, "gdp_growth": 4.4, "gdp_nominal": 509.38, "gdp_per_capita_nominal": 19041.182, "gdp_ppp": 513.134, "gdp_per_capita_ppp": 19181.534, "gdp_ppp_share": 2.176}, {"country": "CAN", "year": 1989, "gdp_growth": 2.3, "gdp_nominal": 567.225, "gdp_per_capita_nominal": 20842.455, "gdp_ppp": 545.72, "gdp_per_capita_ppp": 20052.26, "gdp_ppp_share": 2.149}, {"country": "CAN", "year": 1990, "gdp_growth": 0.2, "gdp_nominal": 596.089, "gdp_per_capita_nominal": 21572.137, "gdp_ppp": 567.292, "gdp_per_capita_ppp": 20529.995, "gdp_ppp_share": 2.074}, {"country": "CAN", "year": 1991, "gdp_growth": -2.1, "gdp_nominal": 612.514, "gdp_per_capita_nominal": 21885.57, "gdp_ppp": 574.217, "gdp_per_capita_ppp": 20517.188, "gdp_ppp_share": 1.986}, {"country": "CAN", "year": 1992, "gdp_growth": 0.9, "gdp_nominal": 594.376, "gdp_per_capita_nominal": 20984.778, "gdp_ppp": 592.533, "gdp_per_capita_ppp": 20919.697, "gdp_ppp_share": 1.799}, {"country": "CAN", "year": 1993, "gdp_growth": 2.7, "gdp_nominal": 579.059, "gdp_per_capita_nominal": 20210.452, "gdp_ppp": 622.697, "gdp_per_capita_ppp": 21733.519, "gdp_ppp_share": 1.813}, {"country": "CAN", "year": 1994, "gdp_growth": 4.5, "gdp_nominal": 579.913, "gdp_per_capita_nominal": 20024.581, "gdp_ppp": 664.576, "gdp_per_capita_ppp": 22948.032, "gdp_ppp_share": 1.842}, {"country": "CAN", "year": 1995, "gdp_growth": 2.7, "gdp_nominal": 605.941, "gdp_per_capita_nominal": 20706.725, "gdp_ppp": 696.709, "gdp_per_capita_ppp": 23808.51, "gdp_ppp_share": 1.825}, {"country": "CAN", "year": 1996, "gdp_growth": 1.7, "gdp_nominal": 630.598, "gdp_per_capita_nominal": 21325.69, "gdp_ppp": 721.447, "gdp_per_capita_ppp": 24398.047, "gdp_ppp_share": 1.788}, {"country": "CAN", "year": 1997, "gdp_growth": 4.3, "gdp_nominal": 655.01, "gdp_per_capita_nominal": 21930.485, "gdp_ppp": 765.299, "gdp_per_capita_ppp": 25623.086, "gdp_ppp_share": 1.792}, {"country": "CAN", "year": 1998, "gdp_growth": 3.9, "gdp_nominal": 634.004, "gdp_per_capita_nominal": 21046.556, "gdp_ppp": 804.028, "gdp_per_capita_ppp": 26690.736, "gdp_ppp_share": 1.814}, {"country": "CAN", "year": 1999, "gdp_growth": 5.1, "gdp_nominal": 678.417, "gdp_per_capita_nominal": 22340.553, "gdp_ppp": 857.326, "gdp_per_capita_ppp": 28232.099, "gdp_ppp_share": 1.843}, {"country": "CAN", "year": 2000, "gdp_growth": 5.1, "gdp_nominal": 744.631, "gdp_per_capita_nominal": 24296.721, "gdp_ppp": 921.798, "gdp_per_capita_ppp": 30077.518, "gdp_ppp_share": 1.844}, {"country": "CAN", "year": 2001, "gdp_growth": 1.9, "gdp_nominal": 738.968, "gdp_per_capita_nominal": 23859.77, "gdp_ppp": 960.227, "gdp_per_capita_ppp": 31003.774, "gdp_ppp_share": 1.834}, {"country": "CAN", "year": 2002, "gdp_growth": 3, "gdp_nominal": 760.149, "gdp_per_capita_nominal": 24279.8, "gdp_ppp": 1004.396, "gdp_per_capita_ppp": 32081.282, "gdp_ppp_share": 1.839}, {"country": "CAN", "year": 2003, "gdp_growth": 1.8, "gdp_nominal": 895.599, "gdp_per_capita_nominal": 28340.085, "gdp_ppp": 1042.727, "gdp_per_capita_ppp": 32995.763, "gdp_ppp_share": 1.806}, {"country": "CAN", "year": 2004, "gdp_growth": 3.1, "gdp_nominal": 1026.473, "gdp_per_capita_nominal": 32178.496, "gdp_ppp": 1103.876, "gdp_per_capita_ppp": 34604.971, "gdp_ppp_share": 1.771}, {"country": "CAN", "year": 2005, "gdp_growth": 3.2, "gdp_nominal": 1173.505, "gdp_per_capita_nominal": 36440.967, "gdp_ppp": 1175.043, "gdp_per_capita_ppp": 36488.719, "gdp_ppp_share": 1.748}, {"country": "CAN", "year": 2006, "gdp_growth": 2.6, "gdp_nominal": 1319.356, "gdp_per_capita_nominal": 40559.017, "gdp_ppp": 1243.233, "gdp_per_capita_ppp": 38218.881, "gdp_ppp_share": 1.706}, {"country": "CAN", "year": 2007, "gdp_growth": 2, "gdp_nominal": 1468.896, "gdp_per_capita_nominal": 44717.074, "gdp_ppp": 1303.091, "gdp_per_capita_ppp": 39669.53, "gdp_ppp_share": 1.655}, {"country": "CAN", "year": 2008, "gdp_growth": 1, "gdp_nominal": 1552.864, "gdp_per_capita_nominal": 46773.744, "gdp_ppp": 1341.414, "gdp_per_capita_ppp": 40404.68, "gdp_ppp_share": 1.627}, {"country": "CAN", "year": 2009, "gdp_growth": -2.9, "gdp_nominal": 1376.509, "gdp_per_capita_nominal": 40989.278, "gdp_ppp": 1310.343, "gdp_per_capita_ppp": 39019.001, "gdp_ppp_share": 1.59}, {"country": "CAN", "year": 2010, "gdp_growth": 3.1, "gdp_nominal": 1617.345, "gdp_per_capita_nominal": 47625.742, "gdp_ppp": 1367.261, "gdp_per_capita_ppp": 40261.543, "gdp_ppp_share": 1.559}, {"country": "CAN", "year": 2011, "gdp_growth": 3.1, "gdp_nominal": 1793.327, "gdp_per_capita_nominal": 52285.815, "gdp_ppp": 1439.25, "gdp_per_capita_ppp": 41962.427, "gdp_ppp_share": 1.55}, {"country": "CAN", "year": 2012, "gdp_growth": 1.8, "gdp_nominal": 1828.362, "gdp_per_capita_nominal": 52745.057, "gdp_ppp": 1491.786, "gdp_per_capita_ppp": 43035.423, "gdp_ppp_share": 1.529}, {"country": "CAN", "year": 2013, "gdp_growth": 2.3, "gdp_nominal": 1846.595, "gdp_per_capita_nominal": 52711.32, "gdp_ppp": 1552.463, "gdp_per_capita_ppp": 44315.275, "gdp_ppp_share": 1.515}, {"country": "CAN", "year": 2014, "gdp_growth": 2.9, "gdp_nominal": 1805.751, "gdp_per_capita_nominal": 51025.428, "gdp_ppp": 1624.889, "gdp_per_capita_ppp": 45914.79, "gdp_ppp_share": 1.506}, {"country": "CAN", "year": 2015, "gdp_growth": 0.6, "gdp_nominal": 1556.508, "gdp_per_capita_nominal": 43628.425, "gdp_ppp": 1650.628, "gdp_per_capita_ppp": 46266.588, "gdp_ppp_share": 1.468}, {"country": "CAN", "year": 2016, "gdp_growth": 1, "gdp_nominal": 1527.996, "gdp_per_capita_nominal": 42382.499, "gdp_ppp": 1683.619, "gdp_per_capita_ppp": 46699.042, "gdp_ppp_share": 1.437}, {"country": "CAN", "year": 2017, "gdp_growth": 3, "gdp_nominal": 1649.266, "gdp_per_capita_nominal": 45192.368, "gdp_ppp": 1765.763, "gdp_per_capita_ppp": 48384.579, "gdp_ppp_share": 1.427}, {"country": "CAN", "year": 2018, "gdp_growth": 2.7, "gdp_nominal": 1725.3, "gdp_per_capita_nominal": 46617.97, "gdp_ppp": 1852.988, "gdp_per_capita_ppp": 50068.12, "gdp_ppp_share": 1.408}, {"country": "CAN", "year": 2019, "gdp_growth": 1.9, "gdp_nominal": 1743.725, "gdp_per_capita_nominal": 46430.975, "gdp_ppp": 1899.695, "gdp_per_capita_ppp": 50584.055, "gdp_ppp_share": 1.362}, {"country": "CAN", "year": 2020, "gdp_growth": -5, "gdp_nominal": 1655.685, "gdp_per_capita_nominal": 43573.195, "gdp_ppp": 1847.839, "gdp_per_capita_ppp": 48630.152, "gdp_ppp_share": 1.328}, {"country": "CAN", "year": 2021, "gdp_growth": 5.3, "gdp_nominal": 2007.472, "gdp_per_capita_nominal": 52520.512, "gdp_ppp": 2133.084, "gdp_per_capita_ppp": 55806.845, "gdp_ppp_share": 1.372}, {"country": "CAN", "year": 2022, "gdp_growth": 3.8, "gdp_nominal": 2161.483, "gdp_per_capita_nominal": 55612.897, "gdp_ppp": 2372.451, "gdp_per_capita_ppp": 61040.881, "gdp_ppp_share": 1.377}, {"country": "CAN", "year": 2023, "gdp_growth": 1.2, "gdp_nominal": 2142.471, "gdp_per_capita_nominal": 53607.403, "gdp_ppp": 2488.523, "gdp_per_capita_ppp": 62266.066, "gdp_ppp_share": 1.351}, {"country": "CAN", "year": 2024, "gdp_growth": 1.3, "gdp_nominal": 2214.796, "gdp_per_capita_nominal": 53834.483, "gdp_ppp": 2582.228, "gdp_per_capita_ppp": 62765.568, "gdp_ppp_share": 1.327}, {"country": "CAN", "year": 2025, "gdp_growth": 2.4, "gdp_nominal": 2330.308, "gdp_per_capita_nominal": 55889.665, "gdp_ppp": 2692.053, "gdp_per_capita_ppp": 64565.675, "gdp_ppp_share": 1.317}, {"country": "CAN", "year": 2026, "gdp_growth": 2, "gdp_nominal": 2445.95, "gdp_per_capita_nominal": 58264.198, "gdp_ppp": 2796.135, "gdp_per_capita_ppp": 66605.848, "gdp_ppp_share": 1.3}, {"country": "CAN", "year": 2027, "gdp_growth": 1.8, "gdp_nominal": 2559.321, "gdp_per_capita_nominal": 60561.196, "gdp_ppp": 2899.231, "gdp_per_capita_ppp": 68604.482, "gdp_ppp_share": 1.284}, {"country": "CAN", "year": 2028, "gdp_growth": 1.8, "gdp_nominal": 2675.974, "gdp_per_capita_nominal": 62693.516, "gdp_ppp": 3004.767, "gdp_per_capita_ppp": 70396.587, "gdp_ppp_share": 1.268}, {"country": "CAN", "year": 2029, "gdp_growth": 1.6, "gdp_nominal": 2793.495, "gdp_per_capita_nominal": 64674.355, "gdp_ppp": 3110.156, "gdp_per_capita_ppp": 72005.614, "gdp_ppp_share": 1.25}]
curl --location --request GET 'https://zylalabs.com/api/10381/gdp+information+api/19950/gdp+data?country=Canada' --header 'Authorization: Bearer YOUR_API_KEY'
| 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 returns historical and projected GDP data, including annual growth rates, nominal GDP values, GDP per capita, purchasing power parity (PPP) figures, and the global share of each economy.
Key fields in the response include "gdp_growth" (annual growth percentage), "nominal_gdp" (total nominal GDP), "gdp_per_capita" (nominal GDP per capita), "gdp_ppp" (GDP adjusted for PPP), and "global_share" (economy’s share of global GDP).
The response data is structured in a uniform JSON format, with each record containing the GDP indicators for a specific year, making it easy to parse and integrate into applications.
The API covers a wide range of countries and regions, providing comprehensive GDP data for both developed and developing economies across several decades.
Users can customize their requests using parameters such as "country," "year," and "indicator_type" to filter the data according to specific needs.
Data accuracy is maintained through rigorous sourcing from reputable economic databases and institutions, along with regular updates and validation checks to ensure reliability.
Typical use cases include economic analysis, financial forecasting, academic research, and the development of business intelligence tools that require macroeconomic indicators.
Users can leverage the structured JSON response to create visualizations, automate reporting processes, and integrate GDP data into econometric models for enhanced decision-making.
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:
1,221ms
Service Level:
100%
Response Time:
3,803ms
Service Level:
100%
Response Time:
1,265ms
Service Level:
100%
Response Time:
1,234ms
Service Level:
100%
Response Time:
2,722ms
Service Level:
100%
Response Time:
2,673ms
Service Level:
100%
Response Time:
2,885ms
Service Level:
100%
Response Time:
4,790ms
Service Level:
100%
Response Time:
6,985ms
Service Level:
100%
Response Time:
4,660ms