API Reference

Complete API documentation for Nexxend v1 with examples in cURL, JavaScript, Python, and Go.

Portfolio ExplorerLive

Test multi-chain wallet balances & USD values interactively at nexxend.xyz/portfolio

Tokens ExplorerLive

Explore indexed tokens, contracts, and market data interactively at nexxend.xyz/tokens

Bridge & SwapLive

Cross-chain bridge & swap interface at nexxend.xyz/bridge

Copy this .env file into your project root to configure the Nexxend API client.

.env
# ─────────────────────────────────────────────
# Nexxend API Configuration
# ─────────────────────────────────────────────

# Base URL for all API calls
NEXXEND_API_URL=https://nexxend.xyz/api/v1

# Your API key (get it from https://nexxend.xyz/dashboard/api-keys)
NEXXEND_API_KEY=nx_live_your_key_here

# Optional: Request timeout in milliseconds (default: 15000)
NEXXEND_TIMEOUT_MS=15000

# Optional: Max retries on failure (default: 3)
NEXXEND_MAX_RETRIES=3

# Optional: Specific chain RPC overrides
# ETHEREUM_RPC_URL=https://eth.llamarpc.com
# BSC_RPC_URL=https://bsc-dataseed.binance.org
# POLYGON_RPC_URL=https://polygon-rpc.com
# SOLANA_RPC_URL=https://api.mainnet-beta.solana.com

Security: Never commit your .env file. Add it to .gitignore. Use environment variables in your deployment platform (Vercel, Railway, etc).

Language-specific setup

cURL
# Set your API key as a shell variable
export NEXXEND_API_KEY="nx_live_your_key_here"

# Test the connection
curl -s -H "x-api-key: $NEXXEND_API_KEY" \
  https://nexxend.xyz/api/v1/health | jq .

Nexxend API v1.0.0 — Base URL: https://nexxend.xyz/api/v1