Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Pipixia Short URL Conversion

Docs da 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.

Preço
$0.001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 0 opcionais

Playground

Entrada
Original URL, can be any link.
SaídaExemplo
Respostaoutputs · 157 B · 10 linhas
[
  {
    "data": {
      "message": "Server Internal Error",
      "prompt": "操作失败,请重试",
      "status_code": 10000,
      "time": 1787218849438
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da 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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Pipixia$0.001 por chamadaJSON
Pipixia$0.001 por chamadaJSON
Pipixia$0.001 por chamadaJSON
Pipixia$0.001 por chamadaJSON
Pipixia$0.001 por chamadaJSON
Pipixia$0.001 por chamadaJSON

Guias:Best Pipixia API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Pipixia Short URL Conversion?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/pipixia/app/short-url com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Pipixia Short URL Conversion?

$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Pipixia Short URL Conversion aceita?

Obrigatórios: original_url (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Pipixia Short URL Conversion retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Pipixia ou de uma chave de API?

Não. Pipixia Short URL Conversion funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Pipixia separadamente.