HomeAge Verification HeadlessAI Services for TerminalsAge Estimation VerifySupportTrust APIIdentity Verification LivenessDigital IDIdentity verificationDigital ID MigrationDBS RTWDigital IDDBS/RTW portaleSignaturesAge verificationAge estimationIn-Branch VerificationAge Estimation v2idv-portal-errorsIdentity ProfilesVerifiable Credentialssandbox-betaIdentity Verification APIAI Services APITrust APIProof of Age (PoA) API
Age Estimation v2
v9.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Quick Start
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
We suggest you read through the step by step integration guide to understand the integration in detail. Please see below for example code snippets, examples projects and a demo.
Before you start
You will need to download the Yoti app on your phone and register your business with Yoti.
Please ensure you have a verified organisation and generate Age estimation keys.
Example code
Good to know
We strongly recommend you use the Face capture module.
First you need to install the SDK:
Javascript
Java
PHP
Python
C#
Go
Ruby
npm install -S -E yotiThere are three endpoints which can be used with this API:
| Endpoint | Description |
|---|---|
| https://api.yoti.com/ai/v1/age | Use Yoti's age estimation service. |
| https://api.yoti.com/ai/v1/age-antispoofing | Use Yoti's age estimation service and the Anti-spoofing check. |
| https://api.yoti.com/ai/v1/antispoofing | Use Yoti's anti-spoofing check as a standalone product. |
Javascript
Java
PHP
Python
C#
Go
Ruby
x
const PATHS = { AGE: '/age', LIVENESS: '/antispoofing', AGE_LIVENESS: '/age-antispoofing',};const data = { img: 'base64img',};const request = new RequestBuilder() .withBaseUrl('https://api.yoti.com/ai/v1') .withPemFilePath('<YOTI_KEY_FILE_PATH>') .withEndpoint(PATHS.AGE_LIVENESS) // optionally PATHS.AGE or PATHS.LIVENESS .withPayload(new Payload(data)) .withMethod('POST') .withHeader('X-Yoti-Auth-Id', '<YOTI_CLIENT_SDK_ID>') .build();Demos
We've created a suite of live demos in Yoti World to show you how the Anti-spoofing API can best serve your business when integrated:
Face capture example
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Anti-spoofingGot a question? Contact us here.
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message