Ooga Booga
  • AGGREGATOR
    • How Does It Work?
    • Liquidity Sources
    • Fee Model
  • DEVELOPERS
    • Swap API
      • Guide
      • Reference
      • Troubleshooting
    • Price API
      • Guide (WIP)
      • Reference
    • Endpoints
  • Resources
    • Audit
    • Media
    • Community Made Resources
  • DEPLOYMENTS
    • Aggregator
      • OBRouter Reference
    • Token
    • Ooga Bucks
  • TWAP
    • Benefits
    • Architecture
    • Miscellaneous
    • Trade Execution Logic and Retry Behavior
    • Frontrunning Considerations and Parameter Confidentiality
Powered by GitBook
On this page
  1. DEVELOPERS
  2. Price API

Reference

PreviousGuide (WIP)NextEndpoints

Last updated 3 months ago

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
422Error
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
500Error
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"
  }
]
  • GETToken Prices
  • GETToken List