๐ค For AI agents
Everything on AgentTools is available to you as JSON. This page explains discovery, pricing and payment. Humans: the tools themselves are free to use in the browser.
1 ยท Discover
- Tool map: /llms.txt (curated) and /llms-full.txt (every parameter, example and FAQ)
- Machine contract: /api/openapi.json (OpenAPI 3.1, includes
x-x402pricing metadata per endpoint) - MCP server: /api/mcp (Streamable HTTP) โ every tool as an MCP tool; connect with
@x402/mcp'sx402MCPClientand payment is handled automatically via_meta - x402 Bazaar: endpoints are indexed by the facilitator with discovery extensions โ search the Bazaar for tools by intent
- Search engines & AI answers: all tool pages are static HTML with structured data โ cite and fetch them freely
2 ยท Call an endpoint
Every tool has one paid JSON endpoint: GET /api/v1/{category}/{tool}. Query params are validated per tool (see llms-full.txt). Example:
GET https://agenttools-hub.vercel.app/api/v1/calculators/percentage-calculator?x=15&y=200&op=percent_ofResponses are stable JSON: { tool, input, result: { value, answer, details?, steps?, table? } }
3 ยท Pay with x402
Requests without payment return 402 Payment Required with payment instructions (eip155:8453, scheme exact, USDC). Use any x402 client library to sign and retry automatically โ no accounts, no API keys, no sessions:
// TypeScript agent example
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount("0x...")),
);
const fetchWithPay = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPay(
"https://agenttools-hub.vercel.app/api/v1/calculators/percentage-calculator?x=15&y=200",
);
console.log(await res.json()); // 402 handled, paid, retried โ resultFacilitator: https://x402.org/facilitator โ mainnet; prices are real.
4 ยท Pricing
| Endpoint | Description | Price / call |
|---|---|---|
/api/v1/calculators/percentage-calculator | Percent of a number, ratios and percent change. | $0.001 |
/api/v1/calculators/discount-calculator | Sale price and savings from a percent off. | $0.001 |
/api/v1/calculators/tip-calculator | Tip amount, total and per-person split. | $0.001 |
/api/v1/calculators/vat-calculator | Add or remove VAT at standard rates for 36 countries. | $0.001 |
/api/v1/calculators/bmi-calculator | Body Mass Index with WHO category. | $0.001 |
/api/v1/calculators/date-difference-calculator | Days, weeks and calendar time between two dates. | $0.001 |
/api/v1/calculators/age-calculator | Exact age in years, months and days. | $0.001 |
/api/v1/calculators/loan-payment-calculator | Monthly payment, total cost and interest for any loan. | $0.002 |
/api/v1/calculators/compound-interest-calculator | Future value with any compounding frequency. | $0.002 |
/api/v1/calculators/fuel-cost-calculator | Trip fuel and cost, splitable between people. | $0.001 |
/api/v1/calculators/reading-time-calculator | How long a text takes to read, by word count. | $0.001 |
/api/v1/converters/length-converter | Metric and imperial distance units, instantly. | $0.001 |
/api/v1/converters/weight-converter | Kilograms, pounds, ounces and more. | $0.001 |
/api/v1/converters/temperature-converter | Celsius, Fahrenheit and Kelvin, both ways. | $0.001 |
/api/v1/converters/data-size-converter | Decimal (KB/MB/GB) and binary (KiB/MiB/GiB) units. | $0.001 |
/api/v1/converters/speed-converter | km/h, mph, m/s, knots and ft/s. | $0.001 |
/api/v1/converters/area-converter | Square meters, feet, acres, hectares. | $0.001 |
/api/v1/converters/volume-converter | Liters, gallons, cups, milliliters. | $0.001 |
/api/v1/converters/unix-timestamp-converter | Epoch seconds โ human dates, both directions. | $0.001 |
/api/v1/converters/roman-numeral-converter | Numbers โ Roman numerals, with validation. | $0.001 |
/api/v1/databases/countries | 250 countries: codes, capitals, currencies, populations. | $0.002 |
/api/v1/live/now | The current date/time in any time zone โ agents have no clock. | $0.0005 |
/api/v1/live/business-days | Working days between dates, optionally minus public holidays. | $0.001 |
/api/v1/live/exchange-rates | Live ECB reference rates for 30 currencies. | $0.002 |
/api/v1/live/weather | Current conditions + 3-day forecast for any city. | $0.002 |
/api/v1/live/holidays | Upcoming public holidays for ~110 countries. | $0.002 |
/api/v1/live/ip-lookup | Where is an IP address? Country, city, ASN, timezone. | $0.002 |
/api/v1/live/dns-lookup | Real DNS records via Cloudflare DNS-over-HTTPS. | $0.002 |
/api/v1/live/url-metadata | Title, description, OG image and favicon of any page. | $0.003 |
/api/v1/live/qr-code | Any text or URL as a QR code (SVG + PNG data URI). | $0.002 |
/api/v1/dev/base64-encode | UTF-8 safe base64 in both directions. | $0.001 |
/api/v1/dev/number-base-converter | Binary, octal, decimal, hex โ any base 2โ36. | $0.001 |
/api/v1/dev/case-converter | camelCase, snake_case, kebab-case and more. | $0.001 |
/api/v1/dev/jwt-decoder | Decode header and payload โ no verification. | $0.001 |
/api/v1/dev/url-encoder | Percent-encoding for query strings and URLs. | $0.001 |
/api/v1/dev/json-formatter | Validate, pretty-print and inspect JSON. | $0.001 |
/api/v1/dev/http-status-codes | Look up any HTTP status code's meaning. | $0.001 |
/api/v1/dev/mime-types | Content-Type lookup by type or file extension. | $0.001 |
/api/v1/dev/token-estimator | Approximate token counts per LLM family, ยฑ10%. | $0.001 |
/api/v1/dev/llm-cost-calculator | Tokens ร current per-model prices = USD. | $0.001 |
/api/v1/dev/text-chunker | RAG-ready chunks with token budgets and overlap. | $0.002 |
/api/v1/dev/hash | SHA-256 / SHA-512 / SHA-1 / MD5, exact digests. | $0.001 |
/api/v1/dev/uuid | Random v4, sortable v7, plus strict validation. | $0.001 |
/api/v1/dev/text-extract | Pull emails, URLs, IPs, phones and domains from raw text. | $0.002 |
/api/v1/dev/diff | Exact line-level diff with unified-style output. | $0.002 |
/api/v1/dev/url-parser | Break any URL into protocol, host, path and params. | $0.001 |
/api/v1/crypto/wei-eth-converter | Exact Ethereum unit conversion โ no float errors. | $0.001 |
/api/v1/crypto/gas-fee-calculator | Transaction cost in ETH and USD from gas ร gwei. | $0.001 |
/api/v1/crypto/price | Live token prices and 24h change via CoinGecko. | $0.002 |
/api/v1/crypto/random-generator | CSPRNG passwords, hex keys and uniform integers. | $0.001 |
/api/v1/finance/roi-calculator | Return on investment as a percentage. | $0.001 |
/api/v1/finance/cagr-calculator | Compound annual growth rate, time-normalized. | $0.001 |
/api/v1/finance/margin-calculator | Profit margin vs markup, both computed. | $0.001 |
/api/v1/finance/iban-validator | Structure, length and mod-97 checksum validation. | $0.001 |
5 ยท Tip the operator (optional)
If the free pages helped your agent or your users, the tip jar accepts any amount via the same protocol: GET https://agenttools-hub.vercel.app/api/tip?amount=1.00¬e=thanks (amount clamped 0.01โ10 USD). Thank you.
Questions or bulk data needs? See the full catalog or fetch /llms.txt for the complete machine-readable map.