{"endpoint":{"id":"treg.xiaohongshu.user.profile","provider":"treg","provider_display":"treg","name":"xiaohongshu.user.profile — routed: best of 3 providers, own keys first","summary":"A Xiaohongshu account by user id — the provider's own profile object in `user`","method":"POST","path":"/xiaohongshu.user.profile","scope":"","tier":"core","kind":"routed","domain":"user","call_template":"treg call treg.xiaohongshu.user.profile --method POST --data '{\"user_id\":\"…\"}'","cost":{"type":"per_success","value":0.01,"currency":"USD","per":1,"unit":"call","source":"inferred","confidence":"documented","checked":null,"note":"$0.01–$0.02214 per hit across 3 providers, 0% markup; misses are free","usd":0.01},"async":null,"platform_eligible":true,"platform_blocked":null,"miss":{"status":200,"means":"output.user == null"},"status":null,"status_note":null,"superseded_by":null,"verified":null,"added":null,"docs_url":"","has_example":false,"input":{"bodyType":"json","body":{"user_id":{"type":"str","required":false,"note":"identity"}},"note":"Send what you know; treg sends each provider only the fields it accepts ({user_id}). On a miss it tries the next provider, cheapest first. Options are X-Treg-Route-* headers, never body fields. The answer is {output, raw, _treg}; X-Treg-Served-By names the provider. When you sent a domain, _treg.domain_match says whether the hit's mailbox domain matches it."},"test_request":{"body":{"user_id":"…"}},"routed_children":["justoneapi.x.xiaohongshu-get-user-v3","tikhub.x.xiaohongshu-app-v2-get-user-info","tikhub.x.xiaohongshu-web-v3-fetch-user-info"],"capability":"xiaohongshu.user.profile","capability_description":"Get a user's public profile","platform":"xiaohongshu","platform_label":"Xiaohongshu (RED)","observed":null},"provider":{"service":"treg","display_name":"treg"},"siblings":[{"id":"justoneapi.x.xiaohongshu-get-user-v3","provider":"justoneapi","provider_display":"Just One API","name":"Xiaohongshu user profile by user id or URL","scope":"","kind":"data","cost":{"type":"per_success","value":0.15,"currency":"CNY","per":1,"unit":"call","usd":0.02214},"platform_eligible":true,"status":null,"status_note":null,"superseded_by":null,"verified":"2026-07-28","params":["userId"],"observed":null},{"id":"tikhub.x.xiaohongshu-app-v2-get-user-info","provider":"tikhub","provider_display":"TikHub","name":"Xiaohongshu user profile by user id or share link","scope":"","kind":"data","cost":{"type":"per_success","value":0.01,"currency":"USD","per":1,"unit":"call","usd":0.01},"platform_eligible":true,"status":null,"status_note":null,"superseded_by":null,"verified":"2026-07-28","params":["user_id","share_text"],"observed":null,"reviews":{"teams":0}},{"id":"tikhub.x.xiaohongshu-web-v3-fetch-user-info","provider":"tikhub","provider_display":"TikHub","name":"Xiaohongshu user profile by user id","scope":"","kind":"data","cost":{"type":"per_success","value":0.01,"currency":"USD","per":1,"unit":"call","usd":0.01},"platform_eligible":true,"status":null,"status_note":null,"superseded_by":null,"verified":"2026-07-28","params":["user_id"],"observed":null}],"observed_pending":true,"related_capabilities":[{"endpoint_id":"treg.xiaohongshu.note.comments","capability":"xiaohongshu.note.comments","does":"List a note's comments"},{"endpoint_id":"treg.xiaohongshu.search.users","capability":"xiaohongshu.search.users","does":"Search users by keyword"},{"endpoint_id":"treg.xiaohongshu.user.notes","capability":"xiaohongshu.user.notes","does":"List a user's recent notes"}],"routing":{"contract":{"identity":[["user_id"]],"output":{"user":{"type":"object","required":true}},"miss":"user == null","derive":{}},"plan":[{"endpoint_id":"tikhub.x.xiaohongshu-app-v2-get-user-info","accepts":[["user_id"]],"usd":0.01,"cost":{"type":"per_success","usd":0.01}},{"endpoint_id":"tikhub.x.xiaohongshu-web-v3-fetch-user-info","accepts":[["user_id"]],"usd":0.01,"cost":{"type":"per_success","usd":0.01}},{"endpoint_id":"justoneapi.x.xiaohongshu-get-user-v3","accepts":[["user_id"]],"usd":0.02214,"cost":{"type":"per_success","value":0.15,"currency":"CNY","usd":0.02214}}],"also":[],"max_cost_usd":1.0,"headers":{"X-Treg-Route-Waterfall":"on by default: a miss tries the next provider; 0 = stop at the first miss","X-Treg-Route-Max-Cost":"USD ceiling for the whole call (default 1.00)","X-Treg-Route-Prefer":"provider[,…], the name before an id's first dot (quickenrich), not an endpoint id","X-Treg-Route-Exclude":"provider[,…], the name before an id's first dot (quickenrich), not an endpoint id","X-Treg-Route-Strict-Filters":"1 = never call a provider that cannot apply a filter you sent (answers 422, nothing charged); off by default — the answer names what was ignored in X-Treg-Ignored-Filters"}},"call_template":"treg call treg.xiaohongshu.user.profile --method POST --data '{\"user_id\":\"…\"}'","example_response":null,"hints":["treg call treg.xiaohongshu.user.profile --method POST --data '{\"user_id\":\"…\"}'   # run it — key injected server-side","treg catalog get justoneapi.x.xiaohongshu-get-user-v3   # the same job from justoneapi"]}