Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Introduction

Integrate PandaBoost API v2 with eligibility checks, safe retries, and order tracking.

Use the PandaBoost REST API to discover services, check whether a target can be ordered, place orders, and track delivery and refunds from your own server.

Base URL

https://web.pandaboost.app/api/v2

Send your API key in the x-api-key header. Request and response bodies use JSON.

Core flow

  1. Call GET /services for available packages, account-specific prices, quantity limits, target requirements, options, eligibility rules, and re-order policy.

  2. Call POST /eligibility with the order body before taking your customer's payment. Check orderable, eligible, problem, and quote.

  3. After your customer has paid, call POST /orders with a persistent clientOrderId from your own order system.

  4. On a retryable failure or network timeout, send the same body with the same clientOrderId. Do not generate a new reference for each attempt.

  5. Store order.id and poll GET /orders/:id every 1–5 minutes. Track delivery separately from refund review.

An HTTP 200 from /eligibility does not mean an order will be accepted: inspect data.orderable. The check does not charge your balance, and live conditions can change before order creation.

Before integrating

  • Keep API keys on your server, not in browser code, mobile bundles, screenshots, or public repositories.

  • Read prices and package requirements from GET /services; do not copy prices or limits from an example into your catalog.

  • Blocking rules prevent an ineligible order before charging. Advisory rules do not block it unless you set requireEligible: true.

  • For pair-level packages, the API selects a verified pair automatically. If your customer needs a particular pair, inspect /eligibility and send target.pairAddress explicitly.

  • A failed order with underReview: true does not yet have a final refund amount. See order lifecycle and settlement.

Moving from v1 to v2

API v1 continues to work with its existing requests and responses; no shutdown date has been announced. Both versions share your API keys, balance, and order history. Orders created through v1 also appear in the v2 order list, so migration can be gradual.

v1 integration
v2 integration

Base URL ends in /api/v1

Use /api/v2 for the migrated flow.

Address fields such as fields.token_address or fields.pair_address

Use target.address; add target.chainId or target.pairAddress when needed.

fields.speed and other package settings

Use options. CoinMarketCap and CoinGecko take a full page URL in options.coin.

Required serviceName

Inferred from orderTypeId; no longer required.

Quantity always supplied

May be omitted only for fixed-quantity packages.

Resolve a target separately and choose a pair

/eligibility resolves and checks the target; pair selection is automatic unless overridden.

Error message string

Read error.code, error.message, error.retryable, and optional error.details.

order.publicId and orderData

Read order.id, target, and options.

Retrying an order can create another charge

Reuse the same clientOrderId and request body.

Changing the URL alone is not a full migration: update the request body, response handling, and retry logic too. The methods reference covers the new HTTP outcomes, including 201, 202, and structured errors.

Next steps

Last updated