100 production-ready AI agent tools with x402 micropayments. Pay-per-call USDC on Base. Zero API keys. Zero subscriptions. Just a wallet.
The largest collection of x402-compatible tools for autonomous AI agents. Built for LangChain, Vercel AI SDK, CrewAI, AutoGPT, and any agent framework that supports tool calling.
3-17x cheaper than StableEnrich, httpay, BlockRun, and Nansen. Same data. Fraction of the cost. See benchmark.
Why x402-agent-tools?
Feature
x402-agent-tools
StableEnrich
httpay
BlockRun
Tools available
103
~12
~8
~15
Avg price/call
$0.003
$0.01-0.05
$0.01-0.03
$0.01-0.05
API keys needed
None
Yes
Yes
Yes
Subscription
None
Monthly
Monthly
Monthly
Hyperliquid data
7 APIs
0
0
0
Prediction markets
2 APIs
0
0
0
Payment
USDC on Base
USDC
USDC
USDC
Framework support
LangChain, AI SDK
Custom
Custom
Custom
Vercel AI SDK Integration
Use this when building AI agents with Vercel AI SDK. Returns all 103 tools as Vercel-compatible tool objects with automatic x402 payment handling.
import { createClient } from "x402-agent-tools";
import { getX402Tools } from "x402-agent-tools/ai-sdk";
import { generateText } from "ai";
import { anthropic } from "@ai-sdk/anthropic";
const client = createClient("0xYourPrivateKey");
const { text } = await generateText({
model: anthropic("claude-sonnet-4-20250514"),
tools: getX402Tools(client),
prompt: "What are the current funding rates on Hyperliquid for BTC and ETH? Also check if there are any liquidation levels near current prices on Aave.",
});
Filter by category or specific tools
// Only Hyperliquid + DeFi tools (ideal for trading agents)
const tradingTools = getX402Tools(client, {
categories: ["hyperliquid", "defi", "crypto"]
});
// Only specific tools you need
const researchTools = getX402Tools(client, {
tools: ["web_scraper", "web_search", "fact_checker", "research_report"]
});
LangChain.js Integration
Use this when building agents with LangChain.js. Returns DynamicStructuredTool instances compatible with all LangChain agent types.
import { createClient } from "x402-agent-tools";
import { getX402LangChainTools } from "x402-agent-tools/langchain";
import { ChatAnthropic } from "@langchain/anthropic";
import { AgentExecutor, createToolCallingAgent } from "langchain/agents";
const client = createClient("0xYourPrivateKey");
const tools = getX402LangChainTools(client);
const llm = new ChatAnthropic({ model: "claude-sonnet-4-20250514" });
const agent = createToolCallingAgent({ llm, tools, prompt: yourPrompt });
const executor = new AgentExecutor({ agent, tools });
await executor.invoke({
input: "Find the top whale positions on Hyperliquid BTC, check token safety for the top traded token, then summarize the findings."
});
Direct HTTP (No SDK Needed)
Every tool is also available as a standalone x402 HTTP endpoint. Use @x402/fetch directly:
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount("0xYourPrivateKey");
const paidFetch = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
});
// trust_score is POST /api/score. GET tools (e.g. dex_quotes -> /api/quote) take query params.
const response = await paidFetch("https://trust-score.api.klymax402.com/api/score", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ target: "example.com" }),
});
const result = await response.json();
All 103 Tools
Hyperliquid Suite β 7 tools
#1 Hyperliquid data provider on x402. Complete DEX coverage.
Tool
Price
What it returns
hyperliquid_data
$0.001
Perp markets: prices, open interest, 24h volume, orderbook depth for 229 markets
Your Agent x402-agent-tools API Server
| | |
|-- call("trust_score", {}) ->| |
| |-- POST /api/score ------------>|
| |<-- 402 Payment Required -------|
| | |
| | [auto-signs USDC payment] |
| | |
| |-- POST /api/score + payment -->|
| |<-- 200 OK + JSON data ---------|
|<-- structured result --------| |
Your agent calls a tool through the SDK
The SDK sends an HTTP request to our API
Server responds 402 Payment Required with price in USDC
@x402/fetch automatically signs a USDC micro-payment on Base L2
Request retries with the signed payment header
You get structured JSON data back
No API keys. No rate limits. No subscriptions. Pay per call.
Categories
const client = createClient("0xYourPrivateKey");
// List all categories
console.log(client.listCategories());
// ["hyperliquid", "prediction", "crypto", "defi", "nft", "solana",
// "security", "enrichment", "email", "web", "social", "network",
// "nlp", "finance", "media", "text", "research", "compliance",
// "validation", "developer", "generator", "document", "utility", "data"]
// Get tools in a category
const cryptoTools = client.getToolsByCategory("hyperliquid");
// List all 103 tools
const all = client.listTools();
Use Cases
Trading Agent β Use hyperliquid_* + funding_rates + liquidation_oracle + prediction_markets to build autonomous trading strategies. Monitor whale positions, funding arbitrage, and prediction market odds in real-time.
Research Agent β Use web_search + web_scraper + fact_checker + research_report + ai_summarizer to build deep research pipelines. Scrape, verify, and synthesize information from multiple sources.
Security Agent β Use trust_score + token_safety + ssl_checker + port_scanner + gdpr_scanner to audit websites, tokens, and infrastructure. Generate compliance reports automatically.
Sales Agent β Use email_finder + company_enrichment + person_enrichment + email_verification + email_send to build outbound sales pipelines. Find, enrich, verify, and contact leads at scale.
DeFi Agent β Use defi_yields + base_defi + bridge_routes + dex_quotes + wallet_portfolio to optimize yield farming, find bridge routes, and manage multi-chain portfolios.
Prepaid mode
Skip the x402 wallet setup entirely. Buy credits upfront on klymax402.com/packs and call any API with a simple key β no x402 signing, no EIP-3009, no USDC balance management.
Setup (2 steps):
# 1. Register your wallet β get an API key
curl -X POST https://klymax402.com/proxy/register -H "Content-Type: application/json" -d '{"wallet": "0xYourBaseWallet"}'
# β { "api_key": "klyx_...", "credits_bank": "0x7cfE..." }
# 2. Send exactly $10 / $50 / $200 USDC on Base to the credits_bank address
# Credits are detected automatically within 5 minutes