All providers / unofficial-api-for-youporn
YouPorn API.
Inspect YouPorn video metadata, rating strings, and category labels.
Unofficial Python library · v2.0.0 · AGPL-3.0-only
Install
pip install unofficial-api-for-youpornWhat you can build with YouPorn
- Fetch videos
Client.get_video() - Search videos
Client.search_videos() - Fetch channels
Client.get_channel() - Fetch pornstar profiles
Client.get_pornstar() - Download videos
Video.download()
Metadata fields
titlelengthratingviewstagsperformersuploader_nameuploader_typepublish_date
The video page supplies rating and length as strings. Channel and collection lookups return separate models.
Use it in Python
Python · async example
from youporn_api import Client
async def metadata(client: Client, url: str):
video = await client.get_video(url)
return {
"title": video.title,
"length": video.length,
"rating": video.rating,
}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 ↗