Reference

Token Prices

get

Get the computed price of the whitelisted tokens, the native token BERA is represented as the zero address

Authorizations
Query parameters
currencyany ofRequiredDefault: USDExample: USD
stringOptional
or
stringOptional
Responses
200Success
get
GET /v1/prices HTTP/1.1
Host: mainnet.api.oogabooga.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "address": "0x6969696969696969696969696969696969696969",
    "price": 1
  }
]

Token List

get

Get the list of tokens for trading on the Ooga Booga's Smart Order Routing

Authorizations
Responses
200Success
get
GET /v1/tokens HTTP/1.1
Host: mainnet.api.oogabooga.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "address": "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce",
    "name": "Honey",
    "symbol": "HONEY",
    "decimals": 18,
    "tokenURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/honey.png"
  }
]

Last updated