Resolve a Kuaishou short link to its public URL
justoneapi.x.kuaishou-share-url-transfer-v1Resolve a supported Kuaishou short share link and return its public redirect URL.
- Price
- $0.01476/successZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.kuaishou-share-url-transfer-v1?shareUrl=https%3A%2F%2Fp66-pro.a.yximgs.com%2Fuhead%2FAB%2F2018%2F12%2F06%2F22%2FBMjAxODEyMDYyMjE2MjhfMTE1OTExMDU2NV8yX2hkNTI2XzE0OA%3D%3D_s.jpgPreviewTry onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
shareUrl | Zeichenkette | Erforderlich | A Kuaishou short share URL beginning with https://v.kuaishou.com/. | https://p66-pro.a.yximgs.com/uhead/AB/2018/12/06/22/BMjAxODEyMDYyMjE2MjhfMTE1OTExMDU2NV8yX2hkNTI2XzE0OA==_s.jpg |
- Abfrageparameter
shareUrlZeichenketteErforderlichA Kuaishou short share URL beginning with https://v.kuaishou.com/.
Beispiel:
https://p66-pro.a.yximgs.com/uhead/AB/2018/12/06/22/BMjAxODEyMDYyMjE2MjhfMTE1OTExMDU2NV8yX2hkNTI2XzE0OA==_s.jpg
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.kuaishou-share-url-transfer-v1?shareUrl=https%3A%2F%2Fp66-pro.a.yximgs.com%2Fuhead%2FAB%2F2018%2F12%2F06%2F22%2FBMjAxODEyMDYyMjE2MjhfMTE1OTExMDU2NV8yX2hkNTI2XzE0OA%3D%3D_s.jpg' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.kuaishou-share-url-transfer-v1?shareUrl=https%3A%2F%2Fp66-pro.a.yximgs.com%2Fuhead%2FAB%2F2018%2F12%2F06%2F22%2FBMjAxODEyMDYyMjE2MjhfMTE1OTExMDU2NV8yX2hkNTI2XzE0OA%3D%3D_s.jpg",
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.kuaishou-share-url-transfer-v1?shareUrl=https%3A%2F%2Fp66-pro.a.yximgs.com%2Fuhead%2FAB%2F2018%2F12%2F06%2F22%2FBMjAxODEyMDYyMjE2MjhfMTE1OTExMDU2NV8yX2hkNTI2XzE0OA%3D%3D_s.jpg", {
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.01476/success einschließlich Servicegebühr abgerechnet.