Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Pipixia Short URL Conversion

API dokümanları
https://api.sandbase.ai/v1/api/pipixia/app/short-url

Returns 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.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Original URL, can be any link.
ÇıktıÖrnek
Yanıtoutputs · 157 B · 10 satır
[
  {
    "data": {
      "message": "Server Internal Error",
      "prompt": "操作失败,请重试",
      "status_code": 10000,
      "time": 1787218849438
    }
  }
]

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

API README

Pipixia Short URL Conversion API

Returns a Pipixia short URL for a web address you send. It needs one input, original_url, which can be any link.

Use cases

  • Shorten a Pipixia post link such as https://h5.pipix.com/item/7385813877985909043 before sharing it in a message or caption.
  • Convert external web addresses into the https://h5.pipix.com/s/ short format.
  • Batch-generate compact links for a list of posts in a campaign report or share sheet.

Request

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.

Parameters

NameTypeRequiredDescription
original_urlstringYesOriginal URL, can be any link.

Example response

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
}

Response fields

FieldMeaning
data.short_urlThe shortened link for the original_url you sent. It uses the https://h5.pipix.com/s/<code>/ format.
status_codeResult code of the call. 0 means the call succeeded.
messageShort status text. It reads success when the call works.
promptExtra prompt text. It is an empty string in the sample response.
timeNumeric timestamp in the response. The sample value 1793691714055 has 13 digits.

Notes

  • Send original_url as a full address that starts with https://. A Pipixia post link has the form https://h5.pipix.com/item/<post id>.
  • Read the result from data.short_url. Check that status_code is 0 before you use it.
  • To look up the post behind a link, call Pipixia Post Detail with the post ID from the /item/ path.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Pipixia$0.001 çağrı başınaJSON
Pipixia$0.001 çağrı başınaJSON
Pipixia$0.001 çağrı başınaJSON
Pipixia$0.001 çağrı başınaJSON
Pipixia$0.001 çağrı başınaJSON
Pipixia$0.001 çağrı başınaJSON

Kılavuzlar:Best Pipixia API in 2026: Pricing Compared

Sorular

SSS

Pipixia Short URL Conversion API'sini nasıl kullanırım?

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.

Pipixia Short URL Conversion API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Pipixia Short URL Conversion API'si hangi parametreleri kabul eder?

Gerekli: original_url (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Pipixia Short URL Conversion API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Pipixia geliştirici hesabına veya API anahtarına ihtiyacım var mı?

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.