const url = new URL("/v1/creators/search", process.env.AGENT_API_BASE_URL);
url.search = new URLSearchParams({
"product": "the blue peptide bakuchiol plump glow serum",
"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_ids6962003448657740806,6805238333082780677,6923619206600983557,6799380311357670406,6829826669286704134,7620318190535296014,51998605145845760,7381196129051034666,6813360351690949637,6766407165198599174,7193924029512680491,6718833727966168069,7543791020522079246,6634927175394934790,6944456384151340038,6723128791806116870대표 영상을 가져올 creator_id의 쉼표 구분 목록입니다.
limit_per_creator2크리에이터 한 명당 반환할 대표 영상 수입니다.
주요 응답creator_id, videos, thumbnail_url, view_count, video_url