All providers / unofficial-api-for-xnxx
XNXX API.
Read XNXX video titles, duration strings, uploader metadata, and tags.
Unofficial Python library · v3.0.0 · AGPL-3.0-only
Install
pip install unofficial-api-for-xnxxWhat you can build with XNXX
- Fetch videos
Client.get_video() - Search videos
Client.search_videos() - Download videos
Video.download()
Metadata fields
titlelengthauthorvideo_iddescriptiontagspublish_datepublish_date_sourcemax_quality
The HTML loader records publication-date provenance separately in publish_date_source.
Use it in Python
Python · async example
from xnxx_api import Client
async def metadata(client: Client, url: str):
video = await client.get_video(url)
return {
"title": video.title,
"length": video.length,
"author": video.author,
}Release and tests
Release 3.0.0 was published on 2026-11-15. Inspect the published distribution, source, and tests for this integration.
Integrating commercially?
The library is free under AGPL-3.0-only. Email me to discuss alternative commercial terms.
Ask about a commercial license ↗