API Reference

👨🏻‍💻Codeforces API Documentation

Effortlessly fetch and display your Codeforces profile stats with our API. Retrieve your rating, rank, problems solved, and more. Enter your Codeforces username below and copy the generated API link.

Usage:

  • Replace <username> with your Codeforces username.
  • Send a GET request to the generated URL.

The JSON Response will look as follows:

Usage:

  • Replace <username> with your codeforces username.
  • Optionally, you can add a background color by appending &bg=<color> to the URL, where color is a valid CSS color (e.g., %231e1e1e (%23 is basically #)).
  • Send a GET request to the generated URL.

The Image Response will look like this:

codeforces Stats

Use this data to beautifully showcase your Codeforces coding stats on your website!