[
{
"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/10266/historic+goal+scorers+api/19780/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/10266/historic+goal+scorers+api/19785/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/10266/historic+goal+scorers+api/19790/get+goal+scorer+statistics+by+name' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"name":"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 Historic Goal Scorers 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 🎉)
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 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 background and standing.
Users can customize their requests by specifying player names when using the "get goal scorers profile by name" and "get goal scorer statistics by name" endpoints, allowing for targeted data retrieval.
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.
Users can analyze player performance, create visualizations, or compare statistics across players and competitions by leveraging the structured data returned in JSON format.
Typical use cases include developing sports analytics applications, creating content for sports websites, and generating player rankings or comparisons for fan engagement.
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.
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