original_urlstringzorunlu
Original URL, can be any link.
https://api.sandbase.ai/v1/api/pipixia/app/short-urlReturns a shortened link for a specified web address. Takes an original web link as input and converts it into a Pipixia-compatible short URL format.
[
{
"data": {
"message": "Server Internal Error",
"prompt": "操作失败,请重试",
"status_code": 10000,
"time": 1787218849438
}
}
]Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
Returns a Pipixia short URL for a web address you send. It needs one input, original_url, which can be any link.
https://h5.pipix.com/item/7385813877985909043 before sharing it in a message or caption.https://h5.pipix.com/s/ short format.curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/short-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"original_url": "https://h5.pipix.com/item/7385813877985909043"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
original_url | string | Yes | Original URL, can be any link. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"short_url": "https://h5.pipix.com/s/rFYPVXgqO3o/"
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1793691714055
}
| Field | Meaning |
|---|---|
data.short_url | The shortened link for the original_url you sent. It uses the https://h5.pipix.com/s/<code>/ format. |
status_code | Result code of the call. 0 means the call succeeded. |
message | Short status text. It reads success when the call works. |
prompt | Extra prompt text. It is an empty string in the sample response. |
time | Numeric timestamp in the response. The sample value 1793691714055 has 13 digits. |
original_url as a full address that starts with https://. A Pipixia post link has the form https://h5.pipix.com/item/<post id>.data.short_url. Check that status_code is 0 before you use it./item/ path.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/short-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"original_url": "example"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
original_urlstringzorunluOriginal URL, can be any link.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
[
{
"data": {
"message": "Server Internal Error",
"prompt": "操作失败,请重试",
"status_code": 10000,
"time": 1787218849438
}
}
]Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Pipixia | $0.001 çağrı başına | JSON |
Pipixia | $0.001 çağrı başına | JSON |
Pipixia | $0.001 çağrı başına | JSON |
Pipixia | $0.001 çağrı başına | JSON |
Pipixia | $0.001 çağrı başına | JSON |
Pipixia | $0.001 çağrı başına | JSON |
Kılavuzlar:Best Pipixia API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/pipixia/app/short-url adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: original_url (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Pipixia Short URL Conversion, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Pipixia API erişimi için ayrıca başvuru yapmanız gerekmez.