Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Pipixia Short URL Conversion

Dokumentacja API
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.

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
Original URL, can be any link.
WyjściePrzykład
Odpowiedźoutputs · 157 B · 10 wierszy
[
  {
    "data": {
      "message": "Server Internal Error",
      "prompt": "操作失败,请重试",
      "status_code": 10000,
      "time": 1787218849438
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README API

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Pipixia$0.001 za wywołanieJSON
Pipixia$0.001 za wywołanieJSON
Pipixia$0.001 za wywołanieJSON
Pipixia$0.001 za wywołanieJSON
Pipixia$0.001 za wywołanieJSON
Pipixia$0.001 za wywołanieJSON

Przewodniki:Best Pipixia API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Pipixia Short URL Conversion?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/pipixia/app/short-url z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Pipixia Short URL Conversion?

$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Pipixia Short URL Conversion?

Wymagane: original_url (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Pipixia Short URL Conversion?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Pipixia lub klucza API?

Nie. Pipixia Short URL Conversion działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Pipixia.