[{"id": 3, "year": 1950, "country": "Brazil", "winner": "Uruguay", "winner_flag": "http://media.tekbunny.com/flags/svg/ury.svg", "runners_up": "Brazil", "runners_up_flag": "http://media.tekbunny.com/flags/svg/bra.svg", "third": "Sweden", "third_flag": "http://media.tekbunny.com/flags/svg/swe.svg", "fourth": "Spain", "fourth_flag": "http://media.tekbunny.com/flags/svg/esp.svg", "goals_scored": 88, "qualified_teams": 13, "matches_played": 22, "attendance": 1045246, "golden_ball": "Zizinho", "golden_boot": "Ademir", "golden_glove": "Roque M\u00e1spoli", "best_young_player": ""}, {"id": 19, "year": 2014, "country": "Brazil", "winner": "Germany", "winner_flag": "http://media.tekbunny.com/flags/svg/deu.svg", "runners_up": "Argentina", "runners_up_flag": "http://media.tekbunny.com/flags/svg/arg.svg", "third": "Netherlands", "third_flag": "http://media.tekbunny.com/flags/svg/nld.svg", "fourth": "Brazil", "fourth_flag": "http://media.tekbunny.com/flags/svg/bra.svg", "goals_scored": 171, "qualified_teams": 32, "matches_played": 64, "attendance": 3386810, "golden_ball": "Lionel Messi", "golden_boot": "James Rodriguez", "golden_glove": "Manuel Neuer", "best_young_player": "Paul Pogba"}]
curl --location --request GET 'https://zylalabs.com/api/1736/football+world+cup+api/1350/fetch+world+cup+by+host&host=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"id": 21, "year": 2022, "country": "Qatar", "winner": "Argentina", "winner_flag": "http://media.tekbunny.com/flags/svg/arg.svg", "runners_up": "France", "runners_up_flag": "http://media.tekbunny.com/flags/svg/fra.svg", "third": "Croatia", "third_flag": "http://media.tekbunny.com/flags/svg/hrv.svg", "fourth": "Morocco", "fourth_flag": "http://media.tekbunny.com/flags/svg/mar.svg", "goals_scored": 172, "qualified_teams": 32, "matches_played": 64, "attendance": 3404252, "golden_ball": "Lionel Messi", "golden_boot": "Kylian Mbapp\u00e9", "golden_glove": "Emiliano Mart\u00ednez", "best_young_player": "Enzo Fern\u00e1ndez"}
curl --location --request GET 'https://zylalabs.com/api/1736/football+world+cup+api/1351/fetch+world+cup+by+year&year=Required' --header 'Authorization: Bearer YOUR_API_KEY'
[{"id": 5, "year": 1958, "country": "Sweden", "winner": "Brazil", "winner_flag": "http://media.tekbunny.com/flags/svg/bra.svg", "runners_up": "Sweden", "runners_up_flag": "http://media.tekbunny.com/flags/svg/swe.svg", "third": "France", "third_flag": "http://media.tekbunny.com/flags/svg/fra.svg", "fourth": "Germany", "fourth_flag": "http://media.tekbunny.com/flags/svg/deu.svg", "goals_scored": 126, "qualified_teams": 16, "matches_played": 35, "attendance": 81981, "golden_ball": "Didi", "golden_boot": "Just Fontaine", "golden_glove": "Harry Gregg", "best_young_player": "Pele"}, {"id": 6, "year": 1962, "country": "Chile", "winner": "Brazil", "winner_flag": "http://media.tekbunny.com/flags/svg/bra.svg", "runners_up": "Czechoslovakia", "runners_up_flag": "http://media.tekbunny.com/flags/svg/cze.svg", "third": "Chile", "third_flag": "http://media.tekbunny.com/flags/svg/chl.svg", "fourth": "Yugoslavia", "fourth_flag": "http://media.tekbunny.com/flags/svg/no-image.png", "goals_scored": 89, "qualified_teams": 16, "matches_played": 32, "attendance": 893172, "golden_ball": "Garrincha", "golden_boot": "Florian Albert", "golden_glove": "Viliam Schrojf", "best_young_player": "Florian Albert"}, {"id": 8, "year": 1970, "country": "Mexico", "winner": "Brazil", "winner_flag": "http://media.tekbunny.com/flags/svg/bra.svg", "runners_up": "Italy", "runners_up_flag": "http://media.tekbunny.com/flags/svg/ita.svg", "third": "Germany", "third_flag": "http://media.tekbunny.com/flags/svg/deu.svg", "fourth": "Uruguay", "fourth_flag": "http://media.tekbunny.com/flags/svg/ury.svg", "goals_scored": 95, "qualified_teams": 16, "matches_played": 32, "attendance": 1603975, "golden_ball": "Pel\u00e9", "golden_boot": "Gerd Muller", "golden_glove": "Ladislao Mazurkiewicz", "best_young_player": "Teofillo Cubillas"}, {"id": 14, "year": 1994, "country": "USA", "winner": "Brazil", "winner_flag": "http://media.tekbunny.com/flags/svg/bra.svg", "runners_up": "Italy", "runners_up_flag": "http://media.tekbunny.com/flags/svg/ita.svg", "third": "Sweden", "third_flag": "http://media.tekbunny.com/flags/svg/swe.svg", "fourth": "Bulgaria", "fourth_flag": "http://media.tekbunny.com/flags/svg/bgr.svg", "goals_scored": 141, "qualified_teams": 24, "matches_played": 52, "attendance": 3587538, "golden_ball": "Rom\u00e1rio", "golden_boot": "Oleg Salenko", "golden_glove": "Sergio Goycochea", "best_young_player": "Marc Overmars"}, {"id": 16, "year": 2002, "country": "Korea/Japan", "winner": "Brazil", "winner_flag": "http://media.tekbunny.com/flags/svg/bra.svg", "runners_up": "Germany", "runners_up_flag": "http://media.tekbunny.com/flags/svg/deu.svg", "third": "Turkey", "third_flag": "http://media.tekbunny.com/flags/svg/tur.svg", "fourth": "Korea Republic", "fourth_flag": "http://media.tekbunny.com/flags/svg/kor.svg", "goals_scored": 161, "qualified_teams": 32, "matches_played": 64, "attendance": 2705197, "golden_ball": "Oliver Kahn", "golden_boot": "Ronaldo", "golden_glove": "Oliver Kahn", "best_young_player": "Landon Donovan"}]
curl --location --request GET 'https://zylalabs.com/api/1736/football+world+cup+api/1352/fetch+world+cup+by+winner&winner=Required' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Football World Cup API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
The Football World Cup API is a powerful tool that provides developers with access to detailed information about every World Cup tournament in history. Starting from the first tournament in 1930.
Using the Football World Cup API, developers can create applications that showcase the rich history of the World Cup. For example, a developer could create an application that displays the results of past World Cup tournaments, including the teams that competed, the scores of each match, and the eventual winners of the tournament. With access to data from every World Cup tournament, developers can create applications that provide a comprehensive look at the history of this iconic sporting event.
Overall, the Football World Cup API is an incredibly useful resource for developers looking to create applications that showcase the history and excitement of the World Cup. With access to comprehensive data from every tournament, developers can create engaging applications that keep fans informed and entertained.
It will receive parameters and provide you with a JSON.
Football History Applications: Developers can use the API to create applications that showcase the history of the World Cup. This can include displaying past tournament results, team and player statistics, and other relevant data.
News and Media Coverage: News outlets can use the API to retrieve data on current and past World Cup tournaments, which they can use to create news articles and coverage.
Statistics and Analysis: Analysts and statisticians can use the API to retrieve data on previous World Cup tournaments, which they can use to perform in-depth analysis and statistical modeling.
Social Media Applications: Social media platforms can use the API to create features that allow users to share updates and information about World Cup tournaments.
Coaching and Training Applications: Coaches and trainers can use the API to retrieve data on previous World Cup tournaments, which they can use to inform training and coaching strategies.
Educational Applications: Educational institutions can use the API to create educational materials and resources that teach students about the history and culture of the World Cup.
Tourism Applications: Tourism companies can use the API to create applications that provide information about World Cup tournaments and associated events, helping tourists plan their trips and activities.
Basic Plan: 500 API Calls.
Pro Plan: 1,000 API Calls.
Pro Plus Plan: 5,000 API Calls.
Elite Plan: 10,000 API Calls.
Each endpoint returns detailed information about World Cup tournaments, including the year, host country, winner, runners-up, match statistics, and individual awards like the Golden Boot and Golden Ball.
Key fields include "year," "country," "winner," "runners_up," "goals_scored," "matches_played," and various award winners. These fields provide a comprehensive overview of each tournament's outcomes and statistics.
Each endpoint requires a specific parameter: "host" for Fetch World Cup By Host, "year" for Fetch World Cup By Year, and "winner" for Fetch World Cup By Winner. Users must provide valid values for these parameters to retrieve data.
The response data is structured in JSON format, with each tournament represented as an object containing key-value pairs for various attributes, making it easy to parse and utilize in applications.
Each endpoint provides information on tournament results, including the winning team, attendance, goals scored, and individual player awards, allowing for in-depth historical analysis of the World Cup.
Users can customize requests by specifying the required parameter (host, year, or winner) to filter results according to their needs, enabling targeted data retrieval for specific tournaments.
The data is sourced from official World Cup records and historical archives, ensuring a reliable and comprehensive collection of tournament information spanning from 1930 to the present.
Typical use cases include developing sports history applications, creating news articles, performing statistical analysis, and building educational resources about the World Cup's history and impact.
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