Developer Portal

Access 16 free endpoints instantly. Unlock 23 premium endpoints with an API key.

1

Try Free Endpoints (No Auth Required)

Start immediately with our free endpoints. No API key needed!

/api/news

Get latest crypto news

/api/breaking

Breaking news updates

/api/trending

Trending topics

/api/sentiment

Market sentiment

# Example request
curl https://news-crypto.vercel.app/api/news?limit=5
2

Get an API Key (For Premium Endpoints)

Create an API key to access premium market data, analytics, and AI features.

3

Access Premium Endpoints

Use your API key in the header or query parameter:

# Using header (recommended)
curl -H "X-API-Key: YOUR_API_KEY" \
  https://news-crypto.vercel.app/api/v1/coins
# Using query parameter
curl "https://news-crypto.vercel.app/api/v1/coins?api_key=YOUR_API_KEY"

Alternative: Pay-Per-Request with x402

No subscription needed! Pay for each request with USDC on Base network. Perfect for AI agents and occasional users.

How it works:

  1. 1.Request a premium endpoint without auth
  2. 2.Get 402 response with price and payment details
  3. 3.Sign payment with your wallet
  4. 4.Include X-PAYMENT header in your request
// 402 Response
{
  "error": "Payment Required",
  "price": "$0.001",
  "payTo": "0x...",
  "network": "eip155:8453",
  "accepts": "x402"
}