API
틱톡 API
틱톡은 짧은 동영상, 라이브 스트림 및 트렌드 기반 발견을 통해 월 10억 명 이상의 사용자를 도달시키며, 문화적 관련성, 크리에이터 캠페인 및 제품 발견에 중요한 플랫폼입니다.
API 참조 버전: 1.0.0 5 엔드포인트 인증
기본 URL
https://api.pressmonitor.com 인증
모든 요청은 Bearer 토큰 인증을 사용합니다. 각 호출에 Authorization 헤더를 추가하세요.
Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/post-comments 게시물 댓글
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| aweme_id | string | query | 예 | Aweme ID |
| count | integer | query | 아니요 | 반환할 결과 수 |
| cursor | integer | query | 아니요 | 커서 |
| device_id | string | query | 아니요 | 디바이스 ID |
코드 예제
curl -X GET "https://api.pressmonitor.com/post-comments?aweme_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/post-detail 게시물 상세
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| aweme_id | string | query | 예 | Aweme ID |
| device_id | string | query | 아니요 | 디바이스 ID |
| from | string | query | 아니요 | 시작 위치 |
코드 예제
curl -X GET "https://api.pressmonitor.com/post-detail?aweme_id=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/search-video 동영상 검색
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| keyword | string | query | 예 | 키워드 |
| count | integer | query | 아니요 | 반환할 결과 수 |
| cursor | integer | query | 아니요 | 커서 |
| device_id | string | query | 아니요 | 디바이스 ID |
| search_id | string | query | 아니요 | 검색 ID |
코드 예제
curl -X GET "https://api.pressmonitor.com/search-video?keyword=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/user-info 사용자 정보
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| sec_uid | string | query | 아니요 | 보안 Uid |
| unique_id | string | query | 아니요 | 고유 ID |
| with_commerce_info | string | query | 아니요 | 상거래 정보 포함 |
코드 예제
curl -X GET "https://api.pressmonitor.com/user-info" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공
GET
/user-posts 사용자 게시물
매개변수
| 이름 | 유형 | 위치 | 필수 | 설명 |
|---|---|---|---|---|
| sec_uid | string | query | 예 | 보안 Uid |
| count | integer | query | 아니요 | 반환할 결과 수 |
| cursor | integer | query | 아니요 | 커서 |
| device_id | string | query | 아니요 | 디바이스 ID |
| from | string | query | 아니요 | 시작 위치 |
| with_play_token | string | query | 아니요 | 재생 토큰 포함 |
코드 예제
curl -X GET "https://api.pressmonitor.com/user-posts?sec_uid=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" 응답
200 성공