Interactive Getting Started

Follow the steps to make your first authenticated Game API request

← Dashboard
YOUR FIRST API INTEGRATION

Let's set up your Game API account

This is a guided walkthrough. Use Next to move through each step. We'll show you where to click, how to create your API key, exactly where that key goes in a request, and how to test it.

Step 1 of 7
1

Welcome & account security

Your dashboard is your control center. Before using the API, make sure your account is protected.

🔐 Security

Open Security in the sidebar to set up an authenticator. This adds another verification layer to your account.

Open Security →

🔔 Notifications

Open Settings to enable browser/mobile push notifications when available.

Open Settings →
You don't need to complete these settings before continuing. This step teaches you where the account-security controls are.
2

Understand your plan

Your plan controls the API allowance and the number of active API keys available to your account.

Dashboard

The dashboard shows your current plan, requests used, remaining requests, active keys and service status.

View Dashboard →

Plans

Open Plans to see your current subscription and available higher plans. Your current paid plan cannot be purchased again.

View Plans →
For your first integration, start with the plan currently assigned to your account. You can upgrade later when your application needs more capacity.
3

Create your API key

This is the most important step. An API key identifies your application when it calls the Game API.

① Open API Keys

Click API Keys in the sidebar, then click + Create new key.

Open API Keys →

② Give it a useful name

Examples: Production Server, My Betting App, or Development. A name helps you identify the key later.

Important: When the secret is shown, copy it and keep it private. Never post it on GitHub, in screenshots, public chat, or inside browser/frontend JavaScript.
4

How the API key is actually used

Your API key is sent with the request using the Authorization: Bearer header. The key does not go in the URL or request body.

curl -X POST "https://api.game-api.online/api/v1/crash/rounds" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":10}'

Replace this

Change YOUR_API_KEY to the secret you generated on the API Keys page.

Keep this

The API endpoint and the Authorization: Bearer format are part of the request structure.

For a real application, store the key in a server-side environment variable such as GAME_API_KEY. Do not expose it to visitors.
5

Make your first request

Now use the built-in API Tester. It lets you paste/select your key, choose an endpoint, send the request, and inspect the JSON response.

① Open Test API

Click the button below. Enter your secret, choose Crash rounds, leave the limit at 10, then click Send request.

Open API Tester →

② Read the response

A successful request returns JSON from the production API. The tester also shows the HTTP status and request duration.

If you receive 401, check that you copied the correct secret. If you receive 429, your plan's monthly request limit has been reached.
6

Connect your application

Once your test works, move the same request into your own backend. Your backend should add the API key to the Authorization header.

const response = await fetch(
  "https://api.game-api.online/api/v1/crash/rounds",
  {
    method: "POST",
    headers: {
      "Authorization": "Bearer " + process.env.GAME_API_KEY,
      "Content-Type": "application/json"
    },
    body: JSON.stringify({ limit: 10 })
  }
);

const data = await response.json();

REST API

Use the documented HTTP endpoints from your server to request game data.

Read Documentation →

Realtime WebSocket

For realtime events, use the production WebSocket endpoint and subscribe to the channel supported by your integration.

Open Live Stream →
Never do this: put your real API secret directly into frontend JavaScript shipped to users. Anyone can inspect browser code.
7

Monitor your integration

After your application is connected, use the dashboard tools to understand what is happening.

Usage

Check request consumption and remaining capacity.

View Usage →

Status

Check the public service status when troubleshooting connectivity.

View Status →

API Keys

Revoke an exposed key and create a replacement when necessary.

Manage Keys →

Live Stream

Explore realtime game events through the dashboard's live tools.

Open Live Stream →
You're ready. Your normal workflow is: create key → authenticate request → test → connect your backend → monitor usage.

🎉 You're ready to use Game API

You have completed the guided introduction. The guide will remain available from the sidebar whenever you need it.

✓ Account security locations understood
✓ API key creation explained
✓ Bearer authentication explained
✓ First API request explained
✓ Production integration explained
Go to Dashboard →

On mobile, use the menu button to move between dashboard sections.