Skip to content

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-youporn
Open the quickstart ↗

What you can build with YouPorn

Metadata fields

  • title
  • length
  • rating
  • views
  • tags
  • performers
  • uploader_name
  • uploader_type
  • publish_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 ↗