Developers · API

XBKit APICOMING SOON

Programmatic access to XBKit's e-commerce tools. Integrate FBA profit calculations, live currency rates, duty estimation, barcode generation, and more directly into your apps, scripts, or workflows via a simple REST API.

Quick Example

Request
curl https://api.xbkit.com/v1/fba/profit \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -G \
  -d unitCost=8.50 \
  -d salePrice=24.99 \
  -d weight=0.5 \
  -d category=standard
Response
{
  "netProfit": 9.24,
  "margin": 36.97,
  "roi": 108.71,
  "breakEvenPrice": 16.43,
  "fees": {
    "referral": 3.75,
    "fulfillment": 3.50
  }
}

Available Endpoints

GET/api/v1/fba/profit

Calculate FBA net profit, margin, ROI, and break-even price

params: unitCost, salePrice, weight, dimensions, category

GET/api/v1/currency/rates

Live ECB exchange rates — 25 currencies, updated daily

params: base (optional, default USD)

GET/api/v1/duty/estimate

Estimate import duty and VAT/GST for any destination country

params: cifValue, hsCode, destCountry

POST/api/v1/barcode/generate

Generate EAN-13 or UPC-A barcodes as SVG or PNG

params: code, format (ean13|upca), output (svg|png)

POST/api/v1/cbm/calculate

Calculate CBM and volumetric weight for sea/air freight

params: length, width, height, unit, weight, pieces

+ 40 more endpoints covering all XBKit tools — full reference published at launch.

Pricing

Starter
$9/ month

10,000 calls/mo

  • All endpoints
  • JSON responses
  • Email support
Pro
$29/ month

100,000 calls/mo

  • All endpoints
  • Priority response
  • Webhook support
  • Priority support
Pay-as-you-go
$0.001/ call

No monthly minimum

  • All endpoints
  • Top up credits
  • No expiry

Join the API Waitlist

We'll notify you when the API launches and share early-access pricing.

New tools, when they ship.

No marketing — just a note when something useful launches.