Skip to content

All providers / unofficial-api-for-pornhat

Pornhat API.

Retrieve Pornhat video metadata, publication dates, and creator links.

Unofficial Python library · v0.2.0 · AGPL-3.0-only

Install
pip install unofficial-api-for-pornhat
Open the quickstart ↗

What you can build with Pornhat

Metadata fields

  • title
  • duration
  • publish_date
  • video_id
  • language
  • tags
  • author_name
  • poster_url
  • is_hd

Use the HTML loader for the title and publication date. Individual pages can omit creator or date fields.

Use it in Python

Python · async example
from pornhat_api import Client

async def metadata(client: Client, url: str):
    video = await client.get_video(url)
    return {
        "title": video.title,
        "duration": video.duration,
        "publish_date": video.publish_date,
    }

Release and tests

Release 0.2.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 ↗