πŸš€v2 API Reference

triangle-exclamation

API V2 is in closed beta

What's new in API v2?

PRC API v2 is intended to provide a more consistent and simpler request model for developers. In addition, it provides highly requested data, such as player locations and vehicle colours!

API v1 will continue to operate, without major changes, until further notice.

Endpoint Information

Fetch server information

get

Returns server status data. Additional fields can be included by setting query parameters to 'true'. All query parameters are optional.

Authorizations
server-keystringRequired

REQUIRED ON ALL REQUESTS.

Query parameters
PlayersbooleanOptional

Include player list in response

Example: true
StaffbooleanOptional

Include staff list (Admins, Mods, Helpers) in response

Example: true
JoinLogsbooleanOptional

Include join logs in response

Example: true
QueuebooleanOptional

Include queue data in response

Example: true
KillLogsbooleanOptional

Include kill logs in response

Example: true
CommandLogsbooleanOptional

Include command logs in response

Example: true
ModCallsbooleanOptional

Include moderator call logs in response

Example: true
VehiclesbooleanOptional

Include vehicle list in response

Example: true
Responses
chevron-right
200

Requested data. Optional fields only included when query=true.

application/json
get
/v2/server

Also see: ER:LC Location Information

Last updated