채널 API
채널 정보 조회, 검색, 랭킹 API입니다.
채널 조회
채널 ID 또는 webPath로 채널 정보를 가져옵니다.
Endpoint
GET /v1/channels/{identifier}Request
Path Parameters
| Name | Type | Default |
|---|---|---|
identifier | string채널 ID (숫자) 또는 webPath (문자열) |
Query Parameters
| Name | Type | Default |
|---|---|---|
expand | boolean통계 정보 포함 여부 | false |
Response
Examples
cURL
Terminal
# ID로 조회
curl https://openapi.meloming.com/v1/channels/1
# webPath로 조회
curl https://openapi.meloming.com/v1/channels/meloming-official
# 통계 포함
curl "https://openapi.meloming.com/v1/channels/1?expand=true"플랫폼 채널 ID로 채널 조회
외부 플랫폼(SOOP, CHZZK, CIME)의 채널 ID로 인증된 meloming 채널 정보를 조회합니다.
Endpoint
GET /v1/channels/platforms/{platform}/{channelId}인증(APPROVED) 상태의 채널만 조회됩니다. OTHER 플랫폼은 지원하지 않습니다.
platform 값은 대소문자를 구분하지 않습니다. CIME, cime, Cime 모두 동일하게 동작합니다.
Request
Path Parameters
| Name | Type | Default |
|---|---|---|
platform | "SOOP" | "CHZZK" | "CIME"스트리밍 플랫폼. 대소문자 무관 (예: ‘SOOP’, ‘soop’, ‘Soop’ 모두 허용). 타입은 canonical(대문자) 값만 표기하지만 런타임은 case-insensitive하다. | |
channelId | string플랫폼 채널 ID |
Response
| Name | Type | Default |
|---|---|---|
id | numbermeloming 채널 ID | |
name | string채널명 | |
webPath | stringURL 경로 (예: “streamer123”) | |
platformUrl | string플랫폼 URL (예: “https://www.sooplive.co.kr/station/streamer123 ”) | |
profileImageUrl | string프로필 이미지 URL | |
themeColor | string테마 색상 | |
platform | "SOOP" | "CHZZK" | "CIME"스트리밍 플랫폼 | |
platformChannelId | string플랫폼 채널 ID |
Examples
cURL
Terminal
# SOOP 채널 조회
curl https://openapi.meloming.com/v1/channels/platforms/SOOP/streamer123
# CHZZK 채널 조회
curl https://openapi.meloming.com/v1/channels/platforms/CHZZK/abc123def456
# 소문자도 허용됨 (CIME 채널 조회)
curl https://openapi.meloming.com/v1/channels/platforms/cime/lumoungs2채널 검색
Endpoint
GET /v1/channels/searchRequest
Query Parameters
| Name | Type | Default |
|---|---|---|
q | string검색어 (채널명, webPath, 닉네임) | |
page | number페이지 번호 | 1 |
limit | number결과 수 (최대 100) | 20 |
Response
| Name | Type | Default |
|---|---|---|
items | ChannelWithCountsResponse[]채널 목록 | |
pagination | Pagination페이지네이션 정보 |
Examples
cURL
Terminal
curl "https://openapi.meloming.com/v1/channels/search?q=멜로밍&limit=10"채널 랭킹
인기도 점수를 기반으로 채널 순위를 조회합니다.
Endpoint
GET /v1/channels/rankingRequest
Query Parameters
| Name | Type | Default |
|---|---|---|
limit | number조회 개수 (최대 50) | 10 |
days | number최근 N일 기준 | 30 |
favoritesWeight | number즐겨찾기 가중치 | 1.0 |
songLikesWeight | number노래 좋아요 가중치 | 1.0 |
songsWeight | number등록 노래 수 가중치 | 0.5 |
Response
인기도 점수 계산식: (즐겨찾기 × favoritesWeight) + (노래 좋아요 × songLikesWeight) + (노래 수 × songsWeight)
Examples
cURL
Terminal
# 기본 랭킹 조회
curl "https://openapi.meloming.com/v1/channels/ranking?limit=10"
# 커스텀 가중치 적용
curl "https://openapi.meloming.com/v1/channels/ranking?limit=20&favoritesWeight=2.0&songLikesWeight=1.5"Last updated on