Skip to content

All providers / unofficial-api-for-porn

Porn.com API.

Inspect Porn.com scenes, playback availability, and source indexes.

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

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

What you can build with Porn.com

Metadata fields

  • title
  • duration
  • is_playable
  • language
  • tags
  • author_name
  • thumbnail_count
  • source_name
  • unavailable_reason

Read is_playable before using a scene’s media links. Availability can vary between records.

Use it in Python

Python · async example
from porn_api import Client

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

Release and tests

Release 0.2.1 was published on 2026-11-30. 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 ↗