Skip to main content
POST
Send a playlist, channel, profile, album or podcast feed link and get back its items, each with a url you can send to /import, /transcribe or /metadata. Nothing is downloaded. A page costs $0.003 whatever its limit (up to 200 items), and only a page that completes is charged. For the next page, send the same url with the nextCursor from the previous result. nextCursor is null on the last page. A cursor only works with the url it came from. A link to one video is rejected with NOT_A_COLLECTION, and a YouTube Mix (list=RD…) with COLLECTION_NOT_SUPPORTED; neither is charged. Which links work, what each item field means and a worked example that imports every item are on Playlists, channels and feeds. Poll the result with GET /collection/status, or receive it by webhook.

Authorizations

Authorization
string
header
required

Your API key from the dashboard, sent as Authorization: Bearer <api key>.

Body

application/json
url
string<uri>
required

The link of a playlist, channel, profile, album or podcast feed, e.g. a YouTube playlist or channel, a TikTok profile, a SoundCloud set, a Bandcamp album or a podcast's RSS feed. A URL on localhost or a private or internal address is a 400 INVALID_URL.

Example:

"https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI"

cursor
string

The nextCursor from the previous page's result, unchanged, sent with the same url. Leave it out for the first page. A cursor for another link, or changed, is a 400 INVALID_CURSOR; one whose snapshot expired (an hour after its last page) fails the job with INVALID_CURSOR, uncharged. It works with any limit.

limit
integer
default:50

Items per page, from 1 to 200.

Required range: 1 <= x <= 200
webhookUrl
string<uri>

HTTPS URL that receives the result when the job finishes. It must not point to a private or internal address. A job that fails for good sends one webhook with success: false, code and message.

Example:

"https://example.com/webhooks/importly"

Response

The collection job was queued.

success
boolean
required
data
object
required