Skip to main content
GET
/
api
/
partner
/
products
/
{slug}
/
position
Query a user's position in this product
curl --request GET \
  --url https://api.barker.money/api/partner/products/{slug}/position \
  --header 'X-Api-Key: <api-key>'
{
  "success": true,
  "data": {
    "wallet_address": "0x1234567890123456789012345678901234567890",
    "product_slug": "acme-usdc-base",
    "shares": "10287.456789012345678901",
    "assets": "10500.123456",
    "usd_value": "10500.12"
  }
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

slug
string
required

Query Parameters

address
string
required

Wallet address (0x-prefixed, 42 chars)

Pattern: ^0x[a-fA-F0-9]{40}$

Response

OK

success
boolean
data
object