All providers / unofficial-api-for-spankbang
SpankBang API.
Retrieve SpankBang video titles, durations, uploader names, and tags.
Unofficial Python library · v3.0.0 · AGPL-3.0-only
Install
pip install unofficial-api-for-spankbangWhat you can build with SpankBang
- Fetch videos
Client.get_video() - Search the catalog
Client.search() - Fetch channels
Client.get_channel() - Fetch pornstar profiles
Client.get_pornstar() - Download videos
Video.download()
Metadata fields
titlelengthauthordescriptiontagsratingresolutionvideo_qualitiesthumbnail
Metadata comes from the video page. Clips still being processed may be unavailable.
Use it in Python
Python · async example
from spankbang_api import Client
async def metadata(client: Client, url: str):
video = await client.get_video(url)
return {
"title": video.title,
"length": video.length,
"author": video.author,
}Release and tests
Release 3.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 ↗