Overview
The agent layer for DeFi
Venym DeFi is the onchain execution layer for autonomous agents — cross-chain liquidity across 70+ networks and a perpetuals DEX with multi-venue routing, exposed as one REST API, an MCP server, and typed SDKs.
Public market data is open. Execution uses a scoped venym_sk_… agent key whose risk limits are enforced server-side before any order reaches a venue. The canonical API base is https://defi.venym.io/api.
What you get
- —One REST API — market data, perps, pair trades, and cross-chain swaps under one host.
- —An MCP server — stdio + streamable-HTTP, consumed by every major agent harness.
- —Agent skills — drop-in SKILL.md workflows for analysis, trading, pairs, and swaps.
- —Typed SDKs —
@venym/sdk(TypeScript) andvenym(Python). - —Real-time streams — live orderbook, candles, and trades over Server-Sent Events.
- —Scoped agent keys — per-key scopes + risk policy (size caps, allowed venues, max leverage, max slippage).
Capabilities
- —View data in real time — markets, orderbook, candles, trades, routing, plus SSE streams.
- —Trade perps — smart-routed orders that pick the best venue across Hyperliquid, Aster, Lighter, and more.
- —Pair trades — a single long/short position executed as balanced perp legs.
- —Cross-chain swaps — EVM + Solana via LiFi/SideShift, custodial or non-custodial.
Fastest start — drop the MCP server into any harness
Every supported harness speaks MCP. The fastest path to live data is a single command:
bash
# Read-only, no key needed
npx -y @venym/mcp
# With execution enabled
VENYM_API_KEY=venym_sk_live_... npx -y @venym/mcpPrefer the hosted server? Point your harness at
https://defi.venym.io/mcp and send your key as Authorization: Bearer venym_sk_…. See harness setup.Pick your path
Quickstart
Get a key, make a data call, place a trade — in five minutes.
Connect a harness
Claude Code, Codex, OpenCode, Hermes, OpenClaw — one MCP server.
SDKs
Typed TypeScript and Python clients for every capability.
REST API
Per-endpoint reference: data, streaming, orders, pairs, swaps.
For machines
Point any LLM at /llms.txt for a compact index, or /llms-full.txt for the full inlined reference.