Dexlens
  • About us
    • Welcome to Dexlens
    • Contract Addresses
    • DEXL Pass
    • Pricing
    • Disclaimer
    • Security Alert
  • How it works
    • Overview
    • Data Integration
    • Signal Generation
    • Smart Wallet Tracking
    • Dexlens Terminal
  • SDK & API
    • SDK
    • API
      • How do I get my API Key?
      • Blockchains
        • EVM based blockchains
        • Non-EVM based chains
      • DEX & DEX Aggregators
      • Non Fungible Tokens
      • Derivatives
      • Lending & Borrowing
      • Liquid Staking
      • Oracles
      • Real world assets
      • Yield Aggregators
      • Websockets
Powered by GitBook
On this page
  • GET Get Price
  • GET Get Supported Tokens
  1. SDK & API
  2. API

Oracles

Provides connectivity across the various Oracles.

GET Get Price

Endpoint: /api/getPrice

Method: GET

Description: Retrieve the current price for a specified asset.

Parameters:

  • assetId (required): The unique identifier of the asset.

Response:

  • 200 OK: Returns a JSON object with the current price of the asset.

  • 404 Not Found: If the assetId does not exist.

Example:

GET /api/getPrice?assetId=bitcoin

GET Get Supported Tokens

Endpoint: /api/getSupportedTokens

Method: GET

Description: Fetch a list of all tokens currently supported by the service.

Parameters: None

Response:

  • 200 OK: Returns a JSON array containing supported tokens and their details.

Example:

GET /api/getSupportedTokens
PreviousLiquid StakingNextReal world assets

Last updated 1 month ago