Skip to main content

Pornhub

Base URL: https://drain.lat/api/v1/pornhub
Fetch Pornhub video information and download links.
GET /api/v1/pornhub/video
url
string
required
Full Pornhub video URL (e.g. https://www.pornhub.com/view_video.php?viewkey=xxxxx).
curl "https://drain.lat/api/v1/pornhub/video?url=https://www.pornhub.com/view_video.php?viewkey=xxxxx" \
  -H "x-api-key: YOUR_API_KEY"
title
string
Video title.
duration
number
Video duration in seconds.
views
string
View count (formatted string).
rating
string
Video rating percentage.
uploader
string
Uploader username.
thumbnail
string
Video thumbnail URL.
qualities
array
url
string
Original video page URL.
Response
{
  "title": "Video Title Here",
  "duration": 720,
  "views": "1.2M",
  "rating": "92%",
  "uploader": "username",
  "thumbnail": "https://ci.phncdn.com/videos/...",
  "qualities": [
    {
      "quality": "1080p",
      "url": "https://cv.phncdn.com/videos/..."
    },
    {
      "quality": "720p",
      "url": "https://cv.phncdn.com/videos/..."
    },
    {
      "quality": "480p",
      "url": "https://cv.phncdn.com/videos/..."
    }
  ],
  "url": "https://www.pornhub.com/view_video.php?viewkey=xxxxx",
  "scrapedAt": "2026-05-31T12:00:00.000Z"
}
Download URLs are temporary and expire after a short period. Fetch fresh URLs when needed.