> For the complete documentation index, see [llms.txt](https://doc.youverify.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.youverify.co/api-reference-sdk/sdk/anti-deepfake-liveness-sdk.md).

# Anti-Deepfake Liveness SDK

Protect your verification flows against sophisticated presentation attacks and deepfake attempts with Youverify's Anti-DeepFake Liveness SDK. It combines passive liveness, active challenges, screen replay detection, and injection attack detection to determine whether a customer is genuinely present during a verification session. The SDK is available for Web and mobile applications on iOS and Android.

The SDK provides configurable liveness checks, allowing businesses to apply the level of verification that best fits their risk requirements and customer journey. It is designed to strengthen identity verification by detecting manipulated or synthetic presentations before they can be used to bypass onboarding and fraud prevention controls.

To get your Public Merchant Key, Click on [Getting your Public Merchant Key](/get-started/getting-your-public-merchant-key.md).

To install the SDK, kindly follow the links below:

### Web

{% embed url="<https://www.npmjs.com/package/youverify-liveness-web/v/1.0.1>" %}
Active Liveness SDK
{% endembed %}

{% embed url="<https://www.npmjs.com/package/youverify-passive-liveness-web>" %}
Passive Active Liveness SDK
{% endembed %}

### Android

{% content-ref url="/pages/74092ea51970aaf2c9913883d1c8ea9b5eed79bd" %}
[Android Liveness SDK \*New](/api-reference-sdk/sdk/anti-deepfake-liveness-sdk/android-liveness-sdk-new.md)
{% endcontent-ref %}

### iOS

{% content-ref url="/pages/90d56360f36c6861d625fa88c7707b9a1b59c321" %}
[iOS Liveness SDK \*New](/api-reference-sdk/sdk/anti-deepfake-liveness-sdk/ios-liveness-sdk-new.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.youverify.co/api-reference-sdk/sdk/anti-deepfake-liveness-sdk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
