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.

Top 10 teams

https://ctftime.org/api/v1/top/

Top 10 teams per year

https://ctftime.org/api/v1/top/{year}/

Example:

https://ctftime.org/api/v1/top/2014/

Events information (past and upcoming)

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

Specific event information

https://ctftime.org/api/v1/events/{event_id}/

Example:

https://ctftime.org/api/v1/events/165/

Information about teams

https://ctftime.org/api/v1/teams/

Information about specific team

https://ctftime.org/api/v1/teams/{team_id}/

Example:

https://ctftime.org/api/v1/teams/1005/

Event results

http://ctftime.org/api/v1/results/

Event results by year

http://ctftime.org/api/v1/results/{year}/

Example:

http://ctftime.org/api/v1/results/2015/

Event votes by year

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.

spitfire55 – Aug. 14, 2017, 12:02 p.m.

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.


c03 – Sept. 5, 2017, 9:40 a.m.

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.