tregDouyinSocial

douyin.video.detail — routed: best of 8 providers, own keys first

treg.douyin.video.detail

One Douyin video by aweme id or share URL — the provider's own `aweme_detail` in `video`

가격
$0.001/success정가 기준
성공률
—성공률 데이터가 아직 없습니다성공률 데이터가 아직 없습니다
지연 시간 p50
——
마지막 검증
—아직 검증되지 않음
POSThttps://toolswitch.dev/v1/tools/treg.douyin.video.detailBeta
  • 플랫폼 할당량 사용
  • 동기 응답
  • 공개 데이터 읽기

파라미터

Send everything you know about the subject — treg derives the rest (full_name ⇄ first+last), matches each provider on the variants it accepts ({video_id} | {url}) and sends each provider only the fields it wants. On a miss treg keeps trying providers, cheapest first, within X-Treg-Route-Max-Cost (default $1 per call; misses on per-success providers are free). Options ride as headers, never in the body: X-Treg-Route-Waterfall: 0 (stop at the first miss), X-Treg-Route-Max-Cost: <usd>, X-Treg-Route-Prefer / X-Treg-Route-Exclude: <provider>. The response is {output, raw, _treg: {served_by, tried}}; X-Treg-Served-By names the child.

파라미터유형필수설명예시
요청 본문(JSON)
urlurl선택identity key (part of url)
video_idstr선택identity key (part of video_id)…
  • 요청 본문(JSON)
  • urlurl선택

    identity key (part of url)

  • video_idstr선택

    identity key (part of video_id)

    예시: …

코드 예제

$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/treg.douyin.video.detail' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"video_id":"…"}'

게이트웨이 API는 Beta이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.001/success이며 서비스 수수료가 포함되어 있습니다.