myRacing — iRacing API harness

1. Authenticate not authed

iRacing retired password-based API auth in Dec 2025 and paused new OAuth client registration. The webapp itself uses an internal proxy at /bff/pub/proxy/data/<path> with cookie auth — that's what we use here.

Option A — Password login

Or set IRACING_EMAIL / IRACING_PASSWORD in .env and just click Log in. Fails with verificationRequired if iRacing wants CAPTCHA — in that case use Option B.

Option B — Paste Bearer token (recommended now)

As of the 2026 S1 release iRacing /data/* uses OAuth2 Bearer tokens. Find one in your browser:

  1. Log in to members-ng.iracing.com in your browser
  2. DevTools → Network tab → refresh, then browse around (e.g. open your profile)
  3. Look for any request to members-ng.iracing.com/data/...
  4. Click it → Headers → under Request Headers find Authorization: Bearer eyJ...
  5. Copy the part after Bearer and paste below

Option C — Paste session cookies (fallback)

  1. Log in at members-ng.iracing.com in your browser
  2. DevTools → Network → refresh the page → click any request → copy the entire Cookie request header value
  3. Paste below and click Set cookies. The full string is needed — a single cookie usually isn't enough.
(no response yet)

2. Test a call

(no response yet)