Code Forces API

4 stars

A custom RESTful API & Dashboard built in Python to fetch user stats / activite on CodeForces

Codeforces stats as JSON.

A free REST API for public Codeforces profiles. No key, no sign up.

It can compare several handles in one call and find the contests they share.

0:000:00

One call, no key.

curl https://codeforces-stats.tashif.codes/tourist

8 endpoints.

Replace {userid} with a public Codeforces handle.

/{userid}
Rating, rank and solved counts.
/{userid}/basic
The short version.
/{userid}/rating
Rating history.
/{userid}/solved
Solved problems.
/{userid}/contests
Contests taken.
/{userid}/heatmap
Daily submissions.
/multi/{userids}
Several handles at once.
/users/common-contests/{userids}
Contests a set of handles all took.

Who calls it.

19 Oct 2026 to 18 Nov 2026, from Vercel's request logs. About two thirds of requests carry no referrer, so the real list is longer.

requests in 30 days
5,459
unique IP addresses
719
other sites calling it
7

Tools and colleges built on it

Portfolios and other sites

Seven platforms, one shape.

Each API returns profiles, stats and activity in the same JSON layout, so one client reads them all.

CodeTrace is the dashboard built on all of them.