Anti-Cheat Web APIs

Use the Anti-Cheat Web APIs to use Anti-Cheat interface features with RESTful services.

1 min to read

The Epic Online Services (EOS) Anti-Cheat interfaces help reduce cheating in online multiplayer play.

You can use the Anti-Cheat Web APIs to supplement the EOS C SDK for trusted server applications. Before calling the Anti-Cheat Web APIs, check out the Web API Overview for standards, authentication, and error codes.

API Endpoint

https://api.epicgames.dev/anticheat/

Querying Anti-Cheat Service Status by Deployment

Policy

The client policy used must have the anticheat:authenticateForAnyUser or anticheat:authenticateForLocalUser actions allowed.

Authorization

This call requires Bearer Token authorization with an EOS Client Auth access token, obtained from the Connect interface.

Request

HTTP Request GET /anticheat/v1/{DeploymentId}/status
HTTP Headers
NameValue
Authorization Bearer <EOSAccessToken>
Content-Type application/json
Path Parameters
NameTypeDescriptionRequired
deploymentId String The EOS deployment ID Yes

Example Request

curl "https://api.epicgames.dev/anticheat/v1/<deploymentId>/status/" \
-H "accept: application/json" \
-H "Authorization: Bearer <EOSAccessToken>"

Response

HTTP Response 200 - OK: Success.
HTTP Headers
NameValue
Content-Type application/json
JSON Payload
NameTypeDescription
serverKick Boolean True if anti-cheat Server Kicks are enabled in the EOS Developer Portal, otherwise false.

Example Response

{
"serverKick": true
}