← Back to marketplace

Nansen AI - Agentic Trading with Onchain Intelligence

external

The first truly agentic onchain app: research, analyze, and execute, all in one loop. Ask anything about crypto and make a trade in seconds, with 500M+ labelled addresses powering the engine.

by Nansen46 endpoints100% uptime188ms avg

Price

from $0.0100

up to $7.50 per request

Network

base

Category

ai

On-chain txns

155

Uptime

100%

Avg latency

188ms

Checks

160

Status

Healthy

Base URL

https://api.nansen.ai

Endpoints (46)

Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.

POST/api/v1/agent/expert
base$7.50

Expert Research Agent

POST/api/v1/agent/fast
base$2.00

Fast Research Agent

POST/api/v1/perp-leaderboard
base$0.0500

Get Perpetual Trading Leaderboard Data

POST/api/v1/perp-screener
base$0.0100

Get Perpetual Contract Screening Data

POST/api/v1/prediction-market/address-summary
base$0.0100

Get Prediction Market Address Summary

POST/api/v1/prediction-market/categories
base$0.0100

Get Prediction Market Categories

POST/api/v1/prediction-market/event-screener
base$0.0100

Get Prediction Market Event Screener

POST/api/v1/prediction-market/market-screener
base$0.0100

Get Prediction Market Screener

POST/api/v1/prediction-market/ohlcv
base$0.0100

Get Prediction Market OHLCV Candles

POST/api/v1/prediction-market/orderbook
base$0.0100

Get Prediction Market Orderbook

POST/api/v1/prediction-market/pnl-by-address
base$0.0100

Get Prediction Market PnL by Address

POST/api/v1/prediction-market/pnl-by-market
base$0.0500

Get Prediction Market PnL by Market

POST/api/v1/prediction-market/position-detail
base$0.0500

Get Prediction Market Position Detail

POST/api/v1/prediction-market/top-holders
base$0.0500

Get Prediction Market Top Holders

POST/api/v1/prediction-market/trades-by-address
solana$0.0100

Get Prediction Market Trades by Address

POST/api/v1/prediction-market/trades-by-market
base$0.0100

Get Prediction Market Trades by Market

POST/api/v1/profiler/address/counterparties
solana$0.0500

Get Address Counterparties Data

POST/api/v1/profiler/address/current-balance
base$0.0100

Get Address Current Balance Data

POST/api/v1/profiler/address/historical-balances
base$0.0100

Get Address Historical Balances Data

POST/api/v1/profiler/address/pnl
solana$0.0100

Get Address PnL Data

POST/api/v1/profiler/address/pnl-summary
base$0.0100

Get Address PnL Summary Data

POST/api/v1/profiler/address/related-wallets
solana$0.0100

Get Address Related Wallets Data

POST/api/v1/profiler/address/transactions
solana$0.0100

Get Address Transactions Data

POST/api/v1/profiler/perp-positions
base$0.0100

Get Perpetual Positions Data

POST/api/v1/smart-money/dcas
base$0.0500

Get Smart Money DCAs Data

POST/api/v1/smart-money/dex-trades
base$0.0500

Get Smart Money DEX Trades Data

POST/api/v1/smart-money/historical-holdings
solana$0.0100

Get Smart Money Historical Holdings Data

POST/api/v1/smart-money/holdings
base$0.0500

Get Smart Money Holdings Data

POST/api/v1/smart-money/netflow
solana$0.0500

Get Smart Money Netflow Data

POST/api/v1/smart-money/perp-trades
solana$0.0500

Get Smart Money Perpetual Trades Data

POST/api/v1/tgm/dex-trades
solana$0.0100

Get TGM DEX Trades Data

POST/api/v1/tgm/flow-intelligence
base$0.0100

Get TGM Flow Intelligence Data

POST/api/v1/tgm/flows
solana$0.0100

Get TGM Flows Data

POST/api/v1/tgm/holders
base$0.0500

Get TGM Holders Data

POST/api/v1/tgm/indicators
base$0.0500

Get Nansen Score Indicators

POST/api/v1/tgm/jup-dca
base$0.0100

Get TGM Jupiter DCA Data

POST/api/v1/tgm/perp-pnl-leaderboard
base$0.0500

Get TGM Perp PnL Leaderboard Data

POST/api/v1/tgm/perp-positions
base$0.0500

Get TGM Perp Positions Data

POST/api/v1/tgm/pnl-leaderboard
base$0.0500

Get TGM PnL Leaderboard Data

POST/api/v1/tgm/position-intelligence
base$0.0100

Get TGM Position Intelligence Data

POST/api/v1/tgm/token-information
base$0.0100

Get TGM Token Information Data

POST/api/v1/tgm/token-ohlcv
base$0.0100

Get Token OHLCV Data

POST/api/v1/tgm/transfers
base$0.0100

Get TGM Transfers Data

POST/api/v1/tgm/who-bought-sold
base$0.0100

Get TGM Who Bought/Sold Data

POST/api/v1/token-screener
solana$0.0100

Get Token Screening Data

POST/api/v1/transaction-with-token-transfer-lookup
base$0.0100

Get Transaction with Token Transfer Lookup Data

Payment

Protocolx402 (direct payment, USDC)
Networkbase

How to call

Via APIHub (recommended)No wallet · pay with credits · gasless
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call it
npx @apihubio/cli call https://api.nansen.ai \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://api.nansen.ai
APIHub pays the provider on your behalf and debits your credit balance for the exact amount. No wallet setup, no gas, no per-call signing.
Via direct x402 (advanced)Bring your own wallet
import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);

const res = await x402Fetch("https://api.nansen.ai", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();
Requires USDC on Base and gas on each call. The @x402/fetch client signs EIP-3009 transferWithAuthorization for each 402 response and retries.

This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.