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 Anything
Add your API key to Anything’s secrets
Account Creation
Visit HackerEarth Website
Register for an Account
- Fill in your details
- Choose account type (Business/Developer)
- Complete verification process
Generate API Key
Access Developer Dashboard
- Log in to your HackerEarth account
- Navigate to the API section

Create API Key
- Click “Generate New Key”
- Select the required permissions

Copy Your API Key
- Copy the generated API key
Keep your API key secure - it grants access to your HackerEarth account and quota
Add to Anything project
Add the integration
- In your Anything project, type
/ in the chat
- Select “HackerEarth” from the menu
Add your API key
- Paste your API key into the “HACKEREARTH_API_KEY” field
Need a new key? Generate one in your HackerEarth dashboard.
Use it
You can now use prompts with the integration to manage coding assessments.Some examples:
Set up a coding challenge using /HackerEarth
Evaluate code submissions with /HackerEarth
Build an assessment platform using /HackerEarth
The API has rate limits. If something fails, wait a moment and try again.
Example prompt for optimization:When using /HackerEarth, save the assessment results so I can review them later
Your HackerEarth integration is now ready! Use the /HackerEarth command in chat to manage coding assessments.