GET /v1/toutiao/user/user_id_v1
Toutiao User ID Lookup API (V1)
stable · 20 credits per success
Resolve the user ID associated with a Toutiao profile page URL. Use it to turn a known profile link into the identifier needed for follow-up profile lookups.
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| userProfileUrl | string | query | yes | 用于解析用户ID的今日头条用户资料URL。 | demo |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 20 credits. Any failure — including a 200 that fails the quality gate — costs 0.