{"teams":["Brasil","Alemania","Argentina","Italia","Francia","Inglaterra","Espa\u00f1a","Pa\u00edses Bajos","Uruguay","B\u00e9lgica","Suecia","Rusia","M\u00e9xico","Serbia","Portugal","Polonia","Suiza","Hungr\u00eda","Croacia","Rep\u00fablica Checa","Austria","Chile","Estados Unidos","Dinamarca","Paraguay","Corea del Sur","Colombia","Rumania","Jap\u00f3n","Costa Rica","Camer\u00fan","Marruecos","Nigeria","Escocia","Senegal","Ghana","Per\u00fa","Ecuador","Bulgaria","Turqu\u00eda","Australia","Irlanda","Irlanda del Norte","T\u00fanez","Arabia Saudita","Ir\u00e1n","Argelia","Costa de Marfil","Sud\u00e1frica","Noruega","Alemania Democr\u00e1tica","Grecia","Ucrania","Gales","Eslovaquia","Eslovenia","Cuba","Corea del Norte","Bosnia y Herzegovina","Jamaica","Nueva Zelanda","Honduras","Angola","Israel","Egipto","Islandia","Kuwait","Trinidad y Tobago","Bolivia","Irak","Togo","Catar","Indonesia","Panam\u00e1","Emiratos \u00c1rabes Unidos","China","Canad\u00e1","Hait\u00ed","Rep\u00fablica Democr\u00e1tica del Congo","El Salvador"]}
curl --location --request POST 'https://zylalabs.com/api/6150/world+cup+stats+api/8481/get+world+cup+participants' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"country":"Portugal","total_matches":35}
curl --location --request POST 'https://zylalabs.com/api/6150/world+cup+stats+api/8482/get+match+played' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{"country":"Portugal","total_wins":17}
curl --location --request POST 'https://zylalabs.com/api/6150/world+cup+stats+api/8483/get+total+wins' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{"country":"Portugal","total_draws":6}
curl --location --request POST 'https://zylalabs.com/api/6150/world+cup+stats+api/8484/get+total+draws' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{"country":"Portugal","total_losses":12}
curl --location --request POST 'https://zylalabs.com/api/6150/world+cup+stats+api/8485/get+total+losses' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
[{"country":"Portugal","total_goals_scored":61}]
curl --location --request POST 'https://zylalabs.com/api/6150/world+cup+stats+api/8486/get+goal+scrored' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
[{"country":"Argentina","titles_won":3}]
curl --location --request POST 'https://zylalabs.com/api/6150/world+cup+stats+api/8487/get+titles+won' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
[{"historical_performance":[{"year":1966,"team":"Portugal","position":3},{"year":2006,"team":"Portugal","position":4},{"year":2010,"team":"Portugal","position":17},{"year":2014,"team":"Portugal","position":20},{"year":2018,"team":"Portugal","position":16},{"year":2022,"team":"Portugal","position":11}]}]
curl --location --request POST 'https://zylalabs.com/api/6150/world+cup+stats+api/8488/get+historical+world+cup+statistics' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
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 World Cup Stats 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 World Cup Stats API provides comprehensive statistical data on the FIFA World Cup, including team names, match results, tournament positions, and historical performance metrics for all participating teams from 1930 to 2022.
The World Cup Stats API covers data for 80 national teams that have competed in 22 World Cups from 1930 to 2022.
Yes, the World Cup Stats API allows you to retrieve historical performance metrics for specific teams, enabling you to analyze their past performances in the FIFA World Cup.
The World Cup Stats API provides data up to the 2022 FIFA World Cup, and while it contains historical data, any updates or new data for future tournaments would depend on the API's maintenance and updates by its providers.
Each endpoint returns specific statistical data related to the FIFA World Cup. For example, the "get World Cup participants" endpoint returns a list of national teams, while "get total wins" provides the total number of matches won by a specified country.
Key fields vary by endpoint. For "get total wins," the response includes "country" and "total_wins." The "get historical world cup statistics" endpoint returns "year," "team," and "position," providing detailed performance metrics.
Most endpoints require a "country" parameter to specify which national team's data to retrieve. For example, to get total matches played, you would specify the country name, such as "Portugal."
Response data is structured in JSON format. For instance, the "get total goals scored" endpoint returns an array containing an object with "country" and "total_goals_scored," making it easy to parse and utilize in applications.
Each endpoint provides distinct information: "get match played" shows total matches, "get total draws" indicates drawn matches, and "get titles won" reveals the number of World Cup titles, allowing for comprehensive team analysis.
Users can analyze the data to compare team performances, track historical trends, or create visualizations. For example, using the "get historical world cup statistics," users can chart a team's performance over the years.
Typical use cases include sports analytics, historical research, and fan engagement. Developers can create applications that display team statistics, generate reports, or provide insights into World Cup history.
Data accuracy is maintained through rigorous sourcing from official FIFA records and historical databases. Quality checks ensure that the statistics reflect verified match results and tournament outcomes.
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