const url = new URL("/v1/creators/search", process.env.AGENT_API_BASE_URL);
url.search = new URLSearchParams({
"product": "rosemary & rice water hair spray",
"sort": "quality_desc",
"start": 0,
"limit": 16
}).toString();
const response = await fetch(url, { method: "GET" });
const data = await response.json();
GET/v1/creators/video-previews
검색 목록을 가볍게 유지하면서 카드에 표시할 대표 수집 영상만 별도로 가져옵니다.
파라미터현재 값설명
creator_ids6843928110522958853,7220456245366457387,7299992640744113194,6967350134540108806,7496558572123751470,7445141503370609710,6658771662332674053,6831293377234158598,7464830561507918894,6809067160230724613,4055283,7302507471469298734,7475944584234255406,6659922827226251270,7528611871709447198,6790428488819016709대표 영상을 가져올 creator_id의 쉼표 구분 목록입니다.
limit_per_creator2크리에이터 한 명당 반환할 대표 영상 수입니다.
주요 응답creator_id, videos, thumbnail_url, view_count, video_url