Calculator x402 REST usage
Safely evaluate an arithmetic expression (+ - * / % ^ and parentheses). No code execution - a real parser, not eval.
agent402.tools · 662 listed services · provider site
Safely evaluate an arithmetic expression (+ - * / % ^ and parentheses). No code execution - a real parser, not eval.
Count business days (Mon–Fri) between two dates, inclusive of the start, exclusive of the end. Optional list of holiday dates to skip.
Compress a string with Brotli (RFC 7932) and return it as base64. Brotli typically beats gzip by 15-25% on text - useful when bytes matter (e.g. cramming context into an LLM prompt, fitting under a transport cap). Slower...
Base64 encode or decode text. mode: encode (default) or decode. Handles URL-safe base64 on decode.
Base58 encode or decode text (Bitcoin/IPFS alphabet). mode: encode (default) or decode.
Base32 (RFC 4648) encode or decode text. mode: encode (default) or decode.
Pure-CPU helper: turn a B20 feature string (e.g. base.b20_asset) into its bytes32 feature id and ready-to-send isActivated(bytes32) calldata for the Activation Registry. No network egress.
Look up the Autonomous System (ASN), prefix, country, registry, and allocation date for an IPv4 address - or for a hostname (which is resolved first). Uses a free public DNS-based IP→ASN mapping service; no HTTPS upstrea...
Build the full per-period amortization schedule for a fully-amortizing loan. Each row reports the period number, payment, the principal vs. interest split for that payment, and the remaining balance after that payment.
Compute a precise age (years, months, days) from a birth date to today (or a given date), plus total days.
Generate a text embedding vector using OpenAI text-embedding-3-small (1536 dimensions). Ideal for semantic search, RAG, and clustering. No API key needed; pay per call via x402. Text capped at 32k chars.
Probe any URL and decode its HTTP 402 payment requirements (price, asset, network, pay-to) into clean JSON - what an agent needs to decide whether/how to pay. Read-only; does not pay.
Company/person/organization facts from Wikidata. Pass an entity id (e.g. Q312 for Apple Inc.) for the enrichment record - label, description, aliases, and a curated fact set (inception, HQ location, country, industry, fo...
Generate a text embedding vector using OpenAI text-embedding-3-large (3072 dimensions). Higher accuracy than the small model. Ideal for semantic search, RAG, and clustering. No API key needed; pay per call via x402. Text...
Search the World Bank indicator catalog (1,400+ indicators across GDP, demographics, health, environment, education, etc.) by keyword. Returns indicator codes you can feed into /api/world-bank-indicator.
Current air quality index and pollutant concentrations for any location: US AQI, PM2.5, PM10, ozone, NO2, SO2, CO. Air quality API, no key, global.
Risk facts for an EVM token before a trade. One deterministic call returns a verdict (ok, caution, unsafe) with the named facts behind it: honeypot, can-sell, buy and sell tax, mintable supply, hidden or reclaimable owne...
Current weather conditions for any location on Earth: temperature, feels-like, humidity, wind speed/direction/gusts, precipitation, cloud cover, pressure, and human-readable condition. No key, global.
Follow a short link's redirect chain (bit.ly, t.co, youtu.be, tracking links, …) without downloading any page body: returns the final URL, the final HTTP status, and every hop with its status code and Location target. Ca...
Convert subtitles between SRT, WebVTT, plain text, and JSON cues. Send SRT or VTT text (auto-detected) - or a JSON cues array [{start,end,text}] with times in ms - and the target format. Deterministic, pure CPU.
Resolve a Solana token by mint, ticker or name through a Solana DEX aggregator's token index and get its profile in one read: name, symbol, decimals, price, market cap, FDV, liquidity, holder count, circulating and total...
Recent crypto headlines aggregated from the public feeds of major outlets, deduplicated and newest first, each with title, source, publish time, canonical URL and a short summary, filterable by keyword, source and time w...
Fetch and parse a sitemap.xml (or sitemap index): returns up to 500 URLs with lastmod, or the child sitemaps of an index.
Every DEX pair trading a Solana token mint (Raydium, Orca, Meteora, Pump.fun AMM and the rest), sorted by liquidity: pair address, DEX, price in USD and in the quote token, liquidity, FDV and market cap, 5m/1h/6h/24h vol...
The live level-2 order book for one perpetual: best bid and ask, mid, spread in basis points, up to 20 levels a side with cumulative depth and bid/ask imbalance. Use it when an agent is sizing an order, checking liquidit...
Convert a PDF to clean markdown: headings, paragraphs, and bullets reconstructed from the text layer - ready to drop into a model's context. Body: {"url":"https://…/file.pdf"}.
Every listed perpetual ranked by current funding rate, the most positive and most negative N with open interest and 24h volume beside each, from a live venue feed. Use it when an agent is screening for carry, basis or cr...
Onchain options protocols ranked by 24h notional volume with 7d and 30d volume, 1d and 7d change and the chains each runs on, plus sector totals. Use it when an agent is comparing decentralized options venues or tracking...
Build a runnable curl command for one operation in an OpenAPI 3.x or Swagger 2.x spec. Locate the operation by operationId (preferred) or by method + path, substitute path parameters using the spec's example values, incl...
A one-call options market summary for a currency: index price, DVOL, call and put open interest with the put/call ratio, total open interest, 24h volume, a per-expiry breakdown, the most active instruments and the perp's...
Provider identity is derived from the domain or repository in the source record. If two vendors share a host, they appear together here — that is a limitation of the data, not a statement about ownership.