← Back to Zeny

API Documentation

All endpoints are free. No API key required. No authentication needed.

Base URL: https://www.zeny.fun

GET/api/price

Get real-time token price with multi-source fallback

Parameters

tokenstringToken ID (e.g. bitcoin, ethereum)
addressstringContract address (e.g. 0x...)
chainstringChain for address lookup (default: ethereum)

Example

curl "https://www.zeny.fun/api/price?token=bitcoin"
GET/api/trending

Get trending tokens aggregated from CoinGecko

Example

curl "https://www.zeny.fun/api/trending"
GET/api/market

Get top 20 tokens by market cap

Example

curl "https://www.zeny.fun/api/market"
GET/api/health

Check agent health and data source connectivity

Example

curl "https://www.zeny.fun/api/health"
GET/api/agent

ERC-8004 agent metadata

Example

curl "https://www.zeny.fun/api/agent"
GET/api/x402

x402 payment protocol endpoint. Returns 402 with PAYMENT-REQUIRED header.

Parameters

infobooleanSet to true for human-readable info

Example

curl -v "https://www.zeny.fun/api/x402"
GET/api/mpp

MPP payment protocol endpoint. Returns 402 with WWW-Authenticate: Payment header.

Parameters

infobooleanSet to true for human-readable info

Example

curl -v "https://www.zeny.fun/api/mpp"
GET/api/stats

Agent statistics: API call count, uptime, active data sources

Example

curl "https://www.zeny.fun/api/stats"

Discovery Files

/.well-known/agent.jsonERC-8004 agent registration
/.well-known/agent-registration.jsonERC-8004 domain verification
/.well-known/mcp.jsonMCP tool discovery for AI models