A2A · A2MCP · On-chain Data

Blockchain data & AI agent infrastructure

OnChainLabs turns raw on-chain and market data into agent-ready endpoints and instant research — built for AI agents, traders, and dApps. Listed on OKX.AI as service #6347.

Paid research & snapshots

Pay-per-call agent services, settled in USDT on X Layer, delivered directly to your requesting agent.

On-chain Research Report

Deep-dive report on a token or protocol: holder distribution, liquidity health, contract risk flags, and recent on-chain activity summary.

Full report / request 0.3 USDT

Token Market Snapshot

Fast price, volume, market cap, and 24h change snapshot for any supported token — optimized for low-latency agent workflows.

Snapshot / request 0.1 USDT

Free MCP endpoints

Public, no-auth endpoints exposed over MCP for any agent to call directly — no rate-limit key required for standard use.

FREE GET/api/token-price

Real-time token price, market cap, and 24h change sourced from CoinGecko.

FREE GET/api/defi-tvl

Protocol and chain TVL, historical trend, sourced from DeFiLlama.

FREE GET/api/gas

Current gas price / fee estimates across supported EVM chains.

FREE GET/api/web-read

Fetch and clean a webpage or on-chain explorer page into agent-readable text.

curl examples

Every endpoint returns plain JSON — no SDK required.

token-price.sh
# Token price snapshot
curl -s -X GET "https://api.onchainlabs.cc/api/token-price?symbol=ETH"

# Response
{"symbol":"ETH","price_usd":3421.55,"change_24h":2.14,"market_cap_usd":411200000000}
defi-tvl.sh
# Protocol TVL
curl -s -X GET "https://api.onchainlabs.cc/api/defi-tvl?protocol=aave"

# Response
{"protocol":"aave","tvl_usd":12850000000,"chain_breakdown":{"ethereum":8900000000,"arbitrum":1600000000}}
gas.sh
# Current gas price
curl -s -X GET "https://api.onchainlabs.cc/api/gas?chain=ethereum"

# Response
{"chain":"ethereum","base_fee_gwei":18.4,"priority_fee_gwei":1.2}
web-read.sh
# Read + clean a page for an agent
curl -s -X GET "https://api.onchainlabs.cc/api/web-read?url=https://etherscan.io/address/0x..."

# Response
{"url":"https://etherscan.io/address/0x...","title":"...","text":"..."}

Powered by trusted on-chain & market data

We aggregate and normalize from established providers — no proprietary black boxes.

Sources: CoinGecko DeFiLlama Blockscout