Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.barker.money/llms.txt

Use this file to discover all available pages before exploring further.

1. Sign up + grab a sandbox API key

  1. Visit portal.barker.money/register
  2. Verify your email (or pass our manual review for production access)
  3. The portal will display your sandbox key (format: bk_test_xxxxx). Copy it — it’s shown once.

2. List products

curl https://api-test.barker.money/api/partner/products \
  -H "X-Api-Key: bk_test_xxxxx"
Response:
{
  "success": true,
  "data": [
    {
      "slug": "allscale-usdc-base",
      "partner": "AllScale",
      "chain": "base",
      "wrapper_address": "0x8874f47Af3305B0BeffaE9EB55A174c306091003",
      "asset_symbol": "USDC",
      "barker_fee_bps": 1000,
      "partner_fee_bps": 1000,
      "status": "active",
      "latest_metrics": {
        "as_of_date": "2026-05-03",
        "wrapper_total_assets": "1245678.000000",
        "underlying_apy": "0.0612",
        "net_apy_for_user": "0.0490"
      }
    }
  ]
}

3. Use the JS SDK (optional)

npm install @barker/sdk-js
import { createBarkerClient } from "@barker/sdk-js";

const barker = createBarkerClient({
  apiKey: process.env.BARKER_API_KEY!,
  env: "sandbox",
});

const { data } = await barker.GET("/api/partner/products");
console.log(data);

4. Move to production

When you’re ready:
  1. Open the portal API Keys page → “Promote to Production”
  2. Manual review (typically 1 business day)
  3. Use bk_live_xxxxx key with env: "production"
Production rate limit: 1000 req/min (sandbox: 100 req/min). Both are anti-abuse — there is no usage billing.