YouTube Search Advanced API
API 한 번의 호출로 YouTube Search Advanced 데이터를 받아 가세요. Searches YouTube videos with the full filter set — sort `order`, `duration`, live/upcoming `event_type`, Creative-Commons `license`, `category`, `region`, `language`, and `published_after`/`published_before` date windows — returning video id, title, thumbnail, channel, and publish time, plus a `cursor` for the next page. Results are always videos. This is the reliable lane for date-window, sort, and fixed-page-size work. `published_after`/`published_before` take exact RFC-3339 bounds and are genuinely applied (`/v1/youtube/search`'s coarse `uploadDate` buckets are silently dropped by that upstream whenever a `type` is also set); `order=viewCount|date` is a real server-side sort; and `max_results` returns exactly the page size you ask for, 1–50. Every result carries an exact per-second `published_at`. Set `includeExtras=true` to add view/like/comment counts and `duration_seconds` to every result (+5 credits per page) — without it those are null, because YouTube's search index returns snippets only. SHORTS: there is no `type=shorts` here and there cannot be — YouTube's Data API has no Shorts concept, so no filter can distinguish a vertical Short from any other video. The documented APPROXIMATION is `duration=short` (under 4 minutes) plus `includeExtras=true` and a client-side filter on `post.content.duration_seconds <= 180`; it will include short landscape videos, so treat it as a narrowing heuristic, not a Shorts filter. For a real Shorts shelf use `/v1/youtube/search?type=shorts`, which reads YouTube's own Shorts surface and carries its own caveats.
2026년 8월 업데이트SocialCrawl 팀이 직접 관리해요
필터를 모두 열어둔 영상 검색 결과를 돌려줍니다: 정렬 기준, 길이, 라이브 여부, 라이선스, 카테고리, 국가, 언어, 게시 기간.
단순 키워드 검색으로는 범위가 너무 넓을 때 사용하세요. 결과는 늘 영상이라 채널이나 재생목록도 받으려면 search를 쓰세요.
48개 플랫폼을 병렬로 검색합니다
Search Advanced API로 무엇을 할 수 있을까요
Search Advanced 엔드포인트가 통합 스키마와 계산 필드를 담은 YouTube 데이터를 한 번의 요청으로 보내드려요. 스크래핑 인프라를 직접 만들거나 유지할 필요가 없어요.
요청 예시
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/youtube/search/advanced?query=lofi+hip+hop"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/youtube/search/advanced",
params={
'query': 'lofi hip hop',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/youtube/search/advanced?query=lofi+hip+hop",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();파라미터
| 파라미터 | 필수 | 설명 |
|---|---|---|
| query | 예 | Search query. |
| order | 아니오 | Sort order: date, rating, relevance (default), title, videoCount, viewCount. Applied server-side by YouTube, so `order=date` and `order=viewCount` are trustworthy here (unlike `/v1/youtube/search`'s `sortBy`, which caps a `popular` page at ~20 results). |
| duration | 아니오 | Video length: short (<4m), medium (4–20m), long (>20m), any. Genuinely applied (unlike `/v1/youtube/search`'s `duration`, which the upstream ignores). `short` plus a client-side `post.content.duration_seconds <= 180` filter is the documented Shorts approximation — see the endpoint description for why it is an approximation and not a Shorts filter. |
| event_type | 아니오 | Broadcast type: live, upcoming, completed. |
| license | 아니오 | License filter: creativeCommon, youtube, any. |
| category | 아니오 | YouTube video category id (e.g. 10 = Music). |
| region | 아니오 | ISO 3166-1 alpha-2 country code. |
| language | 아니오 | Preferred result language (ISO 639-1). |
| published_after | 아니오 | RFC-3339 datetime lower bound (e.g. 2026-01-01T00:00:00Z). Exact and genuinely applied — this is the endpoint to use for date-window work. |
| published_before | 아니오 | RFC-3339 datetime upper bound. Exact and genuinely applied. |
| channel_id | 아니오 | Restrict results to a single channel id. |
| max_results | 아니오 | Maximum number of videos to return (1–50). Honored exactly — a page of 50 returns 50 (live-verified). |
| cursor | 아니오 | Pagination cursor from a previous response — fetches the next page. |
| safe_search | 아니오 | Safe-search filter: none, moderate, strict. |
| video_caption | 아니오 | Caption filter: any, closedCaption, none. |
| video_definition | 아니오 | Quality filter: any, high, standard. |
| video_dimension | 아니오 | Dimension filter: 2d, 3d, any. |
| video_embeddable | 아니오 | Restrict to embeddable videos: true, any. |
| video_type | 아니오 | Type filter: any, episode, movie. |
| topic_id | 아니오 | Restrict to a Freebase topic id (e.g. /m/04rlf for music). |
| location | 아니오 | Latitude,longitude center for a geo search (e.g. 37.42307,-122.08427). Must be used together with location_radius. |
| location_radius | 아니오 | Radius around location with a unit suffix (e.g. 50km, 10mi). Must be used together with location. |
| includeExtras | 아니오 | Set to `true` to add the view, like and comment counts (`post.engagement.views` / `.likes` / `.comments`) and the video length (`post.content.duration_seconds`) to every result. Left off, those four are null — YouTube's search index returns snippets only, so the counts come from a second lookup. Costs +5 credits per page (a page is at most 50 results, so it is a flat +5, not per result) and adds one upstream round-trip. If that lookup fails the page still returns, un-hydrated, with the +5 refunded and `_warnings: ["extras_unavailable"]` on the response. |
YouTube Search Advanced API는 무엇을 돌려주나요
모든 응답은 하나의 통합 스키마를 따라요. 크레딧을 쓰기 전에 어떤 필드가 돌아오는지, 실제 응답 본문 그대로 확인해 보세요.
응답 예시 보기
{
"success": true,
"platform": "tiktok",
"endpoint": "/v1/tiktok/profile/videos",
"data": {
"items": [
{
"post": {
"id": "7658005300657638669",
"url": "https://www.tiktok.com/@charlidamelio/video/7658005300657638669",
"content": {
"text": "dc @lara.joanna ",
"media_urls": "https://v19.tiktokcdn-eu.com/4a08329b68e24d90b840a05c9244ba65/6a498c37/video/tos/alisg/tos-alisg-ve-37c799-sg/ocXRU4saOAVGYeJRAAygAjFIzOGsgRf4peSeXk/?a=1233&bti=MzU8OGYpNHYpNzo5ZjEuLjpkLTptNDQwOg%3D%3D&&bt=1135&ft=ERfCkaZWD00Q12Nvr-HxzIxRA7lGF3_45SY&mime_type=video_mp4&rc=OTg8NGkzZTQ8PDo1NmQ2O0BpanEzd205cmRlPDMzZzczNEAvNWM0NDFfNi8xMjExNF5eYSNmMGwyMmQ0LzBhLS1kMS9zcw%3D%3D&vvpl=1&l=20260703224143F66ABC3BD3A97DB0685C&btag=e000b0000",
"thumbnail_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/owxEmiGPia440JkI3PgALU3bB7aBAlzdBEsKB~tplv-tiktokx-cropcenter-q:300:400:q70.heic?dr=9232&refresh_token=bf18ce44&x-expires=1783202400&x-signature=8AANrRWOCWfS6xtQ9JJiHB77vxo%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=132edbea&idc=no1a&biz_tag=tt_video&s=PUBLISH&sc=cover",
"duration_seconds": 16.903
},
"author": {
"username": "charlidamelio",
"display_name": "charli d’amelio",
"avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ee31de49ddf64b45c5b2e3c55fbd0ea4~tplv-tiktokx-cropcenter-q:1080:1080:q70.heic?dr=9608&idc=no1a&ps=87d6e48a&refresh_token=e0b099bd&s=PUBLISH&sc=avatar&shcp=132edbea&shp=d05b14bd&t=223449c4&x-expires=1783202400&x-signature=9SsuimlpGdsdlerisiaqvDVLV3c%3D",
"verified": true
},
"engagement": {
"views": 3417578,
"likes": 501973,
"comments": 2618,
"shares": 6304,
"saves": 22989
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-07-02T18:51:58.000Z",
"ext": {
"music_id": "7656080164593437471",
"published_at_epoch": 1783018318
}
},
"computed": {
"engagement_rate": 0.14949,
"language": null,
"content_category": "other",
"estimated_reach": 4101094
}
},
{
"post": {
"id": "7657606229484670221",
"url": "https://www.tiktok.com/@charlidamelio/video/7657606229484670221",
"content": {
"text": "@Alexa Davis ",
"media_urls": "https://v19.tiktokcdn-eu.com/07ada727f60ed77f8504c4c9aee6f992/6a498c31/video/tos/alisg/tos-alisg-ve-37c799-sg/oAmE41FRfIDnKlQAZjDgfcEsqFENRqYDSBGUSB/?a=1233&bti=MzU8OGYpNHYpNzo5ZjEuLjpkLTptNDQwOg%3D%3D&&bt=857&ft=ERfCkaZWD00Q12Nvr-HxzIxRA7lGF3_45SY&mime_type=video_mp4&rc=NWU8OTg2aTw6ODlpNDU1PEBpanlrNmw5cmxuPDMzZzczNEBfLTEtMy8tXzYxLzYvYTNfYSNlbGVvMmRrYC9hLS1kMS9zcw%3D%3D&vvpl=1&l=20260703224143F66ABC3BD3A97DB0685C&btag=e000b0000",
"thumbnail_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/ooZRDflKEE2SIFSfsAqgFBcFEORUAY4jBDl2Yc~tplv-tiktokx-cropcenter-q:300:400:q70.heic?dr=9232&refresh_token=0ee7ce0e&x-expires=1783202400&x-signature=DiqCJ1sMgLvKp5k1aK2lKgBm7CU%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=132edbea&idc=no1a&biz_tag=tt_video&s=PUBLISH&sc=cover",
"duration_seconds": 10.123
},
"author": {
"username": "charlidamelio",
"display_name": "charli d’amelio",
"avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ee31de49ddf64b45c5b2e3c55fbd0ea4~tplv-tiktokx-cropcenter-q:1080:1080:q70.heic?dr=9608&idc=no1a&ps=87d6e48a&refresh_token=e0b099bd&s=PUBLISH&sc=avatar&shcp=132edbea&shp=d05b14bd&t=223449c4&x-expires=1783202400&x-signature=9SsuimlpGdsdlerisiaqvDVLV3c%3D",
"verified": true
},
"engagement": {
"views": 7205601,
"likes": 739100,
"comments": 1943,
"shares": 6268,
"saves": 28516
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-07-01T17:03:22.000Z",
"ext": {
"music_id": "7656080164593437471",
"published_at_epoch": 1782925402
}
},
"computed": {
"engagement_rate": 0.103713,
"language": null,
"content_category": "other",
"estimated_reach": 8646721
}
},
{
"post": {
"id": "7657287641641143565",
"url": "https://www.tiktok.com/@charlidamelio/video/7657287641641143565",
"content": {
"text": null,
"media_urls": "https://v19.tiktokcdn-eu.com/24d5a0ceaf069ce4435f27d4a1fb7fa5/6a498c2d/video/tos/alisg/tos-alisg-ve-37c799-sg/o4IuEqzEKBC3UgRghYEA5FEDZJDB2RL2JfePpS/?a=1233&bti=M0BzMzU8OGYpNzo5Zi5wIzEuLjpkNDQwOg%3D%3D&&bt=939&ft=ERfCkaZWD00Q12Nvr-HxzIxRA7lGF3_45SY&mime_type=video_mp4&rc=O2Q8M2k1Nzo7ODkzPGQ2NkBpM3VrZmo5cm01PDMzZzczNEBiYC0yLjU0XjQxNTMxX2FhYSNjZy5mMmRzYC9hLS1kMS9zcw%3D%3D&vvpl=1&l=20260703224143F66ABC3BD3A97DB0685C&btag=e000b0000",
"thumbnail_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast5-p-0068-tx/oEEehFBRSDqxRYEZJgMgAQpzEf2PJiDEJNI7CB~tplv-tiktokx-cropcenter-q:300:400:q70.heic?dr=9232&refresh_token=7ef5f605&x-expires=1783202400&x-signature=10x4mFTkwGHZf2I3P%2FcRrZr6vTo%3D&t=bacd0480&ps=933b5bde&shp=d05b14bd&shcp=132edbea&idc=no1a&biz_tag=tt_video&s=PUBLISH&sc=cover",
"duration_seconds": 6.467
},
"author": {
"username": "charlidamelio",
"display_name": "charli d’amelio",
"avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/ee31de49ddf64b45c5b2e3c55fbd0ea4~tplv-tiktokx-cropcenter-q:1080:1080:q70.heic?dr=9608&idc=no1a&ps=87d6e48a&refresh_token=e0b099bd&s=PUBLISH&sc=avatar&shcp=132edbea&shp=d05b14bd&t=223449c4&x-expires=1783202400&x-signature=9SsuimlpGdsdlerisiaqvDVLV3c%3D",
"verified": true
},
"engagement": {
"views": 5941789,
"likes": 941067,
"comments": 3165,
"shares": 17173,
"saves": 18760
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": false,
"deleted": false
},
"published_at": "2026-06-30T20:27:04.000Z",
"ext": {
"music_id": "7530783142774065975",
"published_at_epoch": 1782851224
}
},
"computed": {
"engagement_rate": 0.161804,
"language": null,
"content_category": null,
"estimated_reach": 7130147
}
}
],
"next_cursor": "1782516110000",
"total": 10
},
"dropped": 0,
"credits_used": 1,
"credits_remaining": 9999,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": "sc.eyJ2IjoyLCJjIjoiMTc4MjUxNjExMDAwMCIsInAiOiJtYXhfY3Vyc29yIn0",
"has_more": true,
"page_size": 10
}
}TikTok API에서 가져온 예시예요. 모든 SocialCrawl 엔드포인트가 똑같은 통합 스키마를 돌려주기 때문에, YouTube Search Advanced 응답도 같은 필드로 구성돼요.
YouTube Search Advanced API는 어떻게 동작하나요
API 키와 함께 GET 요청을 보내면, 통합 스키마와 계산 필드를 담은 깔끔한 JSON이 돌아와요.
메서드
GET
응답 형식
JSON
소셜 미디어 데이터를 몇 초 만에 수집하는 방법
개발자를 위한 가장 빠른 소셜 미디어 스크래핑 API. 월간 활성 사용자 100억 명 이상을 포괄하는 48개 플랫폼에서 프로필, 게시물, 댓글, 분석 데이터를 수집하세요.
모든 플랫폼을 하나의 스키마로
동일한 응답 구조로 48개 플랫폼을 조회하세요. 연동은 한 번이면 충분합니다.
단순 수집을 넘어 계산된 필드 제공
엔드포인트가 해당 지표를 지원하고 계산에 필요한 원본 값이 있을 때, 정규화된 레코드에 engagement_rate, estimated_reach, content_category, language를 함께 담아 바로 활용할 수 있습니다.
코드 한 줄 쓰기 전에, 데이터부터
Visual Data Explorer — URL만 붙여넣으면 결과 카드, 정형화된 테이블, CSV 내보내기 기능을 제공합니다.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}자주 묻는 질문
API, 요금제, 기능에 대한 질문과 답변입니다.
문의하기YouTube 고급 영상 검색은 어떻게 하나요?
고급 검색은 어떤 필터를 지원하나요?
특정 기간에 올라온 영상만 어떻게 찾나요?
기본 검색 엔드포인트와 무엇이 다른가요?
고급 검색 요금은 얼마인가요?
AI에게 SocialCrawl을 물어보세요
YouTube Search Advanced 데이터, 가져올 준비 되셨어요?
API 키 받고 60초 안에 YouTube 데이터를 받아 가세요.
