DappLooker Docs
  • 👋Welcome
  • Data APIs for AI
    • Overview
    • Changelog
    • API Authentication
    • API Endpoints
      • Token Market Data + On-Chain Intelligence + Mindshare
      • List of All Tokens
      • Multi-Interval Technical Analysis
      • Trending Tokens
      • Historical Market Data
      • AI-Powered Query via NLQ
      • Agent Details
    • Best Practices
    • Conclusion
  • DappLooker Analytics
    • 🗃️Products
      • 📶Analytics
        • 🔎Browse and Search data
        • 📈Creating Charts
          • No-Code Charts
          • SQL Charts
        • 🔢Custom Values
        • 📊Dashboards
          • Create Dashboard
          • Add Charts to Dashboard
          • Discover Page
          • Link dashboard to another dashboard
          • Adding Filters to Dashboard
            • Time Filter
        • ♻️Convert No-Code to SQL
        • 🔗Making Charts and Dashboards Public
      • 🔍Subgraph Analyzer
      • ✨AI Studio
        • AI Studio API Support
      • 🤖DataBOT
        • 🎮Discord Bot
        • ▶️Telegram Bot
        • 🌐Connect with Leading Networks and dApps
      • 🔑DappLooker SDK
        • 🔎Tracking API Usage
    • 🌐Supported Networks
      • Blockchain Data
      • Smart Contracts
      • Subgraphs
      • SubQuery
      • Offchain Data Sources
    • 📲Registering Data
      • My Dashboard Overview
      • Smart Contracts
      • Subgraph
      • Subquery
      • Off-Chain Integration
    • 🔖Featured Projects
    • 🎯Features
      • XRay Feature
      • Filtering
      • Summarize
      • Downloading
        • Download Chart Data
      • Editor Panel
        • Preview Chart
        • Joining Data
        • Types Of Join Data
        • Sorting
        • Row Limit
        • Convert to models
        • Duplicate a Chart
        • New Collection
      • Creating Custom Column and Custom Expressions
      • 📷Screenshot
      • 🗃️Collections
        • Browse Collection
        • Personal Collection
        • Team Collection
    • ⛓️Smart Contract Live Query
    • 🔔Push Notifications
      • 👀Where to view notifications?
      • 📰Push x MetaMask Snaps
    • 👨‍⚖️Case Studies
      • 1️⃣Community Updates
      • 2️⃣DeFi Reports
      • 3️⃣On-Chain & Off-Chain Analysis
      • 4️⃣User Retention Analysis
      • 5️⃣DappLooker Telegram Bot
      • 6️⃣Subgraph Powered No-Code Dashboards
      • 7️⃣API Use Case: Beamswap
      • 8️⃣Embedding Use Case: GRTDataHub
    • 💰Pricing
      • Pricing Breakdown
      • Discounts And Payments
    • 💻Deploy a subgraph on the DappLooker custom node
    • 🥷DappLooker No-code Ninjas Program!
    • 🤝Sponsor With Us
    • 🔗Relevant Resources
    • ☎️Contact Us
  • API Guides
    • Get API Key
    • How to Get an API of a Chart
    • Render Chart or Dashboard as an Image with API
    • Mintbase
      • Individual Store Level APIs
      • Mintbase Protocol Level APIs
    • Nordek Developer APIs
  • Explorers
    • CeloSpy
    • VaraSpy
Powered by GitBook
On this page
  • Endpoint
  • Query Parameters
  • Sample Request
  • Sample Response
  • Response Fields Explanation

Was this helpful?

  1. Data APIs for AI
  2. API Endpoints

Historical Market Data

Retrieve historical daily metrics for a specific crypto token, including USD price, trading volume, and market capitalization. This endpoint is useful for analyzing token performance trends over time.

PreviousTrending TokensNextAI-Powered Query via NLQ

Last updated 7 hours ago

Was this helpful?

Endpoint

GET https://api.dapplooker.com/v1/crypto-market-historical

💡 Pro Tips

  • This endpoint supports up to 1,000 items per page—ideal for bulk analytics or plotting historical charts efficiently. Use the query param page and pagination attributes to navigate through results.

  • To fetch data for a token, pass any of these query parameters: token_address, token_id, or token_ticker.

  • Use start_date and end_date to narrow down results to a custom date range, helping reduce payload size and focus on relevant timeframes.

  • Combine this endpoint with others like , , or to create rich analytics, dashboards, or market sentiment tools.

Query Parameters

Parameter name

Type

Mandatory

Description

api_key

string

Yes

Your unique Loky API key used for authentication

chain

string

Yes

The network chain to query. Supported chains: base, solana

token_id

string

No

Unique token Id to fetch data

token_ticker

string

No

Token ticker (symbol) to fetch data

token_address

string

No

Token contract address to fetch data

page

integer

No, Default page 1

Page number, 1000 items per page

start_date

string

No

Date from where the data is need to fetch. Use format: YYYY-MM-DD

end_date

string

No

Date to where the data is need to fetch. Use format: YYYY-MM-DD

Sample Request

# Pagination enabled (via page parameter)
curl --location 'https://api.dapplooker.com/v1/crypto-market-historical?api_key=<API_KEY>&chain=base&token_address=0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4&page=1'

# With custom date range (start_date & end_date)
curl --location 'https://api.dapplooker.com/v1/crypto-market-historical?&api_key=<API_KEY>&chain=base&token_ticker=VIRTUAL&start_date=2025-01-01&end_date=2025-06-06'

Sample Response

{
  "success": true,
  "data": {
    "token_id": "toshi",
    "token_symbol": "toshi",
    "token_address": "0xac1bd2486aaf3b5c0fc3fd868558b082a531b2b4",
    "token_day_metrics": [
      {
        "date_time": "2025-06-03",
        "usd_price": 0.00058,
        "total_volume": 21583357,
        "market_cap": 243545744
      },
      {
        "date_time": "2025-06-02",
        "usd_price": 0.00054,
        "total_volume": 13218936,
        "market_cap": 228146173
      },
      {
        "date_time": "2025-06-01",
        "usd_price": 0.00056,
        "total_volume": 14565988,
        "market_cap": 238189967
      }
      // Upto 1000 items
    ],
    "meta": {
      "pagination": {
        "page": 1,
        "pageSize": 1000,
        "totalPages": 1,
        "totalRecords": 3
      }
    }
  }
}

Response Fields Explanation

  • token_id (string): A unique assigned identifier for the token.

  • token_symbol (string): The token’s ticker symbol, typically used in trading.

  • token_address (string): The on-chain address (contract address) of the token.

  • token_day_metrics (array): A list of daily market stats for the token. Each object includes:

    • date_time (string): The calendar date of the record in YYYY-MM-DD format.

    • usd_price (number): The token’s closing price in USD on that day.

    • total_volume (number): The total trading volume in USD on that day.

    • market_cap (number): The estimated market capitalization on that day (price × circulating supply), in USD.

Pagination Attributes:

  • page (integer): The current given page number, also being returned in the response.

  • pageSize (integer): The number of max items can be included per page.

  • pageCount (integer): The total number of pages available.

  • total (integer): The total number of items available across all pages.

Token Details
Trending Tokens
Technical Indicators