All providers / unofficial-api-for-porntrex
PornTrex API.
Retrieve PornTrex publication dates, author names, tags, and categories.
Unofficial Python library · v2.0.0 · AGPL-3.0-only
Install
pip install unofficial-api-for-porntrexWhat you can build with PornTrex
- Fetch videos
Client.get_video() - Search the catalog
Client.search() - Fetch channels
Client.get_channel() - Fetch model profiles
Client.get_model() - Download videos
Video.download()
Metadata fields
titleauthorpublish_datedurationviewsdescriptionsubscribers_countvideo_qualitiesthumbnail
Author and publication date come from page markup and can be absent on individual entries.
Use it in Python
Python · async example
from porntrex_api import Client
async def metadata(client: Client, url: str):
video = await client.get_video(url)
return {
"title": video.title,
"author": video.author,
"publish_date": video.publish_date,
}Release and tests
Release 2.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 ↗