Toutiao User ID

Resolves the user ID associated with a Toutiao profile URL. Use it to convert a known profile link into the identifier required for subsequent user-profile lookups.

GET /v1/toutiao/get_user_id_v1 $0.02
Price
$0.02 per successful call, Failed calls are free
Endpoint ID
toutiao.get_user_id_v1

Parameters

  • user_profile_url string Required

    The Toutiao user profile URL used to resolve the user ID.

    Examplehttps://www.toutiao.com/c/user/token/MS4wLjABAAAAt8SwvrFR9DtRuKnJXUMvrQ7AR6CXH2xE9sCHnJyDMH8/

Code samples

curl -G "https://api.mofa-ai.com/v1/toutiao/get_user_id_v1" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'user_profile_url=https://www.toutiao.com/c/user/token/MS4wLjABAAAAt8SwvrFR9DtRuKnJXUMvrQ7AR6CXH2xE9sCHnJyDMH8/'

Example response

Request parameters {"user_profile_url": "https://www.toutiao.com/c/user/token/MS4wLjABAAAAt8SwvrFR9DtRuKnJXUMvrQ7AR6CXH2xE9sCHnJyDMH8/"}

JSON Captured 2026-11-07, took 1344 ms
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "toutiao.get_user_id_v1",
  "cost_usd": 0.02,
  "data": {
    "code": 0,
    "data": null,
    "message": null,
    "requestId": "4e758976330048d290f1ca7009b296ed",
    "recordTime": "2026-11-08T07:58:42.612239668",
    "requestParams": {
      "body": null,
      "query": {
        "userProfileUrl": "https://www.toutiao.com/c/user/token/MS4wLjABAAAAt8SwvrFR9DtRuKnJXUMvrQ7AR6CXH2xE9sCHnJyDMH8/"
      }
    }
  }
}

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

More Toutiao endpoints

  • Article Details

    $0.02

    Retrieves details for a Toutiao article identified by its article ID. Use it to look up a known article for content review, archiving, or related media analy…

    /v1/toutiao/get_article_detail_v1

  • Video Details

    $0.02

    Retrieves details for a Toutiao video identified by its video ID. Use it to look up a known video for content review, archiving, or related media analysis.

    /v1/toutiao/get_video_detail_v1

  • User Profile

    $0.02

    Retrieves a Toutiao user profile identified by user ID. Use it to look up a known account for creator research, profile review, or related article analysis.

    /v1/toutiao/get_user_detail_v1

  • Web Keyword Search

    $0.10

    Searches Toutiao web articles by keyword. Use it to discover relevant articles for topic research, media monitoring, or source collection.

    /v1/toutiao/search_v2

↑↓ to move, Enter to open, Esc to close