This API exposes data on the top goal scorers in world football during the 21st century. Developers can retrieve information on individual players, including their name, nationality, career start year, total goals scored in the 21st century, goals scored in the 2001-2024 period, and a breakdown of goals scored across various categories: domestic leagues, domestic cups, international club competitions, and national teams. The API returns this data in JSON format, structured as a list of player objects. Each player object contains key-value pairs representing the data fields described above. The API uses a RESTful architecture, with endpoints designed for easy data access. Developers can use standard HTTP methods (GET) to retrieve data. For example, a GET request to /goalscorers would return the complete list of goal scorers and their statistics. The data schema ensures consistency and facilitates easy parsing and integration into other applications. The API allows for filtering and sorting based on various parameters such as total goals or nationality, providing flexible access to the dataset for customized data analysis.
[
{
"players": [
"Cristiano Ronaldo",
"Lionel Messi",
"Robert Lewandowski",
"Luis Suárez",
"Zlatan Ibrahimović",
"Karim Benzema",
"Ali Ashfaq",
"Edinson Cavani",
"Neymar",
"Edin Džeko",
"Sergio Agüero",
"Aleksandar Đurić",
"Eran Zahavi",
"Harry Kane",
"Samuel Eto'O",
"Fred",
"Romelu Lukaku",
"Ricardo Oliveira",
"Óscar Cardozo",
"David Villa",
"Klaas-Jan Huntelaar",
"Bader Al-Mutawa",
"Hulk",
"Mohamed Salah",
"Gonzalo Higuaín",
"Pierre-Emerick Aubameyang",
"Wayne Rooney",
"Omar Al Somah",
"Dejan Damjanović",
"Ali Mabkhout",
"Luís Fabiano",
"André-Pierre Gignac",
"Bafétimbi Gomis",
"Firas Al-Khatib",
"Sunil Chhetri",
"Radamel Falcao",
"Dayro Moreno",
"Álvaro Saborío",
"Kylian Mbappé",
"Robbie Keane",
"Nicolás Muñoz",
"Vágner Love",
"Didier Drogba",
"Thierry Henry",
"Abderrazak Hamdallah",
"Sebastián Tagliabúe",
"Nemanja Nikolić",
"Magno Alves",
"Baghdad Bounedjah",
"Hernán Barcos",
"Robin van Persie",
"Marcus Berg",
"Carlos Tevez",
"Rhys Griffiths",
"Cristian Gonzáles",
"Antoine Griezmann",
"Rodrigo Tabata",
"José Alfredo Castillo",
"Luis Tejada",
"Sebastián Soria",
"Mario Gómez",
"Martin Kamburov",
"Carlos Bacca",
"Esteban Paredes"
]
}
]
curl --location --request POST 'https://zylalabs.com/api/10270/top+goal+scorers+information+api/19778/get+scorers' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
[
{
"player_name": "Lionel Messi",
"rank": 2,
"nationality": "Argentina",
"career": "2004-"
}
]
curl --location --request POST 'https://zylalabs.com/api/10270/top+goal+scorers+information+api/19781/get+goal+scorers+profile+by+name' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"player":"Required"}'
[
{
"player": "Lionel Messi",
"total_goals": 850,
"domestic_league_goals": 518,
"domestic_cup_goals": 71,
"international_club_goals": 149,
"national_team_goals": 112
}
]
curl --location --request POST 'https://zylalabs.com/api/10270/top+goal+scorers+information+api/19786/get+goal+scorer+statistics+by+name' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"name":"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 API provides data on individual players, including their name, nationality, career start year, total goals scored in the 21st century, goals scored from 2001 to 2024, and a breakdown of goals across various categories such as domestic leagues, domestic cups, international club competitions, and national teams.
The API returns data in JSON format, structured as a list of player objects, where each player object contains key-value pairs representing various statistics.
Developers can use the API to build applications that analyze player performance, create rankings of top goal scorers, and compare statistics across different competitions and time periods.
The API offers comprehensive and detailed statistics on goal scorers, enabling developers to access historical and current data easily, facilitating customized data analysis and integration into sports-related applications.
Each player object includes fields such as 'name', 'nationality', 'career_start_year', 'total_goals_21st_century', 'goals_2001_2024', and breakdowns for 'domestic_leagues', 'domestic_cups', 'international_club_competitions', and 'national_teams'.
The "get scorers" endpoint returns a comprehensive list of top goal scorers in the 21st century, including player names. This data serves as a foundation for further queries about individual player statistics and profiles.
The player profile response includes fields such as "player_name," "rank," "nationality," and "career," providing essential information about each goal scorer's standing and background.
Users can customize their data requests by specifying player names when using the "get goal scorers profile by name" and "get goal scorer statistics by name" endpoints, allowing targeted retrieval of specific player information.
The response data is organized as JSON arrays containing player objects. Each object includes key-value pairs for various statistics, making it easy to parse and integrate into applications.
This endpoint provides detailed statistics for a specific player, including total goals, goals in domestic leagues, domestic cups, international club competitions, and national team goals, offering a comprehensive view of their performance.
Users can utilize the returned data to analyze player performance trends, create visualizations, and compare statistics across different players or competitions, enhancing sports analytics capabilities.
Typical use cases include building sports analytics dashboards, generating player comparison reports, and developing fantasy football applications that require detailed goal-scoring data.
Data accuracy is maintained through regular updates and quality checks, ensuring that the statistics reflect the most current and reliable information available on goal scorers.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
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:
52ms
Service Level:
100%
Response Time:
12,840ms
Service Level:
100%
Response Time:
54ms
Service Level:
100%
Response Time:
2,078ms
Service Level:
100%
Response Time:
51ms
Service Level:
100%
Response Time:
55ms
Service Level:
100%
Response Time:
6,609ms
Service Level:
100%
Response Time:
62ms
Service Level:
100%
Response Time:
10,028ms
Service Level:
100%
Response Time:
61ms