{"seasons":["1888-89","1889-90","1890-91","1891-92","1892-93","1893-94","1894-95","1895-96","1896-97","1897-98","1898-99","1899-00","1900-01","1901-02","1902-03","1903-04","1904-05","1905-06","1906-07","1907-08","1908-09","1909-10","1910-11","1911-12","1912-13","1913-14","1914-15","1919-20","1920-21","1921-22","1922-23","1923-24","1924-25","1925-26","1926-27","1927-28","1928-29","1929-30","1930-31","1931-32","1932-33","1933-34","1934-35","1935-36","1936-37","1937-38","1938-39","1946-47","1947-48","1948-49","1949-50","1950-51","1951-52","1952-53","1953-54","1954-55","1955-56","1956-57","1957-58","1958-59","1959-60","1960-61","1961-62","1962-63","1963-64","1964-65","1965-66","1966-67","1967-68","1968-69","1969-70","1970-71","1971-72","1972-73","1973-74","1974-75","1975-76","1976-77","1977-78","1978-79","1979-80","1980-81","1981-82","1982-83","1983-84","1984-85","1985-86","1986-87","1987-88","1988-89","1989-90","1990-91","1991-92","1992-93","1993-94","1994-95","1995-96","1996-97","1997-98","1998-99","1999-00","2000-01","2001-02","2002-03","2003-04","2004-05","2005-06","2006-07","2007-08","2008-09","2009-10","2010-11","2011-12","2012-13","2013-14","2014-15","2015-16","2016-17","2017-18","2018-19","2019-20","2020-21","2021-22","2022-23","2023-24","2024-25"]}
curl --location --request POST 'https://zylalabs.com/api/6786/premier+league+history+api/10170/get+all+premier+league+seasons' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"season":"1960-61","champion":"Tottenham Hotspur","runner_up":"Sheffield Wednesday","third_place":"Wolverhampton Wand."}
curl --location --request POST 'https://zylalabs.com/api/6786/premier+league+history+api/10171/get+premier+league+podium+by+season' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"season":"Required"}'
{"season":"2010-11","player_name":"Carlos T\u00e9vez","team":"Manchester City","total_goals":20}
curl --location --request POST 'https://zylalabs.com/api/6786/premier+league+history+api/10172/get+top+scorer+by+season' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"season":"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 Premier League History 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 Premier League History API provides access to a variety of historical data, including team performance, player achievements, historical top scorers, records, and classifications of performance by season.
To retrieve player statistics, you can use specific endpoints provided by the API that focus on player records. You will need to specify parameters such as the player's name or ID to get detailed statistics and achievements.
The Premier League History API focuses on historical data, which means it provides information that is static and not updated in real-time. However, it offers comprehensive records that reflect the history of the league up to the current date.
The "get all premier league seasons" endpoint returns a list of all Premier League seasons. The "get premier league podium by season" endpoint provides the champion, runner-up, and third place for a specified season. The "get top scorer by season" endpoint returns details about the top scorer, including the player's name, team, and total goals for a given season.
Key fields in the response data include "seasons" for the list of seasons, "season," "champion," "runner_up," and "third_place" for podium details, and "player_name," "team," and "total_goals" for top scorer information. These fields provide essential insights into historical performance.
The response data is organized in JSON format. For example, the podium endpoint returns an object with fields for the season and podium positions, while the top scorer endpoint includes player details. This structure allows for easy parsing and integration into applications.
The "get premier league podium by season" and "get top scorer by season" endpoints require a "season" parameter to specify which season's data to retrieve. Users must provide a valid season from the list obtained from the first endpoint.
The "get all premier league seasons" endpoint provides a comprehensive list of seasons. The "get premier league podium by season" endpoint offers information on the top three teams for a specific season, while the "get top scorer by season" endpoint details the leading goal scorer's performance for that season.
Users can utilize the returned data to analyze historical trends, compare team performances across seasons, and identify key players. For instance, by examining top scorers over multiple seasons, users can assess player consistency and impact on their teams.
Typical use cases include sports analytics, historical research, and fan engagement applications. Developers can create visualizations of team performances, generate reports on player achievements, or build trivia games based on historical Premier League data.
Data accuracy is maintained through rigorous sourcing from official Premier League records and historical databases. The API is designed to reflect verified statistics, ensuring users receive reliable information for their analyses and applications.
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