← Back to marketplace

Zapper API

external

Enterprise grade onchain data across 60+ chains - token prices, NFTs, portfolios, onchain search, Farcaster and more.

by Zapper17 endpoints100% uptime205ms avg

Price

from $0.0011

up to $0.0045 per request

Network

base

Category

search

On-chain txns

1,797

Uptime

100%

Avg latency

205ms

Checks

160

Status

Healthy

Base URL

https://public.zapper.xyz

Endpoints (17)

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

POST/x402/account-identity
base$0.0011

Get social identity (ENS, Farcaster, Lens, Basenames) for a specific address.

POST/x402/defi-balances
base$0.0011

Get DeFi balances (Liquidity Pools, Yield Farming, Lending, etc.) for a single address, or a list of addresses.

POST/x402/general-swap-feed
base$0.0037

Get a real-time feed of swap activity across Farcaster, including token trades, volume, and social context.

POST/x402/historical-token-price
base$0.0011

Get the price of a token at a specific point in time.

POST/x402/nft-balances
base$0.0011

Get individual NFT balances and estimated values for a single address, or a list of addresses.

POST/x402/nft-collection-metadata
base$0.0011

Get NFT collection data including market stats, holders, events, and a sample of NFTs.

POST/x402/nft-ranking
base$0.0045

Get a ranked list of NFT collections based on rading activity and collection popularity, optionally tailored for a farcaster user.

POST/x402/nft-token-metadata
base$0.0011

Get detailed metadata, traits, media, and holder info for a specific NFT

POST/x402/portfolio-totals
base$0.0019

Get aggregated portfolio totals (Tokens, Apps, NFTs) broken down by network for a single address, or a list of addresses.

POST/x402/search
base$0.0045

Search for ERC20 tokens, NFTs, Users, Apps, or Gas Tokens.

POST/x402/token-activity-feed
base$0.0037

Get a combined activity feed for a specific token, including swaps and top Farcaster casts, personalized for a given user.

POST/x402/token-balances
base$0.0011

Get detailed token balances for a single address, or a list of addresses, optionally filtering by chain.

POST/x402/token-holders
base$0.0011

Get token holders with balances and identity information for a specific token.

POST/x402/token-price
base$0.0011

Get real-time token price and market cap

POST/x402/token-ranking
base$0.0045

Get a ranked list of tokens based on swap activity and velocity of adoption, optionally tailored for a farcaster user.

POST/x402/transaction-details
base$0.0011

Get human-readable interpretation, metadata, and balance changes for a specific transaction.

POST/x402/transaction-history
base$0.0011

Get transaction history with interpretations and metadata for a single address, or a list of addresses.

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://public.zapper.xyz \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://public.zapper.xyz
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://public.zapper.xyz", {
  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.