original_urlstringerforderlich
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
}
}
]Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
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.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
original_urlstringerforderlichOriginal URL, can be any link.
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
[
{
"data": {
"message": "Server Internal Error",
"prompt": "操作失败,请重试",
"status_code": 10000,
"time": 1787218849438
}
}
]Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Pipixia Short URL ConversionDiese API Pipixia | $0.001 pro Aufruf | JSON |
Pipixia | $0.001 pro Aufruf | JSON |
Pipixia | $0.001 pro Aufruf | JSON |
Pipixia | $0.001 pro Aufruf | JSON |
Pipixia | $0.001 pro Aufruf | JSON |
Pipixia | $0.001 pro Aufruf | JSON |
Anleitungen:Best Pipixia API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/pipixia/app/short-url mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: original_url (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Pipixia Short URL Conversion läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Pipixia API beantragen.