Arken
  • Introducing Arken Finance
  • Table of Contents
  • Roadmap
  • Using Arken Finance
    • For Individual Traders
      • Discovering Tokens
      • Monitoring Tokens
      • Best-Rate Engine 3.0
      • Stop-Limit for AMM & Limit Orders
      • Gas Optimization Mode
      • Cross-Chain Swap
    • For Private Funds & Institutions
      • Usage Overview & USP
  • Token and Community
    • ARKEN Supply Distribution
  • For Developers
    • Arken API
      • Arken Price API
      • Arken Swap Engine API
      • Arken Insider API
    • Arken Widgets
    • Arken Bridge v1
    • Integration Proposals
  • Security
    • Audit
    • Smart Contract
      • Changelog
  • Resources
    • Contact & Social Link
    • FAQ
    • Token Listing Criteria
    • Risks
    • Common Error Messages
    • Material
Powered by GitBook
On this page

Was this helpful?

  1. For Developers
  2. Arken API

Arken Price API

Need a current price API for your project? Arken Finance has it for you.

PreviousArken APINextArken Swap Engine API

Last updated 2 years ago

Was this helpful?

Arken Price API is part of

Please refer to for getting API tokens

Arken Insider API.
Arken API

Return a cryptocurrency mid-price($). Mid Price for each token is calculated based on the latest total liquidity of all supported dex in the network and quotation by $USD.

get
Authorizations
Path parameters
chainIDstringRequired

Network ID of the blockchain you want to query.

Example: 42161
addressstringRequired

Token address you want to get price.

Example: 0x912ce59144191c1204e64559fe8253a0e49e6548
Responses
200Success
application/json
400
bad request, invalid request parameters
application/json
500
internal server error
application/json
get
GET /insider/v1/{chainID}/tokens/price/{address} HTTP/1.1
Host: public-api.arken.finance
X-API-Username: YOUR_API_KEY
Accept: */*
{
  "price": 1.409363486,
  "lastUpdatedAt": 1680164258,
  "lastUpdatedBlock": 75188020
}

Returns a map(object) of mid-prices($) for one or more cryptocurrencies in list. Mid Price for each token is calculated based on the latest total liquidity of all supported dex in the network and quotation by $USD.

get
Authorizations
Path parameters
chainIDstringRequired

Network ID of the blockchain you want to query.

Example: 42161
Query parameters
addressesstringRequired

Alternatively pass one or more comma-separated token addresses.

Example: 0x912ce59144191c1204e64559fe8253a0e49e6548,0x82af49447d8a07e3bd95bd0d56f35241523fbab1
Responses
200Success
application/json
400
bad request, invalid request parameters
application/json
500
internal server error
application/json
get
GET /insider/v1/{chainID}/tokens/price HTTP/1.1
Host: public-api.arken.finance
X-API-Username: YOUR_API_KEY
Accept: */*
{
  "$address": {
    "price": 1.409363486,
    "lastUpdatedAt": 1680164258,
    "lastUpdatedBlock": 75188020
  }
}
  • GETReturn a cryptocurrency mid-price($). Mid Price for each token is calculated based on the latest total liquidity of all supported dex in the network and quotation by $USD.
  • GETReturns a map(object) of mid-prices($) for one or more cryptocurrencies in list. Mid Price for each token is calculated based on the latest total liquidity of all supported dex in the network and quotation by $USD.