Overview

OmegaCases developer API — integrate balance, OAuth, and game data into your apps.

Base URL
https://omegacases.com

Authentication

Two auth methods depending on context:

MethodWhen to use
User IDAuthenticated endpoints where the caller is a Plus user (query param ?user_id=)
OAuth TokenActing on behalf of another user — returned after OAuth authorization

Endpoints at a glance

GET
/api/oauth/me?token=xxx

Fetch authorized user info

POST
/api/oauth/spend

Spend balance on behalf of user

POST
/api/oauth/cases/open

Open a case on behalf of user

POST
/api/oauth/listings/buy

Buy a marketplace listing on behalf of user

POST
/api/oauth/notify

Send an in-app notification to user

GET
/api/admin/items

All items (public)

GET
/api/rolls?limit=50

Recent rolls (public)

GET
/api/leaderboard

Leaderboard (public)

GET
/api/users?username=x

User profile lookup

GET
/api/inventory/{userId}

User inventory

Live
No rolls yet