Problem detail
Fetch a normalized problem record by platform source and problem ID.
/api/v1/problems/{source}/{id}
↗
Problem Intelligence Infrastructure
Every judge. One problem space.
A shared intelligence layer for developers, competitors, and AI agents to resolve, retrieve, relate, and connect algorithmic problems.
One problem space
OJ API normalizes fragmented judges into one coherent problem layer, preserving source identity while making every record addressable through the same mental model.
Core intelligence
Turn URLs, slugs, and identifiers into concrete problem records.
/api/v1/resolve/*
Read normalized problem data across every supported source.
/api/v1/problems/*
Find conceptually adjacent problems through semantic similarity.
/api/v1/similar
Expose the same intelligence to applications and AI agents.
REST + MCP
Selected endpoints
Fetch a normalized problem record by platform source and problem ID.
/api/v1/problems/{source}/{id}
↗
Fetch the current LeetCode daily challenge with the existing fallback behavior.
/api/v1/daily
↗
Search related problems by free-text query against the public similarity index.
/api/v1/similar
↗
Two integration surfaces
Use precise HTTP contracts in applications or expose the same capabilities as tools through Streamable HTTP MCP.
Authentication
Public documentation stays open. API, status, and MCP access follow the deployment token policy.
| Route | Auth Disabled | Auth Enabled |
|---|---|---|
/ | Public | Public |
/health | Public | Public |
/api/v1/* | Public | Protected |
/status | Public | Protected |
/mcp | Public | Protected |
Enter the system