antibot.dev
Sponsored Try LayerSift

Glossary

App attestation

Also called: mobile app attestation, Play Integrity API, App Attest, device attestation, app integrity check

Updated November 14, 2026

App attestation lets a server check that a request comes from a genuine, unmodified copy of its mobile app running on a real device, not from a script, emulator or tampered build. The platform vendor vouches for the app and device in a signed statement that the server verifies.

It matters most for mobile APIs. Without it, a bot can call the same API the app uses with a plain HTTP client, and no client-side detection ever runs.

How it works

The two main platform services:

  • Play Integrity API on Android. The app requests an integrity token, and the server reads verdicts from it: appIntegrity (is this the binary Google Play recognizes), accountDetails (was it installed or paid for through Play) and deviceIntegrity, with labels from MEETS_BASIC_INTEGRITY up to MEETS_STRONG_INTEGRITY. It replaced the SafetyNet Attestation API.
  • App Attest on Apple platforms, part of the DeviceCheck framework. The app creates a key in the Secure Enclave and asks Apple to attest it. The server verifies the attestation once, then checks signed assertions on sensitive requests.

In both, the server should bind each check to the request with a nonce or request hash, so a verdict can’t be replayed. Verification has to happen on the server, because a compromised app can fake its own checks.

Limits

Attestation proves the app and device are genuine, not that a person is using them. Attackers can generate valid verdicts on real devices and hand them to bots, a pattern Google’s own documentation describes. Not every device reaches the highest integrity tier, and App Attest keys don’t survive reinstalling the app. Treat attestation as a strong signal within device intelligence and bot management, not as a gate on its own.

Compare options in the mobile app and API bot protection rankings.

Questions

What replaced SafetyNet Attestation?

Google’s Play Integrity API. The SafetyNet Attestation API has been shut down, and Play Integrity returns app, account and device integrity verdicts instead.

Does app attestation stop all bots on mobile APIs?

No. It stops scripts that call your API without the genuine app, but attackers can run the real app on real devices, or pass verdicts from good devices to their bots. Combine it with rate limits, device history and behavior signals.