Live API

Developer requests share the API key limits across tools. Direct scraper calls also share a cap of 10 requests per minute, or the lower key limit. Requested-row budgets and concurrent-job limits apply; Respect Retry-After when supplied; concurrency-limited jobs must wait for an active job to finish. Guest Playground runs are capped at ten results (or the tool’s smaller maximum). The live dashboard Playground requires a real API key.

A 200 response is terminal. A 202 response means the existing job is still running; poll its returned pollUrl with the same bearer key until terminal. Resolve relative poll URLs against the API base URL. Do not start another POST to poll.

Developer APIs and no-code tools bill for delivered rows at the published rate. Wallet deductions preserve fractional cents with no per-job minimum. Result fields with unavailable upstream values are null. The response examples below illustrate the envelope and field names.

YouTube · Live

YouTube Video Download

Get expiring direct YouTube video or audio links without uploading, converting or storing media. Supported formats are MP4, WebM and M4A. Public videos have no duration or file-size cutoff for link resolution. Video and audio may be separate; inspect audio_url, has_audio and requires_merge. Links can expire or be restricted by upstream IP/region policy.

POST/v1/youtube/download/results🏷️$1.00 / 1,000 delivered rows
Authorization*string
header

Bearer YOUR_API_KEY. The same key authenticates job polling and results.

Content-Type*string
header

application/json

Parameters
video_url*stringrequired
body

Public HTTPS YouTube video or Shorts URL, or an 11-character video ID.

formatstringoptional
body

Direct download format

Allowed: mp4, webm, m4a. Default: mp4
qualitystringoptional
body

Maximum resolution

Allowed: 240, 360, 480, 720, 1080. Default: 720
max_total_results*integerrequired
body

Maximum rows to return. This controls output size, not the developer API request billing unit.

1–1; default 1
Response Fields24
jobId
string

Stable job identifier used for history, status, results and exports.

status
string

Job state: QUEUED, RUNNING, DONE, FAILED or CANCELLED.

completed
boolean

Whether the job has reached a terminal state.

success
boolean

True only when the job status is DONE. A 202 active job has success false.

pollUrl
string

Authenticated polling path for this job. A relative URL resolves against the API origin.

walletDeductedUSD
number

Actual USD wallet deduction for this job.

count
integer

Returned row count, bounded by max_total_results.

data
array

Result rows. May be empty while the job is active.

data[].video_id
string

video id. Unavailable values are returned as null.

data[].video_url
url

video url. Unavailable values are returned as null.

data[].title
string

title. Unavailable values are returned as null.

data[].fetched_at
datetime

UTC time when the result was collected.

data[].download_url
url

Expiring direct upstream media link. Upstream IP or region restrictions may apply.

data[].expires_at
datetime

Upstream link expiration time; request a new link after it expires.

data[].format
string

format. Unavailable values are returned as null.

data[].mime_type
string

mime type. Unavailable values are returned as null.

data[].size_bytes
integer

size bytes. Unavailable values are returned as null.

data[].width
integer

width. Unavailable values are returned as null.

data[].height
integer

height. Unavailable values are returned as null.

data[].duration_seconds
integer

duration seconds. Unavailable values are returned as null.

data[].audio_url
url

Expiring companion audio link when video and audio are separate; null when unavailable.

data[].has_audio
boolean

Whether the returned video file contains audio.

data[].requires_merge
boolean

Whether you must download the separate audio file and merge it with video yourself.

data[].filename
string

filename. Unavailable values are returned as null.

curl --max-time 90 -X POST "https://pdb-dev.pulldata.io/v1/youtube/download/results" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "format": "mp4",
  "quality": "720",
  "max_total_results": 1
}'
Responses
Completed job — illustrative result fields
{
  "success": true,
  "jobId": "11111111-1111-4111-8111-111111111111",
  "status": "DONE",
  "completed": true,
  "pollUrl": "/api/developer/v1/jobs/11111111-1111-4111-8111-111111111111/poll-results",
  "walletDeductedUSD": 0.01,
  "count": 1,
  "data": [
    {
      "video_id": null,
      "video_url": null,
      "title": null,
      "fetched_at": null,
      "download_url": null,
      "expires_at": null,
      "format": null,
      "mime_type": null,
      "size_bytes": null,
      "width": null,
      "height": null,
      "duration_seconds": null,
      "audio_url": null,
      "has_audio": null,
      "requires_merge": null,
      "filename": null
    }
  ]
}