# API

### `https://api.dexlens.io/v1/`

(In Staging now)

### Onchain API Functionality & Docs

* getTokenPairStats - retrieves token statistics for a specific base and quote token pair.
* getNewPairsByCriteria - retrieves new pairs based on specified criteria.
* getTokenDetailsByAddresses - retrieves detailed information about tokens based on their addresses.
* getSecurityAndTokenomicsDetails - provides security-related details and tokenomics information.
* getTokenHolderSummary - provides a summary of holders for a specific token, including detailed statistics and transaction history.
* checkApprovalStatus - checks the approval status of specified wallet addresses for a particular token on a specified blockchain chain.
* getTokenTechAndStatsInfo - retrieves detailed technical and statistical information about a specific token identified by its address and chain ID.
* tradeHistory - retrieves historical trade data for a specified pair of tokens on a decentralized exchange
* chart - retrieves chart data for a specified trading pair within a given time range and interval.
* walletsSummary - provides a summary of wallet balances and optionally fetches additional metadata
* nativeBalances - allows retrieving native token balances for specified wallet addresses across multiple blockchain networks.
* getTokenMetaData - provide onchain information about a specific cryptocurrency.
* getSmartMoney - provide information about smart money movements

### Data API Funtionality & Docs

* coinData - Get coin data from supabase database `Over 100,000 coins & tokens and counting, updated daily`
* labels - Address labels API `Over 1,000,000 labels and counting, updated daily, functionality for custom labels via telegram user account`
* coinImages - Crypto images CDN & API `Over 100,000 images updated daily, in muliple formats`
* getFunds - Get's data about venture capital funds, provide endpoints for weekly & fundrasing reports. `Over 70,000 Records and updated daily with new funds and VC's!`
* getEvents - Alpha events & new crypto events.
* getGlossary - API for Crypto glossary and term explanations
* getProjects - API for Crypto dapps, projects & experts `Crypto dapps & project data, over 100,000 Records`
* getUtils - Crypto Utils API

### Blockchain API's Funtionality & Docs

* walletAPI - Wallet Data endpoints & utilities.
* pricesAPI - Onchain Price Data endpoints & NFT prices
* defiAPI - Defi data endpoints & utilities
* dappsAPI - Dapps data endpoints & utilities
* evmAPI - EVM blockchain endpoints & utilities
* bitcoinAPI - Bitcoin endpoints & utilities
* ethereumAPI - Ethereum endpoints & utilities
* solanaAPI - Solana endpoints & utilities
* polygonAPI - Polygon endpoints & utilities
* baseAPI - Base endpoints & utilities
* nftAPI - NFT endpoints & utilities
* tokenAPI - Token data endpoints
* traderAPI - Trader API endpoints
* xrpAPI - XRP data endpoints


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dexlens.io/oldpages/technical-pages/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
