$npx skillfedfor your agent

onfido-python

Python library for the Onfido API

Worth itPyPI WWW/HTTPReleased May 20261.1M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — onfido_python-6.2.0-py3-none-any.whl
v6.2.0 · released 2026-05-21 · Python >=3.9 · 5 runtime deps: urllib3, python-dateutil, pydantic, typing-extensions, virtualenv

Yes. This is the official, actively maintained client library for Onfido's API, with low install friction, no known vulnerabilities, permissive licensing, and a large user base (top 5000 on PyPI). Install it if you are integrating Onfido identity verification into a Python application. The only gotcha is the Python 3.9+ requirement and the need for valid Onfido credentials.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later and a valid Onfido API token or OAuth2 credentials.
  • Low friction install with a pure-Python wheel.
  • Actively maintained with a recent release (85 days ago) and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this library with minimal restrictions, provided you include the license notice.

last release 2026-05-21 (85 days) · last repo commit 2026-08-12 · 43 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,066,500 downloads/mo, #4,414 on PyPI

Verify before relying

pip install onfido-python

import onfido
import os

config = onfido.Configuration(
    api_token=os.environ['ONFIDO_API_TOKEN'],
    region=onfido.configuration.Region.EU
)
with onfido.ApiClient(config) as api_client:
    api = onfido.DefaultApi(api_client)
    applicant = api.create_applicant(
        onfido.ApplicantBuilder(first_name='John', last_name='Doe')
    )
  • Whether the library's webhook signature verification is cryptographically sound and follows current best practices.
  • Performance characteristics and rate-limit handling for high-volume applicant creation or check workflows.
  • Completeness of coverage for all Onfido API v3.6 endpoints and whether any are still in alpha/beta.
Same gist for agents: .md · .json

What it is and what it does

onfido-python is the official client library for integrating with Onfido's identity verification API. It wraps the Onfido API v3.6 and is auto-generated from the OpenAPI specification, providing a type-safe interface for creating applicants, managing checks, and verifying webhook events. The library supports both API token and OAuth2 client credentials authentication, with automatic token refresh for OAuth flows.

The package handles the low-level HTTP communication via urllib3 and uses pydantic for request/response validation. It includes built-in webhook signature verification to ensure payloads are authentic and unmodified. The library is actively maintained, supports Python 3.9+, and has no known security vulnerabilities. It is intended for developers building KYC/identity verification workflows into Python applications.

Use it for

  • Build a user onboarding flow that creates applicants and initiates identity checks via the Onfido API.
  • Verify webhook signatures from Onfido to securely process check completion events in your backend.
  • Integrate identity verification into a Python web application using OAuth2 credentials for multi-tenant deployments.
  • Automate applicant data retrieval and check status monitoring for compliance reporting.
  • Handle regional API endpoints (EU, US, CA) with configurable timeouts for different network conditions.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is the official, actively maintained client library for Onfido's API, with low install friction, no known vulnerabilities, permissive licensing, and a large user base (top 5000 on PyPI). Install it if you are integrating Onfido identity verification into a Python application. The only gotcha is the Python 3.9+ requirement and the need for valid Onfido credentials.

Install

onfido-python on PyPI

Before you install

Low friction install with a pure-Python wheel. Actively maintained with a recent release (85 days ago) and no known vulnerabilities. Runtime dependencies are standard and widely used (urllib3, pydantic, python-dateutil).

Requires Python 3.9 or later and a valid Onfido API token or OAuth2 credentials.

License in practice

MIT license is permissive; you can use, modify, and distribute this library with minimal restrictions, provided you include the license notice.

Quickstart

pip install onfido-python

import onfido
import os

config = onfido.Configuration(
    api_token=os.environ['ONFIDO_API_TOKEN'],
    region=onfido.configuration.Region.EU
)
with onfido.ApiClient(config) as api_client:
    api = onfido.DefaultApi(api_client)
    applicant = api.create_applicant(
        onfido.ApplicantBuilder(first_name='John', last_name='Doe')
    )

Verify before relying

  • Whether the library's webhook signature verification is cryptographically sound and follows current best practices.
  • Performance characteristics and rate-limit handling for high-volume applicant creation or check workflows.
  • Completeness of coverage for all Onfido API v3.6 endpoints and whether any are still in alpha/beta.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
urllib3python-dateutilpydantictyping-extensionsvirtualenv
MaintenanceActively maintained 85 days since the last release
Last repo commit
First released
Downloads1,066,500 / month, #4,414 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: onfido_python-6.2.0-py3-none-any.whl

Tags

Capabilities
onfido api client pythonidentity verification sdkapplicant management apionfido integration librarykyc verification pythonwebhook event verificationoauth2 api authentication
Topics
identity-verificationkycapi-client
PyPI keywords
OpenAPIOpenAPI-Generatoronfidoidentity

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “onfido api client python”

  • onfido-pythonOfficial Python client library for the Onfido API, enabling identity…
  • twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
  • codewords-clientA Python client library for the Codewords API with built-in FastAPI…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also onelogin · workos · polar-sdk · legit-api-client · onesignal-python-api · apimatic-core-interfaces · plaid-python · dropbox-sign · stackit-core · seeq