API for simple data export. Data is in JSON format.
This API is provided for data analysis and mobile applications only.
You can not use this API to run CTFtime clones — most of the CTFtime data is moderated by humans, please, respect their time.
https://ctftime.org/api/v1/top/
Returns top teams for current year. limit is 10 by default.
Example:
https://ctftime.org/api/v1/top/?limit=10
https://ctftime.org/api/v1/top/{year}/
Returns top 10 teams for specific year. limit is 10 by default.
Example:
https://ctftime.org/api/v1/top/2014/?limit=10
https://ctftime.org/api/v1/top-by-country/{country-code}/
Returns current years top teams for specific country.
Example:
https://ctftime.org/api/v1/top-by-country/ru/
https://ctftime.org/api/v1/events/?limit={number}&start={timestamp}&finish={timestamp}
Example:
https://ctftime.org/api/v1/events/?limit=100&start=1422019499&finish=1423029499
https://ctftime.org/api/v1/events/{event_id}/
Example:
https://ctftime.org/api/v1/events/165/
https://ctftime.org/api/v1/teams/
https://ctftime.org/api/v1/teams/{team_id}/
Example:
https://ctftime.org/api/v1/teams/1005/
http://ctftime.org/api/v1/results/
http://ctftime.org/api/v1/results/{year}/
Example:
http://ctftime.org/api/v1/results/2015/
http://ctftime.org/api/v1/votes/{year}/
Example:
http://ctftime.org/api/v1/votes/2016/
Feel free to contact us if you need something else.
Are you able to expose a writeups API? Specifically, I am looking to easily acquire the direct link to the "original writeup" rather than scraping it off the writeup's webpage.
Would it be possible to get events for a given team?
Also, would it be possible to get a list of teams from a specific parameter, for example from a specific country?
Sign in to comment.