Token Metrics connects to a Nagent workspace with an API key. Once it is connected, agents can call 5 Token Metrics actions, such as "Get Price", "Get Technical Indicators" and "Get Tokens". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Token Metrics, with input parameters and output schema.
TOKEN_METRICS_GET_PRICETool to retrieve real-time price and market metrics for a given cryptocurrency. Use when you need the latest price, volume, and market cap information for trading or analysis. Response fields like `volume24h` or `numberOfHolders` may be absent; treat missing fields as null, not zero.
Input parameters
Maximum number of tokens to return.
Fiat currency code for quoted price (default 'USD').
Numeric token ID as returned by /tokens endpoint.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TOKEN_METRICS_GET_TECHNICAL_INDICATORSTool to retrieve technical indicators for a token. Use when you need technical analysis data for a specific symbol, interval, and indicator.
Input parameters
Number of data points to retrieve (default is 100, max 1000).
The ticker symbol to query (e.g., 'BTCUSDT').
ISO-8601 end time for the data range (e.g., '2023-06-08T00:00:00Z').
Exchange code for the symbol (e.g., 'BINANCE').
Timeframe interval for the data (e.g., '1h', '4h', '1d').
Name of the technical indicator to retrieve (e.g., 'rsi', 'macd').
ISO-8601 start time for the data range (e.g., '2023-06-01T00:00:00Z').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TOKEN_METRICS_GET_TOKENSTool to retrieve a paginated list of supported tokens with metadata. Use when you need comprehensive token listings across price, market cap, supply, and contract details. Returns token_id values required by TOKEN_METRICS_GET_PRICE and other endpoints — build your token_id mapping here first. Response fields such as volume24h and numberOfHolders may be absent for some tokens; treat missing values as null/unknown, not zero. tokenCreationDate is ISO-8601; convert to UTC for accurate age comparisons.
Input parameters
Page number for pagination (1-based index)
Number of results per page
Search tokens by name or symbol (case-insensitive)
Field to sort by
Filter tokens by category
Maximum token price filter
Minimum token price filter
Filter tokens by blockchain network
Sort order: ascending or descending
Maximum market capitalization filter
Minimum market capitalization filter
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TOKEN_METRICS_GET_TOP_MARKET_CAP_TOKENSTool to retrieve a list of tokens ranked by market capitalization. Use when you need an overview of the most valuable cryptocurrencies.
Input parameters
Page number for pagination, must be at least 1.
Number of tokens to return, must be at least 1.
Sector filter (e.g., 'DeFi', 'NFT').
Quote currency for market cap (e.g., 'USD', 'EUR').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
TOKEN_METRICS_GET_TRADING_SIGNALSTool to retrieve entry and exit crypto trading signals. Use when optimizing trading strategies with signal-based insights.
Input parameters
Maximum number of signals to return, must be at least 1.
Number of signals to skip for pagination, must be non-negative.
Cryptocurrency symbol to filter by (e.g., 'BTC', 'ETH').
Exchange name to filter (e.g., 'Binance').
Timeframe for analysis (e.g., '1h', '1d').
Type of signal to filter (buy, sell, neutral).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 5 Token Metrics actions on Nagent, including "Get Price", "Get Technical Indicators" and "Get Tokens". Get Price: Retrieve real-time price and market metrics for a given cryptocurrency. Each action is listed on this page with its input parameters and its output.
Token Metrics connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
Get Price takes 1 required input: token_id. It also takes 2 optional inputs: limit and currency. It returns data, error and successful.