Resources
These endpoints are streamlined versions of the Zapper GraphQL API : they are available at https://public.zapper.xyz/x402/*, and tailored for usage with x402. Access is also available with your Zapper API key, by passing the x-zapper-api-key header with your request.
| Onchain Data | Endpoint |
|---|---|
| Aggregated portfolio value across tokens, DeFi, and NFTs | /x402/portfolio-totals |
| Detailed list of token holdings with USD values | /x402/token-balances |
| Active positions in lending, staking, liquidity pools, etc. | /x402/app-balances |
| Individual NFT holdings with floor prices and values | /x402/nft-balances |
| Real-time token price and market cap | /x402/token-price |
| Token price at any point in time | /x402/historical-token-price |
| Trending tokens based on swap activity | /x402/token-ranking |
| Trending NFT collections by trading volume | /x402/nft-ranking |
| Full metadata for a specific NFT (traits, media, holder) | /x402/nft-token-metadata |
| Collection stats, floor price, holders, events | /x402/nft-collection-metadata |
| Find tokens, NFTs, users, and apps by name | /x402/search |
| Resolve ENS, Farcaster, Lens profiles for addresses | /x402/account-identity |
| Human-readable transaction interpretation | /x402/transaction-details |
| Chronological transaction timeline for addresses | /x402/transaction-history |
| List of accounts holding a specific token | /x402/token-holders |
| Real-time feed of swap activity, including token trades, volume, and social context | /x402/general-swap-feed |
| Activity feed for a specific token, including swaps and top Farcaster casts | /x402/token-activity-feed |