v1

latestOpenAPI 3.1.02026-07-243035381.4 MB
Marketplace

Get token price history from Cryptoslam

/v4/data/marketplace/cryptoslam/token/price/history

45 credits per API call

Retrieves token prices, FDV, and liquidity at any block or timestamp, including percentage change for specified lookback periods.

Rules:

  • Provide either symbols or addresses, not both.
  • Max 30 entries for either parameter (pipe-delimited or comma separated).
  • quote_symbol must be one of: USD, ETH, BTC.
  • Max 30 lookback periods (comma-separated or pipe-delimited minutes).

Supported blockchains:

  • Ethereum - ethereum-mainnet
  • Base - base-mainnet
get/v4/data/marketplace/cryptoslam/token/price/history

Query parameters

chain'ethereum-mainnet' | 'base-mainnet' required

Chains supported by the tokens and wallets endpoints.

The blockchain to work with.

symbolsstring
Example:BTC,ETH

Comma-separated or pipe-delimited list of token symbols (e.g., "BTC,ETH" or "BTC|ETH"). Maximum 30 symbols. Mutually exclusive with addresses.

addressesstring
Example:0x4200000000000000000000000000000000000006

Comma-separated or pipe-delimited list of token contract addresses (e.g., "0x123...,0x456..." or "0x123...|0x456..."). Maximum 30 addresses. Mutually exclusive with symbols.

quoteSymbol'USD' | 'ETH' | 'BTC'
Example:USD

Quote symbol for price (USD, ETH, or BTC).

atBlockNumberinteger
Example:33244773

Block number to retrieve prices at (inclusive).

atTimestampstring date-time
Example:2025-07-23T13:54:53Z

UTC timestamp to retrieve prices at (inclusive). Overrides atBlockNumber if provided.

lookbackMinutesstring
Example:60,1440

Comma-separated or pipe-delimited list of lookback periods in minutes (e.g., "60,1440" or "60|1440"). Maximum 30 periods. Returns percentage change for each specified period.

estimateCostboolean

When true, returns only the SLAM token cost for this query without performing the actual query.

Response

OK

slamnumber

The SLAM token cost for this API call

chainstring

The blockchain network name

blocknumber

Block number

utcstring date-time

UTC timestamp

quotestring

Quote currency symbol

Example response

{
  "slam": 0.033,
  "chain": "base",
  "block": 33244773,
  "utc": "2025-07-23T13:54:53Z",
  "quote": "USD",
  "tokens": [
    {
      "name": "The SWARM (by SLAMai) by Virtuals",
      "symbol": "SWARM",
      "address": "0xea87169699dabd028a78d4b91544b4298086baf6",
      "price": 0.004873,
      "prev": [
        {
          "minutes": 1440,
          "change": "-17.00%"
        }
      ],
      "fdv": 4873223,
      "liquidity": 458831
    }
  ]
}