Naar de inhoud
GET /v1/contests

Catalogue of AtCoder contests, newest first

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/atcoder-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/atcoder-api/v1/contests" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/atcoder-api/v1/contests", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/atcoder-api/v1/contests");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/atcoder-api/v1/contests",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "count": 30,
        "source": "AtCoder Problems API (kenkoooo.com/atcoder)",
        "contests": [
            {
                "id": "abc461",
                "start": "2026-06-06T12:00:00.000Z",
                "title": "AtCoder Beginner Contest 461",
                "rate_range": "~ 1999",
                "contest_url": "https://atcoder.jp/contests/abc461",
                "duration_minutes": 100
            },
            {
                "id": "arc221",
                "start": "2026-05-31T12:00:00.000Z",
                "title": "AtCoder Regular Contest++ 221",
                "rate_range": "1600 ~ 2999",
                "contest_url": "https://atcoder.jp/contests/arc221",
                "duration_minutes": 150
            },
            {
                "id": "abc460",
                "start": "2026-05-30T12:00:00.000Z",
                "title": "AtCoder Beginner Contest 460",
                "rate_range": "~ 1999",
                "contest_url": "https://atcoder.jp/contests/abc460",
                "duration_minutes": 100
            },
            {
                "id": "ahc066",
                "start": "2026-05-29T11:00:00.000Z",
                "title": "AtCoder Heuristic Contest 066",
                "rate_range": "All",
                "contest_url": "https://atcoder.jp/contests/ahc066",
                "duration_minutes": 14340
            },
            {
                "id": "abc459",
                "start": "2026-05-23T12:00:00.000Z",
                "title": "東京海上日動プログラミングコンテスト2026(AtCoder Beginner Contest 459)",
                "rate_range": "~ 1999",
                "contest_url": "https://atcoder.jp/contests/abc459",
                "duration_minutes": 100
            },
            {
                "id": "c-league2026-1",
                "start": "2026-05-22T11:00:00.000Z",
                "title": "AtCoder 企業対抗リーグ 2026 第1戦",
                "rate_range": null,
                "contest_url": "https://atcoder.jp/contests/c-league2026-1",
                "duration_minutes": 120
            },
            {
                "id": "c-league2026-1-open",
                "start": "2026-05-22T11:00:00.000Z",
                "title": "AtCoder 企業対抗リーグ 2026 第1戦(オープンコンテスト)",
                "rate_range": null,
                "contest_url": "https://atcoder.jp/contests/c-league2026-1-open",
                "duration_minutes": 120
            },
            {
                "id": "arc220",
                "start": "2026-05-17T12:00:00.000Z",
                "title": "AtCoder Regular Contest++ 220",
                "rate_range": "1600 ~ 2999",
                "contest_url": "https://atcoder.jp/contests/arc220",
                "duration_minutes": 150
            },
            {
                "id": "abc458",
                "start": "2026-05-16T12:00:00.000Z",
                "title": "SMBCプログラミングコンテスト #1(AtCoder Beginner Contest 458)",
                "rate_range": "~ 1999",
                "contest_u
…