Skip to content

Latest commit

 

History

History
131 lines (77 loc) · 3.33 KB

api.md

File metadata and controls

131 lines (77 loc) · 3.33 KB

AtCoder Problems API / Datasets

We unofficially provide API to get information about AtCoder.

Caution

  • Please don't hit API so often. Please sleep for more than 1 second between accesses.
  • We sometimes deprecate old APIs and replace them with new ones. Please carefully watch this repository and update your application to use the latest API.

Information API

Contests Information

Problems Information

Detailed Problems Information

Pairs of Contests and Problems

Statistics API

Accepted Count

Example

https://kenkoooo.com/atcoder/atcoder-api/v3/ac_ranking?from=0&to=10
https://kenkoooo.com/atcoder/atcoder-api/v3/user/ac_rank?user=kenkoooo

Deprecated https://kenkoooo.com/atcoder/resources/ac.json This old API will be removed soon. You can see more detail about the plan (#989).

Rated Point Sum

Longest Streak (JST) Count

Example

https://kenkoooo.com/atcoder/atcoder-api/v3/streak_ranking?from=0&to=10
https://kenkoooo.com/atcoder/atcoder-api/v3/user/streak_rank?user=kenkoooo

Deprecated https://kenkoooo.com/atcoder/resources/streaks.json This old API will be removed soon. You can see more detail about the plan (#981).

Language List

Example

https://kenkoooo.com/atcoder/atcoder-api/v3/language_list

Accepted Count for each language

Example

https://kenkoooo.com/atcoder/atcoder-api/v3/language_ranking?from=0&to=10&language=Rust
https://kenkoooo.com/atcoder/atcoder-api/v3/user/language_rank?user=kenkoooo

Deprecated https://kenkoooo.com/atcoder/resources/lang.json This old API will be removed soon. You can see more detail about the plan (#1002).

Submission API

User Submissions

Returns a list of submissions of the specified user. You need to specify a time, and up to 500 submissions after the specified time will be returned.

Interface

https://kenkoooo.com/atcoder/atcoder-api/v3/user/submissions?user={user_id}&from_second={unix_second}

Example

https://kenkoooo.com/atcoder/atcoder-api/v3/user/submissions?user=chokudai&from_second=1560046356

[Deprecated] User Submissions

This API is deprecated. Please use /v3/user/submissions instead. You can see more detail about the deprecation plan (#961).

Interface

https://kenkoooo.com/atcoder/atcoder-api/results?user={user_id}

Submissions at the time

Interface

https://kenkoooo.com/atcoder/atcoder-api/v3/from/{unix_time_second}

Example

Deprecated

  • /v2/user_info
  • /atcoder/atcoder-api/info/*

Datasets

Submissions

This will be updated once a week.

Estimated Difficulties of the Problems