https://github.com/opensanctions/yente
API for OpenSanctions with support for entity search and bulk matching of data collections. Supports Reconciliation API spec.
https://github.com/opensanctions/yente
aml kyc ofac opensanctions sanction-lists sanctions
Last synced: 5 months ago
JSON representation
API for OpenSanctions with support for entity search and bulk matching of data collections. Supports Reconciliation API spec.
- Host: GitHub
- URL: https://github.com/opensanctions/yente
- Owner: opensanctions
- License: mit
- Created: 2022-01-08T12:37:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-11-25T06:03:32.000Z (7 months ago)
- Last Synced: 2025-11-29T03:14:07.794Z (6 months ago)
- Topics: aml, kyc, ofac, opensanctions, sanction-lists, sanctions
- Language: Python
- Homepage: https://www.opensanctions.org/docs/yente/
- Size: 5.48 MB
- Stars: 113
- Watchers: 5
- Forks: 42
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-europe - Yente - square&label=⭐)](https://github.com/opensanctions/yente/stargazers) [](https://github.com/opensanctions/yente/commits/main) [](https://github.com/opensanctions/yente) [](https://github.com/opensanctions/yente/blob/main/LICENSE) [](https://finance.ec.europa.eu/financial-crime/anti-money-laundering-and-countering-financing-terrorism_en) - Entity matching and search API for OpenSanctions data, supporting EU sanctions screening and KYC workflows. (Anti-Money Laundering and Compliance)
README
# yente
`yente` is an open source data match-making API. The service provides several HTTP endpoints to search, retrieve or match [FollowTheMoney entities](https://www.opensanctions.org/docs/entities/), including people, companies or vessels that are subject to international sanctions.
The yente API is built to provide access to [OpenSanctions data](https://www.opensanctions.org/datasets/), it can also be used to [search and match other data](https://www.opensanctions.org/docs/yente/datasets/), such as [company registries](https://www.opensanctions.org/kyb/) or [custom watchlists](https://www.opensanctions.org/docs/yente/datasets/).
While `yente` is the open source core code base for the [OpenSanctions API](https://www.opensanctions.org/api/), it can also be run [on-premises as a KYC appliance](https://www.opensanctions.org/docs/self-hosted/) so that no customer data leaves your infrastructure.
* [yente documentation](https://www.opensanctions.org/docs/yente/) - install, configure and use the service.
## Development
`yente` is implemented in asynchronous, typed Python using the FastAPI framework. We're happy to see any bug fixes, improvements or extensions from the community. For local development without Docker, install the package into a fresh virtual Python environment like this:
```bash
git clone https://github.com/opensanctions/yente.git
cd yente
pip install -e '.[dev]'
# Install pre-commit hooks with useful checks
pre-commit install
```
This will install a broad range of dependencies, including `numpy`, `scikit-learn` and `pyicu`, which are binary packages that may require a local build environment. For `pyicu` in particular, refer to the [package documentation](https://pypi.org/project/PyICU/).
### Running the server
Once you've set the ``YENTE_INDEX_URL`` environment variable to point to a running instance of ElasticSearch or OpenSearch, you can run the web server like this:
```bash
yente serve
```
### Releasing
bump2version --verbose minor # or patch
git push && git push --tags
## License and Support
``yente`` is licensed according to the MIT license terms documented in ``LICENSE``. Using the service in a commercial context may require a [data license for OpenSanctions data](https://www.opensanctions.org/licensing/).