26 platforms, inside your AI
Zomler

API · YouTube

[ docs ]Social

YouTube

Measured YouTube data, one operation per call. Channels come from evidence (a pasted channel URL, an @handle you SAW, a UC… id) — never typed from a person's name. ops: channels (subjects = @handles, UC ids or channel URLs; add include.videos to get each channel's recent videos IN THE SAME CALL), videos (one channel, deep — includes the channel card when held; views, likes, comments, duration and absolute publish dates per video), comments (top comments on videos by watch/shorts URL or id), history (stored subscriber/video/view series, free). Ops are independent — issue several as PARALLEL tool calls. Fresh fetches cost credits; anything already held is free.

POST https://api.zomler.com/api/v1/platforms/youtube

channels

from 1 credit · fresh for 7 days

Channel cards for up to ten channels, by @handle, UC… id or pasted channel URL. `include.videos` adds each channel's recent videos to the same answer.

Request fields

FieldTypeDefaultValues / limits
subjectsrequiredlist of string1-10 items
includeobject
include.videosobject
include.videos.limitinteger101-50
include.videos.sincestringYYYY-MM-DD

Example

curl
curl -X POST https://api.zomler.com/api/v1/platforms/youtube \
  -H "X-API-Key: zk_live_…" \
  -H "Content-Type: application/json" \
  -d '{
  "request": {
    "op": "channels",
    "subjects": [
      "example"
    ]
  },
  "estimateOnly": false
}'

videos

from 5 credits for 10 · fresh for 2 days

One channel's recent videos with views, likes and comments — includes the channel card when held. A date floor always fetches fresh.

Request fields

FieldTypeDefaultValues / limits
subjectrequiredstring≤400 chars
limitinteger101-50
sincestringYYYY-MM-DD

Example

curl
curl -X POST https://api.zomler.com/api/v1/platforms/youtube \
  -H "X-API-Key: zk_live_…" \
  -H "Content-Type: application/json" \
  -d '{
  "request": {
    "op": "videos",
    "subject": "example"
  },
  "estimateOnly": false
}'

comments

from 13 credits for 25 · fresh for 1 day

Top comments on up to ten VIDEOS, by watch/shorts URL or bare video id. Commenters are free text — not corpus members.

Request fields

FieldTypeDefaultValues / limits
subjectsrequiredlist of string1-10 items
limitinteger251-100

Example

curl
curl -X POST https://api.zomler.com/api/v1/platforms/youtube \
  -H "X-API-Key: zk_live_…" \
  -H "Content-Type: application/json" \
  -d '{
  "request": {
    "op": "comments",
    "subjects": [
      "example"
    ]
  },
  "estimateOnly": false
}'

history

free · reads what is held

The stored time series — free, reads only what captures already wrote.

Request fields

FieldTypeDefaultValues / limits
subjectsrequiredlist of string1-10 items
metricenumsubscriberssubscriberstotal_videostotal_views
daysinteger901-730

Example

curl
curl -X POST https://api.zomler.com/api/v1/platforms/youtube \
  -H "X-API-Key: zk_live_…" \
  -H "Content-Type: application/json" \
  -d '{
  "request": {
    "op": "history",
    "subjects": [
      "example"
    ]
  },
  "estimateOnly": false
}'