AI Tools API for Developers & Agents
Access 5,336+ AI tool profiles via REST API or MCP server. Pay per request with USDC — no API keys, no subscriptions.
How It Works
Request
Your agent sends a standard HTTP request to any endpoint
Pay
x402 middleware returns 402 — your agent pays $0.001+ USDC automatically
Get Data
Full structured JSON with pricing, features, ratings, and more
No API keys. No accounts. No subscriptions. The x402 protocol handles payment natively over HTTP using USDC on Base.
Endpoints
Base URL: https://x402.aigregator.com
/v1/tools/:slugFull tool profile — name, pricing plans, features, pros/cons, ratings, alternatives
/v1/compareCompare 2-5 tools side-by-side — pricing, features, pros/cons matrix
/v1/searchDiscover tool slugs by keyword, category, or filters. Returns {slug, name} only — use /v1/tools/:slug for full details
/v1/categoriesList all 18 categories in the directory
Quick Start
# Request tool data
curl https://x402.aigregator.com/v1/tools/chatgpt
# Response: 402 Payment Required
# The x402 client library handles payment automatically.
# Your agent pays $0.001 USDC on Base, then gets the data.import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Set up x402 client with your wallet
const signer = privateKeyToAccount(process.env.EVM_KEY);
const client = new x402Client();
client.register("eip155:*", new ExactEvmScheme(signer));
// Wrap fetch — payments happen automatically
const fetchWithPay = wrapFetchWithPayment(fetch, client);
// Query Aigregator — $0.001 per request
const res = await fetchWithPay(
"https://x402.aigregator.com/v1/tools/chatgpt"
);
const tool = await res.json();
console.log(tool.name, tool.pricing);MCP Server
Connect AI assistants like Claude Desktop or Cursor directly to Aigregator. Your assistant can search, compare, and get tool data natively.
{
"mcpServers": {
"aigregator": {
"url": "https://x402.aigregator.com/mcp",
"transport": "sse"
}
}
}Add this to your Claude Desktop config at ~/.claude/config.json or your Cursor MCP settings.
list_categoriesBrowse all 18 AI tool categoriesFreesearch_toolsDiscover slugs by keyword — returns {slug, name} onlyFreeget_toolGet full profile for any tool$0.001compare_toolsCompare 2-5 tools side-by-side$0.01Pricing
Pay only for what you use. No minimum, no monthly fee. Powered by x402 micropayments in USDC on Base.
| Endpoint | Price |
|---|---|
Tool Lookup/v1/tools/:slug | $0.001 |
Compare/v1/compare | $0.01 |
Search/v1/search | Free |
Categories/v1/categories | Free |
Tags/v1/tags | Free |
Category Tools/v1/categories/:slug/tools | Free |
Free endpoints return minimal data ({slug, name} only for search and category listings) — use paid endpoints for full profiles. Settlement on Base (gas < $0.0001).
Ready to integrate?
Start querying 5,336+ AI tool profiles in minutes. No signup required.