Toutiao Profile User ID
https://api.sandbase.ai/v1/api/toutiao/app/user-idResolves a Toutiao user profile URL into numeric and secure user identifiers. Returns the user ID and sec_user_id associated with the provided profile link.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 0 optional
Try the model
Playground
[
{
"data": {
"sec_user_id": "MS4wLjABAAAAwK6echNksY69R8l2vcZudupfhTItbGSGt-8ineO5UaB4L-djqkYDgB6TkAdMvrmW",
"user_id": "1352838578180211"
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- user_profile_url
- string · required
Access
- Provider
- Toutiao
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/toutiao/app/user-id
- Authentication
- Bearer API key
API README
Toutiao Profile User ID API
Look up account identifiers from a Toutiao user profile link by passing user_profile_url.
Use cases
- Convert web profile links into Toutiao user IDs for downstream queries.
- Retrieve sec_user_id values needed for Toutiao data integrations.
- Resolve account identifiers from shared Toutiao user links.
Request
curl -X POST "https://api.sandbase.ai/v1/api/toutiao/app/user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_profile_url": "https://www.toutiao.com/c/user/token/MS4wLjABAAAAwK6echNksY69R8l2vcZudupfhTItbGSGt-8ineO5UaB4L-djqkYDgB6TkAdMvrmW/"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
user_profile_url | string | Yes | User profile URL |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"sec_user_id": "<user>",
"user_id": "<user>"
}
Notes
- Requires the full profile link in
user_profile_url.
Related APIs
- Toutiao Article Details (App): Returns details and interface settings for a specified Toutiao post.
- Toutiao Post Comments: Returns user comments and interaction metrics for a specific Toutiao post.
- Toutiao User Profile: Get a Toutiao (Jinri Toutiao) user profile by user ID: name, bio, avatar, follower, following and like counts, and content tabs.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/toutiao/app/user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"user_profile_url": "https://static.sandbase.ai/examples/4494279d-e579-4329-bbf7-b759ee763f46/input/9295e84f-2dcb-46b2-9db8-9e97dabb7c99.bin"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Toutiao Profile User IDThis API Toutiao | $0.0015 per call | JSON | Jul 31, 2026 |
Toutiao | $0.0015 per call | JSON | Jul 31, 2026 |
Toutiao | $0.0015 per call | JSON | Jul 31, 2026 |
Toutiao | $0.0015 per call | JSON | Jul 31, 2026 |
Toutiao | $0.0015 per call | JSON | Jul 31, 2026 |
Toutiao | $0.07 per call | JSON | Oct 29, 2026 |
Questions
FAQ
How do I use the Toutiao Profile User ID API?
Send a POST request to https://api.sandbase.ai/v1/api/toutiao/app/user-id with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Toutiao Profile User ID API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Toutiao Profile User ID API accept?
Required: user_profile_url (string). The Parameters table and the Playground on this page list every field.
What does the Toutiao Profile User ID API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Toutiao developer account or API key?
No. Toutiao Profile User ID runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Toutiao API access separately.
