Skip to content

API Integration

Integrate Gamearena's streaming capabilities into your own platform using our REST API and session management endpoints.


Overview

The Gamearena API allows businesses to embed game streaming sessions, manage devices, and control user access programmatically. This guide covers authentication, key endpoints, and integration patterns.


Authentication

All API requests require an API key passed via the Authorization header:

Authorization: Bearer <your-api-key>

Contact the team at business@gamearena.tech to request an API key for your organization.


Endpoints

Create a Session

POST https://api.gamearena.tech/v1/sessions

Creates a new streaming session for a specified device.

Request body:

FieldTypeDescription
deviceIdstringThe ID of the target host device
userIdstringUnique identifier for the end user
qualitystringStream quality preset (720p, 1080p, 1440p, 4k)

Response:

{
  "sessionId": "sess_abc123",
  "streamUrl": "https://play.gamearena.tech/s/sess_abc123",
  "expiresIn": 3600
}

List Devices

GET https://api.gamearena.tech/v1/devices

Returns all registered devices for your account.

End a Session

DELETE https://api.gamearena.tech/v1/sessions/:sessionId

Terminates an active streaming session.


Embedding the Stream

You can embed a Gamearena stream in your web application using an iframe:

<iframe
  src="https://play.gamearena.tech/s/{sessionId}"
  width="100%"
  height="100%"
  allow="clipboard-read; clipboard-write; gamepad; fullscreen"
  allowfullscreen
></iframe>

White-Label Options

Gamearena offers white-label deployment for businesses that want to present the streaming experience under their own brand. This includes:

  • Custom subdomain or custom domain
  • Branded stream launcher UI
  • Your own logo and color scheme
  • Usage-based billing at $0.06 per streamed hour

See the Business page for pricing details, or reach out to business@gamearena.tech.


Rate Limits

TierRequests per minute
Developer60
Business300
EnterpriseCustom

Next Steps