Codeforces/ API
Live Playground · Codeforces

Try every Codeforces endpoint

Enter a userid once, then run any endpoint below straight against the live API. Requests are made directly from your browser — nothing is sent anywhere else.

Path parameters such as {userid} are filled in with the value above. Prefer raw JSON in a new tab? Open /tourist/profile.

Canonical endpoints · 9
GET/{userid}Summary›
Run this endpoint to see the live response here.
GET/{userid}/profileProfile›
Run this endpoint to see the live response here.
GET/{userid}/statsSolved counts and tags›
Run this endpoint to see the live response here.
GET/{userid}/stats/svgEmbeddable stats SVG card (theme, exclude; 24h cache)›
Query parameters

Optional. theme picks light/dark; exclude omits topics/languages (comma-separated). Response is image/svg+xml, cached 24h.

Run this endpoint to preview the live SVG card here.
GET/{userid}/topicsSolved tag analysis›
Run this endpoint to see the live response here.
GET/{userid}/contestsContest participation›
Run this endpoint to see the live response here.
GET/{userid}/ratingRating history›
Run this endpoint to see the live response here.
GET/{userid}/heatmapSubmission heatmap›
Run this endpoint to see the live response here.
GET/{userid}/badgesEmpty badges›
Run this endpoint to see the live response here.
Legacy endpoints · 5
GET/{userid}/basicDeprecated basic profile›
Run this endpoint to see the live response here.
GET/{userid}/solvedDeprecated solved count›
Run this endpoint to see the live response here.
GET/multi/{userids}Multi-user info›
Run this endpoint to see the live response here.
GET/users/common-contests/{userids}Common contests›
Run this endpoint to see the live response here.
GET/contests/upcomingUpcoming contests›
Run this endpoint to see the live response here.

Want every platform in one place? Check out CodeTrace.