Skip to Content

채널 API

채널 정보 조회, 검색, 랭킹 API입니다.


채널 조회

채널 ID 또는 webPath로 채널 정보를 가져옵니다.

Endpoint
GET /v1/channels/{identifier}

Request

Path Parameters

NameTypeDefault
identifierstring

채널 ID (숫자) 또는 webPath (문자열)

Query Parameters

NameTypeDefault
expandboolean

통계 정보 포함 여부

false

Response

NameTypeDefault
idnumber

채널 ID

namestring

채널명

webPathstring

URL 경로 (예: “meloming-official”)

platformUrlstring

플랫폼 URL

profileImageUrlstring

프로필 이미지 URL

topBannerUrlstring

상단 배너 URL

leftBannerUrlstring

좌측 배너 URL

rightBannerUrlstring

우측 배너 URL

themeColorstring

테마 색상

channelDescriptionstring

채널 설명

createdAtstring

생성일 (ISO 8601)

updatedAtstring

수정일 (ISO 8601)

favoritesCountexpand=true

즐겨찾기 수

songLikesCountexpand=true

노래 좋아요 수

songsCountexpand=true

등록 노래 수

popularityScoreexpand=true

인기 점수

isOwnerProSubscriberexpand=true

Pro 구독 여부

isOwnerAmbassadorexpand=true

앰배서더 여부

Examples

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"

채널 검색

Endpoint
GET /v1/channels/search

Request

Query Parameters

NameTypeDefault
qstring

검색어 (채널명, webPath, 닉네임)

pagenumber

페이지 번호

1
limitnumber

결과 수 (최대 100)

20

Response

NameTypeDefault
itemsChannelWithCountsResponse[]

채널 목록

paginationPagination

페이지네이션 정보

Examples

Terminal
curl "https://openapi.meloming.com/v1/channels/search?q=멜로밍&limit=10"

채널 랭킹

인기도 점수를 기반으로 채널 순위를 조회합니다.

Endpoint
GET /v1/channels/ranking

Request

Query Parameters

NameTypeDefault
limitnumber

조회 개수 (최대 50)

10
daysnumber

최근 N일 기준

30
favoritesWeightnumber

즐겨찾기 가중치

1.0
songLikesWeightnumber

노래 좋아요 가중치

1.0
songsWeightnumber

등록 노래 수 가중치

0.5

Response

NameTypeDefault
idnumber

채널 ID

namestring

채널명

webPathstring

URL 경로

profileImageUrlstring

프로필 이미지 URL

favoritesCountnumber

즐겨찾기 수

songLikesCountnumber

노래 좋아요 수

songsCountnumber

등록 노래 수

popularityScorenumber

계산된 인기도 점수

인기도 점수 계산식: (즐겨찾기 × favoritesWeight) + (노래 좋아요 × songLikesWeight) + (노래 수 × songsWeight)

Examples

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