Resolve a Xiaohongshu short link to its public URL
justoneapi.x.xiaohongshu-share-url-transfer-v1Resolve a supported Xiaohongshu (RedNote) short share link and return its public redirect URL.
- Price
- $0.02214/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-share-url-transfer-v1?shareUrl=https%3A%2F%2Fsns-v27-ae.rednotecdn.com%2Fstream%2Fsync%2F1%2F420%2F1001%2F01ea68431741342d000d20039fa746155a_1001.mp4%3Fsign%3D25d5f010199cd95461395a44a9a3b294%26t%3D6a6ce3c2PreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
shareUrl | string | Required | A Xiaohongshu (RedNote) short share URL beginning with http://xhslink.com/ or https://xhslink.com/. | https://sns-v27-ae.rednotecdn.com/stream/sync/1/420/1001/01ea68431741342d000d20039fa746155a_1001.mp4?sign=25d5f010199cd95461395a44a9a3b294&t=6a6ce3c2 |
- Query parameters
shareUrlstringRequiredA Xiaohongshu (RedNote) short share URL beginning with http://xhslink.com/ or https://xhslink.com/.
Example:
https://sns-v27-ae.rednotecdn.com/stream/sync/1/420/1001/01ea68431741342d000d20039fa746155a_1001.mp4?sign=25d5f010199cd95461395a44a9a3b294&t=6a6ce3c2
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-share-url-transfer-v1?shareUrl=https%3A%2F%2Fsns-v27-ae.rednotecdn.com%2Fstream%2Fsync%2F1%2F420%2F1001%2F01ea68431741342d000d20039fa746155a_1001.mp4%3Fsign%3D25d5f010199cd95461395a44a9a3b294%26t%3D6a6ce3c2' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-share-url-transfer-v1?shareUrl=https%3A%2F%2Fsns-v27-ae.rednotecdn.com%2Fstream%2Fsync%2F1%2F420%2F1001%2F01ea68431741342d000d20039fa746155a_1001.mp4%3Fsign%3D25d5f010199cd95461395a44a9a3b294%26t%3D6a6ce3c2",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-share-url-transfer-v1?shareUrl=https%3A%2F%2Fsns-v27-ae.rednotecdn.com%2Fstream%2Fsync%2F1%2F420%2F1001%2F01ea68431741342d000d20039fa746155a_1001.mp4%3Fsign%3D25d5f010199cd95461395a44a9a3b294%26t%3D6a6ce3c2", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.02214/success, including the service fee.