Photon Realtime Transport Protocol
The core Photon protocol - NOT a REST or JSON API. Clients connect through a Name Server to a Master Server (matchmaking/lobby) and then a Game Server (room gameplay), exchanging a proprietary binary message format (operation requests, operation responses, and events framed inside eNet-style commands) over UDP (reliable/unreliable), TCP, or WebSocket. WebSocket is a first-class documented transport - clients set ConnectionProtocol to WebSocket or WebSocketSecure and connect with ws:// on port 80 or wss:// on port 443 (9090/19090 for self-hosted/Cloud Master listeners) - used primarily for WebGL and browser-hosted game clients.
Photon Realtime Transport Protocol is one of 9 APIs that Photon Engine publishes on the APIs.io network, described by an AsyncAPI event-driven specification.
Tagged areas include Real-Time, Binary Protocol, UDP, TCP, and WebSocket. The published artifact set on APIs.io includes API documentation, an API reference, and an AsyncAPI specification.
This event API exposes 2 operations across 1 channel, and defines 6 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.0.
The API connects through a single server, ns.exitgames.com:{port} (wss).
Metadata
The identity and technical contract details declared by the specification.
Channels & Operations 2
Across 1 channel, the API surfaces 2 operations. Each is listed below with its action, channel, parameters, and response codes.
Messages & Schemas 6
The contract defines 6 schemas that model the data carried by its messages. The most detailed are OperationResponseEnvelope (5 properties), EventEnvelope (3 properties), OperationEnvelope (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable AsyncAPI contract behind this narrative.
Source
More from Photon Engine 8
Other APIs Photon Engine publishes across the network.
This is an independent, third-party profile of Photon Realtime Transport Protocol, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.