PayToll
APIs for AI Agents
Start free. Then pay per call when you scale.
50 free calls/day, then USDC on Base.
31
API Endpoints
$0.001
Starting Price
<1s
Avg Response
How It Works
Free to try, pay-as-you-go to scale. No accounts, no API keys, no monthly bills.
1. Start Free
Call a free-tier endpoint and get an immediate response. No wallet, account, or API key required.
2. Pay When Needed
After free calls are exhausted or for paid-only endpoints, use x402 payment with USDC on Base.
3. Get Results
Once payment is verified, your request is processed and you receive the API response immediately.
Available Endpoints
DeFi data, crypto utilities, social APIs, and LLM access — all with a single USDC payment.
aave-best-borrow
Find lowest Aave V3 borrow APR across all chains
POST /v1/aave/best-borrowaave-best-yield
Find best Aave V3 supply APY across all chains
POST /v1/aave/best-yieldcrypto-price
Get real-time crypto prices for any coin
POST /v1/crypto/priceens-check
Check ENS name availability and registration price
POST /v1/ens/checkllm-openai
OpenAI chat completions proxy — GPT-4o mini and GPT-3.5 Turbo
POST /v1/ai/openai/chattwitter-search
Search recent tweets (last 7 days) on X/Twitter
POST /v1/twitter/searchWhy PayToll?
The simplest way for agents and apps to access paid APIs.
No API Keys
No registration, no OAuth flows, no key management. Payment is the authentication.
Pay Only For What You Use
No subscriptions, no monthly minimums. Each API call is priced individually.
Built for AI Agents
Designed for autonomous agents that need programmatic access to services.
Instant Settlement
Payments settle on Base L2 in seconds, not minutes. Low gas, high throughput.
Non-Custodial
We never hold your funds. Payments go directly from your wallet to ours.
Fast Settlement
Payments settle on Base L2 in seconds. Low gas fees, high throughput.
Works with Any MCP Client
Add PayToll as an MCP server. Your AI assistant gets DeFi, swaps, bridges, Twitter, on-chain data, and LLM access as native tools.
claude_desktop_config.json
{
"mcpServers": {
"paytoll": {
"command": "npx",
"args": ["-y", "paytoll-mcp"],
"env": {
"PAYTOLL_API_URL": "https://api.paytoll.io"
}
}
}
}27 Tools, Zero Config
Every PayToll endpoint becomes a native tool. DeFi, swaps, bridges, Twitter, on-chain data, and LLMs — all via MCP.
Automatic Payments
The MCP server handles x402 payment signing transparently. Your agent just calls tools.
Any MCP Client
Standard MCP protocol over stdio. If your agent speaks MCP, it speaks PayToll.
30-Second Setup
Paste the JSON config into your MCP client. That's it. All tools are live.
Simple Integration
Standard HTTP requests with automatic payment handling.
import { wrapFetchWithPayment } from "@x402/fetch";
import { http, createWalletClient } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { baseSepolia } from "viem/chains";
// Set up wallet + x402 payment wrapper
const account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);
const walletClient = createWalletClient({ account, chain: baseSepolia, transport: http() });
const fetchWithPayment = wrapFetchWithPayment(fetch, walletClient);
// Make a paid API call — payment handled automatically
const response = await fetchWithPayment("https://api.paytoll.io/v1/crypto/price", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ symbol: "ETH" }),
});
const data = await response.json();
// { symbol: "ETH", price: 3245.67, currency: "USD" }Simple Pricing
Pay exactly what each call costs. No hidden fees.
| Endpoint | Category | Price |
|---|---|---|
aave-best-borrow /v1/aave/best-borrow | Crypto | $0.01 |
aave-best-yield /v1/aave/best-yield | Crypto | $0.01 |
aave-borrow /v1/aave/borrow | Crypto | $0.01 |
aave-health-factor /v1/aave/health-factor | Crypto | $0.005 |
aave-markets /v1/aave/markets | Crypto | $0.005 |
aave-repay /v1/aave/repay | Crypto | $0.01 |
aave-supply /v1/aave/supply | Crypto | $0.01 |
aave-user-positions /v1/aave/user-positions | Crypto | $0.01 |
aave-withdraw /v1/aave/withdraw | Crypto | $0.01 |
crypto-price /v1/crypto/price | Crypto | $0.015 |
ens-check /v1/ens/check | Crypto | $0 |
ens-commit /v1/ens/commit | Crypto | $0 |
ens-lookup /v1/crypto/ens | Crypto | $0.001 |
ens-register /v1/ens/register | Crypto | $0 |
ens-renew /v1/ens/renew | Crypto | $0 |
onchain-token-data /v1/crypto/onchain/token-data | Crypto | $0.015 |
onchain-token-price /v1/crypto/onchain/token-price | Crypto | $0.015 |
search-pools /v1/crypto/onchain/search-pools | Crypto | $0.015 |
swap-build /v1/swap/build | Crypto | $0.01 |
swap-quote /v1/swap/quote | Crypto | $0.005 |
token-balance /v1/crypto/token-balance | Crypto | $0.005 |
trending-pools /v1/crypto/onchain/trending-pools | Crypto | $0.015 |
wallet-validator /v1/crypto/validate | Crypto | $0.0005 |
llm-anthropic /v1/ai/anthropic/chat | AI | $0.01 |
llm-google /v1/ai/google/chat | AI | $0.01 |
llm-openai /v1/ai/openai/chat | AI | $0.01 |
twitter-post /v1/twitter/post | Social | $0.015 |
twitter-search /v1/twitter/search | Social | $0.08 |
twitter-tweet-lookup /v1/twitter/tweets | Social | $0.02 |
twitter-user-lookup /v1/twitter/user | Social | $0.02 |
twitter-user-tweets /v1/twitter/user-tweets | Social | $0.08 |
All prices in USD, paid in USDC on Base network.
View full pricing details