HackerEarth API allows you to integrate coding assessments, challenges, and programming contests into your applications.

Overview

Create Account

Sign up for a HackerEarth account

Get API Key

Generate your HackerEarth API key

Copy into Create

Add your API key to Create’s secrets

Account Creation

1

Visit HackerEarth Website

Go to https://www.hackerearth.com/for-developers/ and click “Get Started”

2

Register for an Account

  • Fill in your details
  • Choose account type (Business/Developer)
  • Complete verification process

Generate API Key

1

Access Developer Dashboard

  1. Log in to your HackerEarth account
  2. Navigate to the API section
2

Create API Key

  1. Click “Generate New Key”
  2. Select the required permissions
3

Copy Your API Key

  1. Copy the generated API key

Keep your API key secure - it grants access to your HackerEarth account and quota

Add to Create Project

1

Add the integration

  1. In your Create project, type / in the chat
  2. Select “HackerEarth” from the menu
2

Add your API key

  1. Paste your API key into the “HACKEREARTH_API_KEY” field

Need a new key? Generate one in your HackerEarth dashboard.

3

Use it

You can now use prompts with the integration to manage coding assessments.

Some examples:

  • Create a coding challenge using /HackerEarth
  • Evaluate code submissions with /HackerEarth
  • Build an assessment platform using /HackerEarth

API has rate limits - implement appropriate error handling and timeouts.

Example prompt for optimization:

When using /HackerEarth, cache assessment results in my database

Your HackerEarth integration is now ready! Use the /HackerEarth command in chat to manage coding assessments.