🏅GeekForGeeks API Documentation

Effortlessly fetch and display your GeekForGeeks profile stats with our API. Retrieve your total problems solved and more. Enter your GeekForGeeks username below and copy the generated API link.

Usage:

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

The JSON Response will look as follows:

Usage:

  • Replace <username> with your GeekForGeeks 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 as follows:

gfg Stats

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