Pirate Tok
GET/api/discover/user/

API Discover User

Purpose

Fetch a user discovery list from the www.tiktok.com web API.

Endpoint

  • host: www.tiktok.com
  • method: GET
  • path: /api/discover/user/

Observed Query Inputs

The full captured URL is not preserved in the observations. The following inputs are preserved with certainty:

  • aid=1988
  • discoverType=... is part of the functional parameter family
  • WebIdLastTime={unix_timestamp}
  • X-Bogus={present}

Additional functional parameters are required, but the exact complete set is not documented.

Important Behavioral Notes

  • a captured browser URL returned about 177KB of user data
  • the data included avatarLarger URLs
  • X-Bogus behaves as a presence check in the preserved tests:
    • exact browser value worked
    • garbage value worked
    • X-Bogus=1 worked
    • X-Bogus= worked
    • removing the parameter entirely produced 0 bytes
  • WebIdLastTime is required; removing it produced "url doesn't match"
  • stripping msToken, verifyFp, odinId, and device_id still worked in the preserved tests
  • cookies were not required in the preserved tests
  • JA3 or browser-TLS impersonation was not required in the preserved tests

Known Limits

  • exact full query shape is not preserved
  • response schema is only partially characterized through the avatarLarger finding and total payload size
  • this contract should not be generalized to other guarded www.tiktok.com/api/* routes