A Rocket League Game Data API Wrapper written in C#. The wrapper allow you to connect to the Rocket League Game Data API on your local machine.
It will then convert the JSON event data transmitted over the TCP connection into EventData objects.
Supports all Rocket League versions up to at least v2.68 (2026-04-28). Newer versions should keep working unless Psyonix adds a new EventType or StatEvent.
If you do at some point run into a problem, please create an issue so I can look into fixing it.
You can download the NuGet package, or build from source.
var rl = new RLGameDataAPI();
await rl.ConnectAsync();
while(rl.Connected) {
var events = await rl.ReceiveEventsAsync();
foreach (var e in events) {
Console.WriteLine($"Received {e.EventType} for match {e.MatchGuid}!");
}
}There is a small example in Examples.