key: POST https://402sentinel.com/api/assess

title: 402Sentinel /api/assess

description: Counterparty risk score before paying (allow/review/block)

recordKey: POST https://402sentinel.com/api/assess


method: POST

title: 402Sentinel /api/assess/deep

description: Deep counterparty risk (more history)

type: http

health: healthy

registrySource: self-registered

level: origin-reachable

scope: origin

method: HEAD

scope: exact-route

outcome: not-safely-testable

status: discovered

basis: discovery-only


title: 402Sentinel /api/assess/rwa

description: Tokenized-RWA token safety (transfer-restriction/pause)


title: 402Sentinel /api/compliance

description: Pre-pay OFAC/FATF compliance screen


title: 402Sentinel /api/firewall

description: Buyer-side payment firewall (injection/intent/routing)


key: POST https://402sentinel.com/api/policy

title: 402Sentinel /api/policy

description: Risk -> enforceable wallet spending policy

recordKey: POST https://402sentinel.com/api/policy


key: POST https://402sentinel.com/api/verify

title: 402Sentinel /api/verify

description: Opt-in signed trust credential + allow-list

recordKey: POST https://402sentinel.com/api/verify


key: POST https://402utils.com/v1/barcode

title: POST /v1/barcode

description: Generate a 1D barcode as PNG or SVG: EAN-13, EAN-8, UPC-A, Code 128, Code 39 or ITF-14. Validates the structure and check digit for each symbology — EAN/UPC/ITF compute a missing check digit or reject a wrong one. Options: format (png/svg), scale (module px 1-10), text (human-readable line, default on). Returns the raw image. Generation only — reading a barcode from an image is out of scope.

scheme: exact

tokenName: USD Coin

recordKey: POST https://402utils.com/v1/barcode


key: POST https://402utils.com/v1/batch

title: POST /v1/batch

description: Run up to 10 internal calls in one payment: POST {calls:[{path,input}]} and pay the SUM of the internal prices (≤ $0.05 total), executed in parallel, results returned in order. Batchable endpoints are the local, deterministic ones (validators, format transforms, time/locale) — no browser, network, composite or dynamic endpoints. Each result carries {path, status, body}; a bad request (unknown path, >10 calls, over cap) is a 400, not charged.

recordKey: POST https://402utils.com/v1/batch


title: POST /v1/c2pa-verify

description: Verify C2PA / Content Credentials (provenance & tamper detection) in an image: send the image bytes or a JSON {url}. Returns Trusted/Valid/Invalid/None with per-manifest signature, trust-chain (issuer) and asset-hash checks plus C2PA actions. 'Trusted' only if the signer chains to the C2PA trust list, otherwise 'Valid'. Relevant to EU AI Act Art. 50. Verification only (embedded manifests) — not generation.


key: POST https://402utils.com/v1/card-check

title: POST /v1/card-check

description: Structural card-number check before hitting a PSP: Luhn checksum, network detection from public IIN prefixes (visa, mastercard, amex, discover, jcb, diners, unionpay) and per-network length validation. POST body on purpose: the number never appears in a URL, so it stays out of request logs and x402 payment metadata — never stored, logged or echoed back. No BIN/issuer lookup (BIN databases are licensed): well-formed does not mean the card exists.

recordKey: POST https://402utils.com/v1/card-check


key: POST https://402utils.com/v1/chunk

title: POST /v1/chunk

description: Split a long text into token-sized chunks for RAG ingestion. Chunks are measured in REAL tokens (tiktoken o200k_base/cl100k_base), honour a token overlap, and cut on sentence, paragraph or word boundaries (strategy). Returns each chunk text, its exact token count and char offsets. The natural composite of token-count; counts are OpenAI-style estimates (no Claude tokenizer exists). Provided text only; nothing is fetched. Over 1 MB is truncated.

recordKey: POST https://402utils.com/v1/chunk


key: POST https://402utils.com/v1/csv-diff

title: POST /v1/csv-diff

description: Row-level diff of two CSVs (a→b) — reconcile two exports. With `key` (a column name, or a column index when header:false), rows pair by key → added / removed / changed (per-field old→new). Without a key, a whole-row multiset diff gives added/removed only. Delimiter auto-detected (, ; tab |); tolerant RFC-4180 parsing. First row is the header unless header:false. Max 5 MB per input; reported buckets cap at 10000.

recordKey: POST https://402utils.com/v1/csv-diff


title: POST /v1/csv-profile

description: Profile a CSV before processing it: send the bytes directly or a JSON body with a public {url}. Returns per-column name, inferred type (string/int/float/bool/date/mixed), null and unique counts, min/max and samples, plus row count, detected delimiter and data-quality issues (malformed rows, inconsistent widths, duplicate headers). Query: delimiter (, ; tab |), header=false if row one is data. Max 10 MB.


title: POST /v1/csv-to-json

description: Convert CSV to JSON with a strict RFC 4180 parser: quoted fields, doubled quotes, delimiters and line breaks inside quotes, mixed CRLF/LF, BOM. Auto-detects comma, semicolon, tab or pipe (or set delimiter). First row becomes object keys; headers:false yields string arrays. Ragged rows and unterminated quotes are repaired and reported in errors[], never a crash. All values stay strings. Send raw CSV text or JSON {csv}. Max 5 MB.


key: POST https://402utils.com/v1/dedupe

title: POST /v1/dedupe

description: De-duplicate a list of records or strings. Exact: group by a `key` field (dot-path) or, by default, the whole item (key-order-insensitive). Fuzzy (`fuzzy`: a field name, or true for scalar strings): group by normalized Levenshtein similarity ≥ `threshold` (default 0.85) — e.g. 'Jean Dupont' ≈ 'jean  dupont' but 'Jean Martin' stays separate. Returns unique[] and duplicates[] (kept + dropped indices). Fuzzy ≤ 1000 items.

recordKey: POST https://402utils.com/v1/dedupe


key: POST https://402utils.com/v1/diff

title: POST /v1/diff

description: Compute the diff between two texts (a → b) — no git needed. Returns a standard unified patch (line-oriented in both modes, applies with git apply or patch), added/removed counts, and in word mode a token-level change list for inline highlighting (capped at 2000 entries). CRLF line endings and missing trailing newlines are preserved byte-exactly. Caps: 1 MB UTF-8 per input; pathologically divergent inputs return 422 diff_too_complex.

recordKey: POST https://402utils.com/v1/diff


title: POST /v1/docx-extract

description: Extract text from a .docx (Word) document: send the docx bytes directly, or a JSON body with a public {url}. Returns the plain text, a best-effort markdown rendering (headings, bold/italic and lists; tables are flattened to paragraphs), and metadata (title, author). Text layer only — no OCR of embedded images. Max 10 MB.


key: POST https://402utils.com/v1/echo

title: POST /v1/echo

description: Echoes back the JSON body you send, with a server timestamp. Useful for verifying your x402 client integration end to end.

recordKey: POST https://402utils.com/v1/echo


key: POST https://402utils.com/v1/embed

title: POST /v1/embed

description: Text → vector embeddings via Cloudflare Workers AI. Send {text} or {texts[]} (≤20, each ≤4000 chars); returns one float vector per input. Default model @cf/baai/bge-m3 (1024-dim, multilingual). The model is named in the response — embeddings only compare within the same model. Completes the RAG chain: readability → chunk → embed, no OpenAI account. Cosine-compare the vectors yourself. Unavailable model/binding → 503, not billed.

recordKey: POST https://402utils.com/v1/embed


key: POST https://402utils.com/v1/epc-qr

title: POST /v1/epc-qr

description: Generate an EPC QR code (SEPA Credit Transfer / « Girocode », EPC069-12) — the QR a banking app scans to pre-fill a transfer, the payment companion to an invoice. Body { name, iban, amount?, bic?, purpose?, remittance? | reference? (RF) }. Returns PNG (default), SVG, or the raw EPC text. IBAN + RF are validated; strict EPC encoding (order, lengths, ≤331 bytes, level M). EUR only. Not a payment initiation — just the encoded data.

recordKey: POST https://402utils.com/v1/epc-qr


title: POST /v1/eu-sanctions

description: Screen a name against the EU consolidated financial sanctions list ONLY (official embedded snapshot, persons + entities — NOT OFAC/SDN, UN or UK/OFSI). Fuzzy matching returns each hit with a score, sanction programme, listing date and matched name. POST body {name, type?, threshold?} (POST so the name never enters logs). A screening aid: a match is not a compliance determination — verify with the official source before acting.


title: POST /v1/extract-entities

description: Extract emails, http(s) URLs, international phone numbers, @mentions and #hashtags from provided text OR html — normalized and de-duplicated. From html, also reads href/src attributes and mailto: links. Emails are syntax-validated; phones use Google libphonenumber (international format). Pattern-based extraction, NOT ML named-entity recognition. What a crawl agent pulls from every page. Processes provided content only; nothing is fetched.


title: POST /v1/facturx-extract

description: Read a Factur-X / ZUGFeRD invoice: send PDF bytes or a JSON { url }. Extracts the embedded EN 16931 CII into normalised data — seller, buyer, lines, VAT, totals, payment, dates, references — with the detected profile. The read side of e-invoicing (the FR mandate starts with reception). No embedded CII → { profile:"none", warning:"no_embedded_cii" }. ?attest=1 → Ed25519-signed.


title: POST /v1/facturx-generate

description: Generate a Factur-X invoice (PDF/A-3 + embedded EN 16931 CII XML) from structured data: send { invoice, profile }, get the PDF bytes (or JSON with base64 + conformity report via Accept: application/json). Targets EN 16931 and the French PA « Flux 2 » rules (payment mentions, business process, electronic addresses) ahead of the 2026-09 mandate. Technical artifact, not tax/legal advice; you remain responsible for data accuracy and PA transmission.


title: POST /v1/facturx-validate

description: Validate a Factur-X / ZUGFeRD invoice: send PDF bytes, JSON { url } or { pdfBase64 }, or raw CII { xml }. Returns a rule-based report — PDF/A-3 structure, EN 16931 CII anchors, arithmetic rules (BR-CO) and French PA « Flux 2 » checks (BR-FR) — with the detected profile. Structural + heuristic, not a certified conformance service. ?attest=1 → Ed25519-signed audit trail.


key: POST https://402utils.com/v1/hash

title: POST /v1/hash

description: Compute cryptographic hashes / checksums of a string or of raw bytes (base64). Returns lowercase hex for each requested algorithm: sha256 (default), sha512, sha1, md5. SHA via native Web Crypto; md5 and sha1 are offered for legacy interop only and flagged — not for security. POST so the input never lands in a URL/log. Verification/checksums only, not a hash cracker.

recordKey: POST https://402utils.com/v1/hash


title: POST /v1/html-tables

description: Extract every table from HTML you provide into clean JSON — no fetching, send the markup itself as {html} or a raw text/html body. Returns per table: optional caption, headers[] (from thead or an all-th first row) and rectangular rows[][]. colspan/rowspan cells are grid-expanded with the value duplicated so rows align with the visual layout; nested tables are flattened into the outer cell's text. Caps: 5 MB HTML, 200 tables, 200k cells.


key: POST https://402utils.com/v1/html-to-md

title: POST /v1/html-to-md

description: Convert raw HTML into clean GitHub-Flavored Markdown: ATX headings, fenced code, pipe tables, strikethrough, task lists; script/style/iframe text is always stripped. mode=article isolates the main article with Mozilla Readability (returns title, byline, excerpt; drops nav/footer boilerplate; resolves relative links), else converts the whole document. Converts provided HTML only — never fetches URLs. Max 5 MB.

recordKey: POST https://402utils.com/v1/html-to-md


key: POST https://402utils.com/v1/ics

title: POST /v1/ics

description: Build a strictly RFC 5545-conformant .ics calendar file from a list of events: correct TEXT escaping, 75-octet line folding, generated UIDs, and unambiguous UTC timestamps (a per-event IANA timezone interprets naive wall-clock times). Supports all-day events, location, description and a passthrough RRULE. The fiddly conformance an agent shouldn't hand-roll.

recordKey: POST https://402utils.com/v1/ics


title: POST /v1/image-optimize

description: Resize and convert an image (PNG, JPEG or WebP, up to 10 MB). Send the image bytes as the body and set options in the query: width, height, fit (contain or cover), format (webp/jpeg/png) and quality (JPEG). Returns the converted image bytes. WebP has no quality knob and AVIF is not supported (out of scope).


title: POST /v1/invoice-ready

description: Pre-flight a SEPA invoice's identifiers in one paid call: validate the customer VAT (VIES, with company name), the IBAN (ISO 7064 mod-97 + BBAN layout) and an ISO 11649 RF creditor reference, run together with a per-field status. summary.allProvidedValid is true only if every provided identifier checked out. If all provided checks fail technically you get a 503 and no charge. ?attest=1 → Ed25519-signed.


key: POST https://402utils.com/v1/jq

title: POST /v1/jq

description: Apply a jq-style filter to JSON — the JSON swiss-army knife. Supports identity, fields, index/slice/iterate, pipe |, comma, //, and/or/not, arithmetic, comparisons, array/object construction and builtins (select, map, keys, length, add, sort_by, group_by, unique, to_entries, has, range…). A SAFE pure-JS subset (no eval, bounded): no variables, def, reduce, regex or assignment. Returns the whole jq output stream as results[].

recordKey: POST https://402utils.com/v1/jq


title: POST /v1/json-to-csv

description: Convert a JSON array of objects into a clean RFC 4180 CSV: header row, CRLF records, correct quoting and quote-doubling. Nested objects flatten to dot-notation columns (a.b.c), arrays are JSON-encoded into their cell, and you can select and order columns explicitly. Delimiter: comma, semicolon, tab or pipe. Caps: 100,000 rows, 5 MB body, 20 MB CSV out. Returns text/csv ready for Excel, Google Sheets or a data pipeline.


title: POST /v1/json-transform

description: Reshape JSON declaratively — predictable, not a language. `mapping` mirrors the output shape; its leaf strings are dot-paths into `data` (a.b.0.c; negative index ok; 'contacts.*.email' projects over an array; '=text' escapes a literal). Objects/arrays nest; number/boolean/null are literals. Missing paths → null. Field rename/flatten/projection to fit a payload to a target schema. Distinct from /v1/jq (declarative vs query language).


title: POST /v1/json-validate

description: Validate a JSON value against a JSON Schema (draft 2020-12 default; 2019-09/7/4 via $schema). Send {data, schema}; returns {valid, errors:[{path, message, keyword}]} with a JSON Pointer path per failure. For agents checking structured/tool-call output before use. Runs on an eval-less validator (Ajv can't run on Workers). Remote $ref is refused (self-contained only); unsafe regex patterns are rejected before compilation.


key: POST https://402utils.com/v1/jsonpath

title: POST /v1/jsonpath

description: Extract values from a JSON document with a JSONPath expression or an RFC 6901 JSON Pointer, without returning the whole document. Send {data, path}; get {matches, count}. Path starting with $ = JSONPath ($.items[*].price, $..author, [0], [1:5], [*]); starting with / = JSON Pointer (/items/0/price). No-eval tree walk with bounded traversal; filter expressions [?(…)] are not supported by design.

recordKey: POST https://402utils.com/v1/jsonpath


key: POST https://402utils.com/v1/keywords

title: POST /v1/keywords

description: Extract salient keywords/key-phrases from text via TextRank (word co-occurrence graph + PageRank), merging adjacent high-ranked words into phrases. Pure, deterministic, model-free — extractive, NOT ML/NER or an LLM (the point: reproducible, no inference cost). English + French stopwords removed. Returns keywords[] with normalized scores (top ≈ 1). For content tagging/indexing and pre-RAG. Over 100k tokens is truncated.

recordKey: POST https://402utils.com/v1/keywords


title: POST /v1/lang-detect

description: Detect the language of a text with franc (pure-JS trigram model, 61 languages + CJK/Indic scripts). Returns the ISO 639-1 code (639-3 when no 2-letter code exists), language name, a separation-margin confidence (0=ambiguous, 1=unambiguous), a reliable flag, and ranked alternatives. The pre-sort step of any multilingual pipeline. Short/ambiguous text returns reliable:false honestly. Processes provided text only; nothing is fetched.


key: POST https://402utils.com/v1/md-to-html

title: POST /v1/md-to-html

description: Convert Markdown to sanitized HTML that is safe to embed directly in a page, email or app. GFM supported: tables, task lists, strikethrough, fenced code. Output passes a strict tag/attribute allowlist: scripts, styles, iframes, event handlers and javascript: URLs are removed; links keep only http(s)/mailto targets, images only http(s) or base64 image data URIs. Send JSON {markdown} or a raw text/markdown body, max 2 MB. Returns {html}.

recordKey: POST https://402utils.com/v1/md-to-html


title: POST /v1/mime-detect

description: Detect a file's true MIME type from its magic-number byte signature — not from a declared extension or Content-Type. Send the raw bytes (≤10 MB) as the body, or JSON { bytes: base64 }. Returns {mime, extension, confidence, description, category, executable}. Covers images, documents (incl. OOXML/OpenDocument), archives, audio/video, fonts and executables (which are flagged). Security check for file pipelines. Not a barcode/QR reader.


key: POST https://402utils.com/v1/og-image

title: POST /v1/og-image

description: Generate a polished Open Graph / social share image (PNG) from text — no browser, no design tools. Pick a template (article, product, stat), pass a title and optional subtitle, set your brand accent colour and light/dark theme, and get back a crisp 1200×630 PNG ready for og:image, Twitter cards, blog headers and launch posts. Rendered with Satori + resvg; fast and cheap.

recordKey: POST https://402utils.com/v1/og-image


key: POST https://402utils.com/v1/pdf

title: POST /v1/pdf

description: Render HTML or a public web page into a pixel-perfect PDF using a headless Chrome browser. Send inline `html` (invoices, receipts, reports, tickets) or a `url` to snapshot; control paper size, orientation, margins, background graphics and scale. Returns the raw application/pdf bytes — no signup, no browser to run, pay per document.

recordKey: POST https://402utils.com/v1/pdf


title: POST /v1/pdf-extract

description: Extract text from a PDF: send the PDF bytes directly, or a JSON body with a public {url}. Returns the full text, per-page text, and metadata (page count, title, author). Text layer only — scanned/image-only PDFs return empty text with a no_text_layer warning (no OCR). Max 10 MB.


key: POST https://402utils.com/v1/qr

title: POST /v1/qr

description: Generate a QR code as PNG or SVG from any text or URL. Pick the size, error-correction level (L/M/Q/H) and foreground/background colours; a 4-module quiet zone is always included so it scans reliably. Returns the raw image bytes. No logo overlay (compositing is out of scope).

recordKey: POST https://402utils.com/v1/qr


title: POST /v1/readability

description: Extract the main article from a web page with Mozilla Readability — drops nav, ads, sidebars and footer boilerplate. Send inline {html} or a public {url} to fetch (SSRF-checked). Returns the article title, byline, cleaned HTML content, plain textContent, excerpt, character length, language and site name. THE pre-processing step before sending a page to an LLM. Distinct from html-to-md (which renders Markdown). Max 5 MB.


key: POST https://402utils.com/v1/redact

title: POST /v1/redact

description: Mask PII in free text before you send it to an LLM or write it to a log. Pattern-based detection (not ML): emails, phone numbers (Google libphonenumber), IBANs (mod-97), payment cards (Luhn), URLs and IPs. Choose types[] and mode: mask (j***@d***.com, readable), remove, or label ([EMAIL_1], re-identifiable by index). Names and postal addresses are out of scope. The input text is never logged or stored.

recordKey: POST https://402utils.com/v1/redact


key: POST https://402utils.com/v1/regex-test

title: POST /v1/regex-test

description: Test a regex against one or many inputs, safely. Send {pattern, flags?, input|inputs[], mode?}: 'match' returns the first match + capture groups, 'matchAll' every match, 'replace' the rewritten string (needs {replacement}). A mandatory ReDoS guard statically rejects catastrophic patterns (nested quantifiers, `.*.*$`, backrefs) BEFORE running — on Workers no timeout can stop a runaway regex. For agents that generate and dry-run regexes.

recordKey: POST https://402utils.com/v1/regex-test


key: POST https://402utils.com/v1/rerank

title: POST /v1/rerank

description: Rerank passages by relevance to a query via Cloudflare Workers AI (@cf/baai/bge-reranker-base). Send {query, documents[] (≤50, each ≤4000 chars), topK?}; returns [{index, score}] best-first — the missing link after embed/chunk, keeping the top chunks before a costly LLM call. Score is the model's relevance score (higher = better), named as it only compares within this model. Unavailable binding → 503, unbilled.

recordKey: POST https://402utils.com/v1/rerank


key: POST https://402utils.com/v1/screenshot

title: POST /v1/screenshot

description: Capture a screenshot of any public web page with a headless Chrome browser. Set the viewport, grab the full scrollable page or just the fold, and choose PNG, JPEG or WebP with an optional quality. Returns the raw image bytes — ideal for link previews, thumbnails, visual monitoring and archiving. No browser to run, pay per capture.

recordKey: POST https://402utils.com/v1/screenshot


key: POST https://402utils.com/v1/sentences

title: POST /v1/sentences

description: Segment text into sentences — robust to the classic traps: abbreviations (Dr., e.g.), decimals ($3.14), URLs/emails (www.x.com), initials (J. R. R.) and ellipses. A period is a boundary only when followed by whitespace and a sentence-like start; !, ? and … are stronger; blank lines split paragraphs. Rule-based (EN/FR tuned), deterministic. A fine-grained chunking primitive, complements /v1/chunk. Over 1 MB truncated.

recordKey: POST https://402utils.com/v1/sentences


key: POST https://402utils.com/v1/slugify

title: POST /v1/slugify

description: Turn free multilingual text into a URL-safe slug. Transliterates Latin (all diacritics: é→e, ü→u), Cyrillic and Greek to ASCII; deterministic. Options: separator (default '-'), lowercase (default true), maxLength (cuts on a word boundary), transliterate (default true; false keeps letters of any script as a Unicode slug). Complex scripts (CJK, Arabic, Hebrew) are NOT romanised and are dropped.

recordKey: POST https://402utils.com/v1/slugify


title: POST /v1/structured-data

description: Extract a page's structured data: JSON-LD (schema.org), Open Graph tags, and best-effort microdata. Returns the parsed JSON-LD objects, detected schema.org types (Product, Offer, Review, Event, Recipe, Article…), microdata items and the og:* map. Send inline {html} or a public {url} (SSRF-checked). Malformed JSON-LD yields a {parseError} entry, never a crash. Microdata is best-effort; JSON-LD is the reliable path. Max 5 MB.


title: POST /v1/summarize-extractive

description: Extractive summary: selects the N most salient sentences via TextRank (TF-IDF cosine + PageRank) — a pure algorithm, no LLM, so deterministic and free of inference cost. Returns the summary and each chosen sentence with a salience score and index. Extractive (selects existing sentences), NOT abstractive/generative — that is the point: reproducible and model-free. Pre-condense a page before an LLM call. Provided text only. Over 1 MB truncated.


title: POST /v1/supplier-check

description: Vet a supplier in one paid call: give any of a VAT number, IBAN, domain and LEI and get VAT validity (VIES) + company name, IBAN structure (mod-97 + BBAN), domain status (RDAP), the GLEIF LEI record (legal name, status, parent) and the country — run in parallel, each with a per-field status. summary.allProvidedValid is true only if every provided check confirmed. All checks failing technically → 503, no charge. ?attest=1 → Ed25519-signed.


title: POST /v1/text-similarity

description: Similarity of two texts in [0,1]. Methods: `jaccard` (word-set overlap, default), `levenshtein` (normalized edit distance) — both pure & deterministic — and `cosine-embed` (cosine of Cloudflare Workers AI embeddings @cf/baai/bge-m3, semantic; model named). Compare two texts (dedup, matching) without handling embeddings yourself. cosine-embed 503s unbilled if the AI binding is unavailable. Caps: jaccard 200k, levenshtein 5k, cosine 4k chars.


title: POST /v1/token-count

description: Count BPE tokens in a text with tiktoken (o200k_base = GPT-4o default, or cl100k_base). An agent can check content fits an LLM context window before paying for an expensive call. Returns token count, char count and encoding. Honest scope: an OpenAI-style estimate — no open-source Claude tokenizer exists (exact Claude counts need the Anthropic API), Gemini differs too. Provided text only; nothing is fetched. Max 1 MB.


title: POST /v1/unit-convert

description: Convert a value between units in the same physical dimension: length, mass, volume, temperature, area, speed, data, energy, pressure, time, angle. Factors are exact SI constants (NIST SP 811) — deterministic, unlike an LLM's guess. Pass ?category=currency to convert ISO 4217 amounts at ECB reference rates instead (informational, not for pricing). Unknown units → 400 with a suggestion.


title: POST /v1/x402-batch-probe

description: Probe up to 10 x402 endpoints in parallel and get each one's reachability and decoded price — for an agent comparing several sellers at once. Send {urls:[…]}; returns [{url, reachable, isX402, price?, priceUsd?, error?}]. Each URL is SSRF-validated independently and NO payment is ever sent; one unreachable URL never fails the batch (it is reported per-URL). Reuses the same decoder as x402-probe.


title: POST /v1/xlsx-extract

description: Extract data from an .xlsx spreadsheet: send the bytes directly or a JSON body with a public {url}. Returns each sheet as rows (array-of-arrays) with its name and used range, plus workbook metadata. Query: sheet (name or 0-based index) for a single sheet, headers=true for array-of-objects. Formula cells return their cached computed value. Capped at 500000 cells. Max 10 MB.


title: POST /v1/xml-to-json

description: Convert XML to clean JSON. POST raw XML (XML or text/plain Content-Type) or a JSON envelope {xml, alwaysArray}. Attributes land under "@_" keys, mixed-content text under "#text", repeated siblings become arrays, and alwaysArray forces arrays for listed tags even on a single occurrence. Numeric character references decode. DTD entities and DOCTYPE internal subsets rejected (anti-XXE / billion-laughs). Max 5 MB.


key: POST https://402utils.com/v1/yaml

title: POST /v1/yaml

description: Convert between YAML and JSON in one call. to:"json" parses a YAML document (config files, docker-compose, Kubernetes manifests, CI pipelines) into a plain JSON value; to:"yaml" renders any JSON value as clean block-style YAML. Hardened: safe core schema (tags like !!js/function never execute), alias bombs rejected, one document per call, parse errors return line/column. YAML input up to 2 MB UTF-8.

recordKey: POST https://402utils.com/v1/yaml


title: POST /v1/zip-inspect

description: Inspect a ZIP archive safely: send the bytes directly or a JSON body with a public {url}. Returns the entry list (path, size, compressedSize, isDir); entries with path traversal (../), absolute or malformed paths are flagged suspicious:true and never interpreted. Add ?extract=exact/entry/path to get that one file back (max 5 MB decompressed). Zip bombs are refused. Max 20 MB.


registrySource: bazaar


networks: Base base

network: base

level: origin-and-cross-source

status: qualified

basis: qualified-signals


providerName: Achilles

title: DELPHI Intelligence — Signal Query

description: Real-time intelligence signals for autonomous agents. Market prices, security exploits, ecosystem changes. 467+ signals.


title: DELPHI Knowledge Graph — Contradictions

description: Intelligence contradiction detection. Auto-flags conflicting facts. High-value signal for arbitrage agents.


title: DELPHI Knowledge Graph — Entity Query

description: Temporal knowledge graph for AI agents. Query entity relationships with time-travel. Tracks assets, protocols, services.


title: RiskOracle — Achilles AgentIAM

description: Pre-action risk scoring for autonomous agents. Evaluates value, risk, and action safety.


description: Paid webhook/API execution for autonomous agents. Executes one public HTTPS action after x402 payment, applies retries and idempotency, then returns a signed receipt with request hash, response hash, target, status, and attempt count.

bodyFieldNames: body headers idempotencyKey method retry timeoutMs url


title: POST /service

description: AML/malicious-address screen: is this wallet a known scammer, sanctioned, mixer, or honeypot deployer? GoPlus intelligence, Ed25519-signed verdict. Pre-pay safety for agents. Free source. $0.02 USDC via x402 on Base. SYNTHORA. First 3 calls FREE per wallet — send header X-WALLET: 0x<addr>. No charge on upstream failure.


title: POST /api/validate

description: Parse, validate, and normalize a postal address


providerName: address

description: Batch-normalize or batch-geocode up to 100 Japanese (JP) addresses in a single call — same processing as POST /normalize and POST /geocode, with per-item success/error reporting. Dynamic pricing: a small per-item fee. Use for bulk-cleaning an address column or import file.


description: Geocode a Japanese (JP) address to WGS84 lat/lng coordinates, with a granularity level (prefecture → city → town → chome → banchi) and a 0-1 confidence score showing how precisely the input resolved. Japan-only. Use for mapping, distance calculation, or delivery routing.


description: Japanese address normalization (住所正規化): standardize a JP address into clean prefecture / city / town / chome-banchi components. Fixes fullwidth/halfwidth digits, old-form kanji, and chome-banchi notation variants, and resolves the 7-digit postal code. Returns a 0-1 confidence score so agents can flag low-quality input. Use for address validation, cleansing, deduplication, and canonicalization before storage or comparison.


description: Extract a fully structured Japanese (JP) address — prefecture, city, town, chome-banchi, plus building name, room number and addressee — from free-form, OCR, or voice-transcribed text. Use to turn one messy line into typed fields for invoices, shipping labels, or CRM records.


description: Reverse-geocode WGS84 lat/lng coordinates within Japan to a normalized Japanese (JP) address with structured components. Use to label a GPS fix, a map pin, or a photo location with a human-readable address.


title: POST /api/ads/fund/10

description: Fund a Gitlawb ad with $10 of USDC


title: POST /api/ads/fund/25

description: Fund a Gitlawb ad with $25 of USDC


title: POST /api/ads/fund/5

description: Fund a Gitlawb ad with $5 of USDC


title: POST /api/ads/fund/50

description: Fund a Gitlawb ad with $50 of USDC


providerName: aeonos

description: Improve AI search visibility and get cited by ChatGPT, Perplexity, Claude & Google AI Overviews. AEO/GEO/SEO strategy, AI visibility audits, schema markup, llms.txt. 0.05 USDC/query.


title: POST /api/audit

description: Full AI search visibility audit — AEO/GEO/SEO 4-layer strategy, AI inclusion check, schema gaps, llms.txt review, P1/P2/P3 roadmap. 1.00 USDC.


title: POST /api/llms-txt

description: Generate llms.txt to improve AI search visibility — structured file for ChatGPT, Perplexity & Claude crawlers. Helps AI engines understand and cite your business. 0.50 USDC.


title: POST /api/progress

description: AI search visibility progress report — Four Layers scoring (SXO/AIO/GEO/AEO), what's working, gaps, and your next 3 highest-impact actions. 0.75 USDC.


title: POST /api/schema

description: JSON-LD Schema.org markup generation for AI search visibility — FAQPage, Product, Service, LocalBusiness, HowTo and more. Boosts AI citations and rich results. 0.50 USDC.


title: POST /agent/v1/vending/create-payment-link

description: Generate an EIP-681 crypto payment link for end-user wallets. Agent pays a micro-fee via x402. Generic mode: pass payTo and token in the body. Optional mode=botpay uses BotPay vending infrastructure.

bodyFieldNames: amount currency mode network payTo sessionId


providerName: agent-budget-guard

description: Check budget and approve/deny AI agent spending with x402 payment verification

method: OPTIONS


providerName: agent-card-validator-mcp

description: Paid agent card and well-known validator route for autonomous agents. Returns JSON with provenance, route-specific evidence, and machine-readable fields. Price 0.05 USDC on Base via x402. Demo/preview: https://agent-card-validator-mcp.mtree.workers.dev/demo/audit. Contact: https://agent-card-validator-mcp.mtree.workers.dev/contact.


description: Paid agent card and well-known validator route for autonomous agents. Returns JSON with provenance, route-specific evidence, and machine-readable fields. Price 0.03 USDC on Base via x402. Demo/preview: https://agent-card-validator-mcp.mtree.workers.dev/demo/lint. Contact: https://agent-card-validator-mcp.mtree.workers.dev/contact.


providerName: agent-compression-biz-production

description: Classify and categorize text. Assign input to one of your supplied labels with a confidence score. Zero-shot text classification for routing, tagging, intent detection and triage.


description: Clean and denoise text. Strip HTML tags, navigation, ads, cookie banners and boilerplate, returning only the meaningful human-readable plaintext. Prep scraped or messy content for an LLM.


description: Compress and minimize LLM context. Turn verbose, messy, unstructured text into a dense token-minimal JSON object that keeps every fact. Reduce token usage, shrink prompts, and cut context costs for AI agents.


description: Detect prompt injection and jailbreaks. Scan untrusted user input for attempts to manipulate an AI agent — instruction overrides, system-prompt extraction, jailbreaks, data exfiltration, tool abuse — before your agent acts on it. A security guardrail for LLM and agent pipelines.


description: Detect the language of text. Return the language name, ISO 639-1 code and a confidence score. Language identification for routing and multilingual pipelines.


description: Named-entity recognition (NER). Extract people, organizations, locations, dates and monetary amounts from text into structured JSON. Identify entities for knowledge graphs and data enrichment.


description: Extract structured data from unstructured text or HTML. Pull caller-specified fields (names, prices, dates, invoice numbers, anything) into clean JSON. Turn documents and messy content into structured records.


description: Fetch and read any web page. Give a URL, get back the main content as clean Markdown or plaintext with nav/ads/boilerplate removed. Web access and browsing for sandboxed agents that can't reach the internet. Scrape a URL to LLM-ready text.


description: Repair broken JSON. Fix malformed, truncated or loosely-formatted JSON (single quotes, trailing commas, cut-off output) into valid parseable JSON. Recover LLM output that failed to parse.


description: Extract keywords, tags and key phrases from text. Identify the most important terms and topics for indexing, tagging, SEO and search. Keyword and keyphrase extraction.


description: Convert HTML to Markdown. Turn web pages, HTML or messy text into clean, well-structured Markdown (headings, lists, links, tables). Make web content LLM-ready.


description: Moderate content for safety. Flag unsafe text by category (hate, harassment, violence, sexual, self-harm, illegal). Content moderation and safety filtering for user input and generated text.


description: Detect and redact PII from text. Mask emails, phone numbers, names, addresses and government/card IDs with typed placeholders. Anonymize and sanitize data for privacy and compliance.


description: Rewrite and rephrase text in a target style or tone (formal, casual, concise, friendly, professional). Paraphrase, adjust voice, and polish copy while preserving meaning.


description: Scrape structured data from any web page. Give a URL and the fields you want; get clean structured JSON back. Turn websites into structured records — prices, titles, contacts, listings, specs — for sandboxed agents that can't browse.


description: Analyze sentiment and emotion in text. Return a positive/negative/neutral label plus a -1..1 score. Gauge customer feedback, reviews, social posts and support messages.


description: Summarize documents and long text. Produce a dense, accurate summary at a target length (short, medium, long). Condense articles, reports, transcripts and web pages for fast downstream reasoning.


description: Translate text between languages. Convert content into any target language while preserving meaning, tone and formatting. Machine translation for multilingual agents and pipelines.


title: POST /csv

description: Convert a list of JSON records into CSV with automatic header detection.


title: POST /extract

description: Extract structured JSON matching a given schema from free-form text using an LLM worker.


title: POST /markdown

description: Convert raw HTML into clean Markdown (scripts and styles stripped).


title: POST /promote

description: Generate a truthful promotion kit for your x402 service (tagline, discovery-optimized description, tweet, README blurb) using an LLM copywriter.


title: POST /repair

description: Repair malformed JSON (truncated, single quotes, trailing commas, LLM output artifacts) into valid JSON.


title: POST /validate

description: Validate JSON data against a JSON Schema and return a detailed list of violations.


providerName: agent-evolution-engine


providerName: agent-paid-resource-control

description: Review paid resource access for AI agents, including resource binding, duplicate payment risk, fulfillment requirements, evidence receipt fields, and reconciliation guidance.


title: POST /api/products/:id/buy

description: Purchase 早餐

network: base-sepolia

tokenName: USDC


providerName: agent-payment-error-corpus

description: Paid agent payment error diagnosis route for autonomous agents. Returns JSON with provenance, route-specific evidence, and machine-readable fields. Price 0.05 USDC on Base via x402. Demo/preview: https://agent-payment-error-corpus.mtree.workers.dev/demo/error_families. Contact: https://agent-payment-error-corpus.mtree.workers.dev/contact.


title: POST /v1/x402/4013ed2b4f50e768/abc-test-123

description: sfdsa

tokenName: GatewayWalletBatched

level: source-confirmed

error: timeout


providerName: Agent Ready

title: Agent Ready: POST /api/x402/scan

description: Pay-per-scan AI agent-readability scan. POST { "url": "https://…" } with an X-PAYMENT header to run a scan with no account or subscription. Two tiers: $0.02 (25 pages) and $0.25 (250 pages), USDC on Base.


providerName: agent-security-gateway


title: POST /api/v1/posts/:id/vote

description: Upvote a post on AgentNews — $0.50 USDC.


key: POST https://agent.news/api/v1/submit

title: POST /api/v1/submit

description: Bid to post on AgentNews — stake $0.50+ USDC. Top 10 bids by stake published hourly.

recordKey: POST https://agent.news/api/v1/submit


providerName: SanctionCheck

title: SanctionCheck: POST /check

description: Compliance sanction/blacklist check for a single wallet address — one query.


title: Agent402.tools: POST /api/add-time

description: Add (or subtract) a duration to a date. duration like "2d", "-3h", "1w 2d", "90m". Returns the resulting UTC ISO timestamp.

matchScope: host


key: POST https://agent402.tools/api/age

title: Agent402.tools: POST /api/age

description: Compute a precise age (years, months, days) from a birth date to today (or a given date), plus total days.

recordKey: POST https://agent402.tools/api/age


title: Agent402.tools: POST /api/amortization

description: 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. Use this when the user wants...


key: POST https://agent402.tools/api/annuity

title: Agent402.tools: POST /api/annuity

description: Present and future value of a level annuity (equal periodic payments). Supports an ordinary annuity (payments at period end) and an annuity-due (payments at period start).

tokenName: Global Dollar

recordKey: POST https://agent402.tools/api/annuity


title: Agent402.tools: POST /api/asn-info

description: 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 Team Cymru's free DNS-based IP→ASN mapping; no HTTPS upstream, no auth, no rate-limit headaches.


title: Agent402.tools: POST /api/audio-convert

description: Extract/convert the audio track of any media URL (mp4, mov, wav, m4a, ogg…) to MP3 — the "mp4 to mp3" conversion, deterministic ffmpeg, no AI. Body: {"url":"https://…/video.mp4","bitrate":"192k"?}. Returns the MP3 as base64.


title: Agent402.tools: POST /api/audio-normalize

description: Loudness-normalize any audio/video URL to a target LUFS with ffmpeg's loudnorm (EBU R128) and return MP3 — consistent levels for podcasts, clips, and TTS output. Body: {"url":"https://…/audio.wav","targetLufs":-16?}.


title: Agent402.tools: POST /api/b20-feature-id

description: 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.


title: Agent402.tools: POST /api/barcode-decode

description: Decode a barcode or QR code from an image. Send a base64 PNG or JPEG (or a data: URL); returns the decoded text and the symbology. Reads QR, DataMatrix, and 1D barcodes (EAN/UPC/Code39/Code128/ITF/Codabar). Deterministic, no network, no model.


title: Agent402.tools: POST /api/base-convert

description: Convert an integer between number bases (radix 2-36), e.g. binary↔hex↔decimal. Arbitrary size via BigInt.


title: Agent402.tools: POST /api/base-detect

description: Auto-detect the encoding format of a string: base64, base32, hex, binary, decimal, or plain text. Returns confidence scores and decoded preview for each candidate. Pure CPU, deterministic.


key: POST https://agent402.tools/api/base32

title: Agent402.tools: POST /api/base32

description: Base32 (RFC 4648) encode or decode text. mode: encode (default) or decode.

recordKey: POST https://agent402.tools/api/base32


key: POST https://agent402.tools/api/base58

title: Agent402.tools: POST /api/base58

description: Base58 encode or decode text (Bitcoin/IPFS alphabet). mode: encode (default) or decode.

recordKey: POST https://agent402.tools/api/base58


key: POST https://agent402.tools/api/base64

title: Agent402.tools: POST /api/base64

description: Base64 encode or decode text. mode: encode (default) or decode. Handles URL-safe base64 on decode.

recordKey: POST https://agent402.tools/api/base64


title: Agent402.tools: POST /api/binary-text

description: Convert text to its binary (base-2) representation (8-bit per character, space-separated) or decode binary back to text. Deterministic, pure CPU.


title: Agent402.tools: POST /api/black-scholes

description: Price a European option (call or put) with the Black-Scholes-Merton model, plus the greeks (delta, gamma, vega, theta, rho). Continuous dividend yield supported. Greeks are per unit: theta is per year, vega per 1.00 change in volatility, rho per 1...

bodyFieldNames: dividendYield riskFreeRate spot strike timeToExpiryYears type volatility


title: Agent402.tools: POST /api/bond-price

description: Price a fixed-coupon bond from its yield to maturity: present-value the coupons plus face. Returns clean price, coupon per period, current yield, and premium/discount vs par.

bodyFieldNames: couponRate faceValue periodsPerYear years yieldToMaturity


title: Agent402.tools: POST /api/bond-ytm

description: Solve a bond's yield to maturity from its market price — the annual rate that present-values the coupons plus face to that price. Bracketed bisection root-find.

bodyFieldNames: couponRate faceValue periodsPerYear price years


title: Agent402.tools: POST /api/braille-convert

description: Convert text to Unicode Braille characters (Grade 1 / uncontracted) or decode Braille back to text. Supports letters, digits, and common punctuation. Deterministic, pure CPU.


title: Agent402.tools: POST /api/break-even

description: Break-even point for a product: the units and revenue at which total revenue covers fixed plus variable costs. Also returns contribution margin and margin ratio.


title: Agent402.tools: POST /api/brotli-compress

description: 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 than gzip; pick gzip if sp...


title: Agent402.tools: POST /api/brotli-decompress

description: Decompress a base64-encoded Brotli payload. Returns the result as utf8 (text) or base64 (binary). Refuses to expand past 10MB to defend against zip bombs.


title: Agent402.tools: POST /api/business-days

description: Count business days (Mon–Fri) between two dates, inclusive of the start, exclusive of the end. Optional list of holiday dates to skip.


key: POST https://agent402.tools/api/cagr

title: Agent402.tools: POST /api/cagr

description: Compound annual growth rate between a beginning and ending value over N years: (end/begin)^(1/years) - 1. Also returns total growth over the whole period.

recordKey: POST https://agent402.tools/api/cagr


key: POST https://agent402.tools/api/calc

title: Agent402.tools: POST /api/calc

description: Safely evaluate an arithmetic expression (+ - * / % ^ and parentheses). No code execution — a real parser, not eval.

recordKey: POST https://agent402.tools/api/calc


title: Agent402.tools: POST /api/card-validate

description: Validate a payment card number (Luhn checksum) and detect the brand. Numbers are not stored or logged.


key: POST https://agent402.tools/api/case

title: Agent402.tools: POST /api/case

description: Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, lower, UPPER.

recordKey: POST https://agent402.tools/api/case


title: Agent402.tools: POST /api/case-convert

description: Convert text between naming conventions: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and Title Case. Auto-detects the input format by splitting on camelCase boundaries, underscores, hyphens, and spaces. Deterministic, pure CPU.


title: Agent402.tools: POST /api/cert-transparency

description: Search public Certificate Transparency logs (via crt.sh) for every cert issued to a domain. Returns the cert list plus a deduped subdomain set extracted from the SANs — the fastest way to enumerate subdomains for a security audit. Free upstream, no key required.


title: Agent402.tools: POST /api/char-frequency

description: Analyze the character frequency distribution of a string. Returns counts by category (letters, digits, spaces, punctuation, other) and the top-N most frequent characters with counts and percentages. Deterministic, pure CPU.


title: Agent402.tools: POST /api/checksum

description: Compute MD5, SHA-1, SHA-256, SHA-512, and CRC32 checksums of a string in a single call. Useful for verifying file or payload integrity across different checksum standards without needing five separate tools.


key: POST https://agent402.tools/api/cidr

title: Agent402.tools: POST /api/cidr

description: Parse an IPv4 CIDR block: network address, broadcast, first/last host, netmask, and host count. Optionally test if an IP is inside it.

recordKey: POST https://agent402.tools/api/cidr


title: Agent402.tools: POST /api/code-run

description: Execute Python or JavaScript code in a secure, isolated cloud sandbox. Returns stdout, stderr, and the expression result. No setup needed; pay per call via x402. 30s timeout, 10k char code limit.


title: Agent402.tools: POST /api/code-run-pro

description: Execute Python or JavaScript code in a secure, isolated cloud sandbox (Pro tier). Same as /api/code-run but with 60s timeout and 50k char code limit for longer computations. Returns stdout, stderr, and the expression result.


key: POST https://agent402.tools/api/color

title: Agent402.tools: POST /api/color

description: Convert a color between hex, RGB, and HSL. Accepts "#1a2b3c", "rgb(26,43,60)", or "hsl(210,40%,17%)".

recordKey: POST https://agent402.tools/api/color


title: Agent402.tools: POST /api/color-blindness

description: Simulate how a color appears to viewers with protanopia (red-blind), deuteranopia (green-blind), or tritanopia (blue-blind) — the three dichromacy types covering ~8% of men and ~0.5% of women. Returns the simulated RGB plus the contrast ratio agai...


title: Agent402.tools: POST /api/color-contrast

description: Compute the WCAG 2.x contrast ratio between two colors (hex #rgb or #rrggbb) and whether it passes AA/AAA for normal and large text. Deterministic — for accessible color choices without a tool in the loop.


title: Agent402.tools: POST /api/color-convert

description: Convert a color between every common notation (hex, rgb, hsl, oklch) at once, plus return the nearest CSS named color. Accepts input as hex (#fff or #ffffff), rgb()/rgba(), hsl()/hsla(), oklch(), or any of the 148 CSS named colors. Use this when a...


title: Agent402.tools: POST /api/color-name

description: Two-way CSS named color tool. Pass a name (e.g. "rebeccapurple") to get its canonical RGB/hex; pass a hex/rgb color to get the closest CSS named color and the distance (RGB Euclidean, 0 = exact match). Useful when an agent needs to convert designe...


title: Agent402.tools: POST /api/color-palette

description: Generate a coordinated palette from a base color using a named color-theory scheme: complementary (2 colors), analogous (3), triadic (3), tetradic (4), split-complementary (3), or monochromatic (5 lightness variants). Returns each color in hex, rg...


title: Agent402.tools: POST /api/combinatorics

description: Compute combinations C(n, r) or permutations P(n, r) using BigInt for exact arbitrary-precision results. Returns the result as a string (since values can exceed Number.MAX_SAFE_INTEGER) and a human-readable formula.


title: Agent402.tools: POST /api/compound-interest

description: Compute future value of a principal under compound interest. Returns future value, total interest earned, and the effective annual rate (APY) given the compounding frequency. Matches Excel's FV(rate, nper, 0, -principal) and the classic (1+r/n)^(n...

bodyFieldNames: annualRate compoundingPerYear principal years


title: Agent402.tools: POST /api/compress-compare

description: Run the same input through gzip, brotli, and raw deflate at max settings and report each one's output size and ratio. Use this to decide which algorithm to actually use — the answer depends on your content (binary often resists compression entirel...


title: Agent402.tools: POST /api/constant-compare

description: Compare two strings in constant time using node:crypto timingSafeEqual, preventing timing side-channel attacks. Returns whether the strings are equal and whether their lengths match. Different-length strings are always unequal but comparison does ...


title: Agent402.tools: POST /api/correlation

description: Pearson correlation coefficient between two equal-length numeric series. Returns r (the correlation, -1 to 1), r² (variance explained), n (sample size). Use this to ask things like: is a stock's daily return correlated with a macro indicator? Are ...


key: POST https://agent402.tools/api/count

title: Agent402.tools: POST /api/count

description: Count characters, words, lines, and (optionally) occurrences of a substring in text.

recordKey: POST https://agent402.tools/api/count


key: POST https://agent402.tools/api/crc32

title: Agent402.tools: POST /api/crc32

description: CRC-32 checksum of a text string (hex), the IEEE polynomial used by zip/png/gzip.

recordKey: POST https://agent402.tools/api/crc32


title: Agent402.tools: POST /api/cron-next

description: Parse a 5-field cron expression and return the next N run times (UTC).


title: Agent402.tools: POST /api/csv-lint

description: Validate CSV structure: consistent column counts across rows, properly closed quotes, delimiter detection. Returns row/column counts and any structural errors. Pure CPU.


title: Agent402.tools: POST /api/csv-to-json

description: Parse CSV (quoted fields supported) into a JSON array of objects, using the first row as headers (header=false for arrays).


title: Agent402.tools: POST /api/csv-to-md

description: Convert CSV into a GitHub-flavored Markdown table (first row is the header).


title: Agent402.tools: POST /api/date-diff

description: Difference between two dates/times in ms, seconds, minutes, hours, days, and a human summary.


title: Agent402.tools: POST /api/day-of-year

description: Get the day number within the year (1-366) for any date, plus days remaining, leap-year status, percent of year complete, and a simple (Sunday-start) week number.


title: Agent402.tools: POST /api/dedupe-lines

description: Remove duplicate lines, preserving first-seen order. Returns the deduped text and how many were removed.


title: Agent402.tools: POST /api/defi-tvl

description: Look up the current Total Value Locked (TVL) for a DeFi protocol via DeFiLlama's public API. Identify the protocol by its DeFiLlama slug (uniswap, aave, lido, ethena, etc.). Returns the total TVL plus per-chain breakdown and 24h/7d/30d change wher...


title: Agent402.tools: POST /api/dex-pair

description: Look up the Uniswap V3 pool address for a token pair + fee tier on Ethereum, Base, Polygon, Arbitrum, or Optimism. Pass either order (tokenA/tokenB) — the factory sorts internally. Returns 0x0…0 if no pool has been deployed for that combination yet.


title: Agent402.tools: POST /api/dex-pool

description: Read on-chain state of a Uniswap V3 pool: token0/token1 addresses + decimals, fee tier, current sqrtPriceX96, tick, in-range liquidity, and the decoded human-readable spot price (token1 per token0). One $0.002 call replaces ~6 RPC roundtrips on the caller's side.


title: Agent402.tools: POST /api/dex-quote

description: Spot quote for swapping through a Uniswap V3 pool at the current tick. amountIn is in human units (not wei). zeroForOne=true sends token0 → token1; false sends token1 → token0. Returns amountOut net of the pool's fee tier. NOTE: this is a single-tick spot quote — slippage from depleting concentrated liquidity is NOT modeled. Use for indicative pricing; for production swaps quote against the Uniswap SDK.


title: Agent402.tools: POST /api/dex-top-pools

description: Top DEX pools (Uniswap, Sushi, Curve, Aerodrome, etc.) ranked by current TVL — filterable by chain and project. Sourced from DeFiLlama's public Yields API (keyless). Each row carries chain, project slug, symbol pair, TVL in USD, current APY, and p...


title: Agent402.tools: POST /api/dkim-lookup

description: Fetch and parse a DKIM public-key record at <selector>._domainkey.<domain> (RFC 6376). Returns the parsed key params (algorithm, length, flags) so you can verify rotation status or key strength. Caller must know the selector — use email-deliverability if you don't.


title: Agent402.tools: POST /api/dmarc-check

description: Fetch and validate a domain's DMARC policy at _dmarc.<domain> (RFC 7489). Surfaces the enforcement policy (none/quarantine/reject), reporting addresses, alignment modes, and common misconfigs (no rua, p=none stuck for months, percent <100). Pair with SPF and DKIM for full Feb-2024 sender-rule compliance.


title: Agent402.tools: POST /api/dns-lookup

description: Resolve any DNS record type for a host: A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV, PTR. Returns the records plus a count. Built on Node's native resolver — no external API.


title: Agent402.tools: POST /api/dns-propagation

description: Resolve the same DNS record against 4 public resolvers (Google, Cloudflare, Quad9, OpenDNS) in parallel; surface divergences. The first call you make after a DNS change — confirms the world sees what you intended.


title: Agent402.tools: POST /api/duration

description: Parse a duration like "2h30m" / "1d4h" / "90s" to seconds, or humanize a number of seconds.


title: Agent402.tools: POST /api/eas-attestations

description: List EAS (Ethereum Attestation Service) attestations for an address as recipient, attester, or either, on mainnet/Base/Optimism/Arbitrum/Sepolia. Returns attestation id, attester, recipient, schema id, revocable/revoked flags, timestamp, and decoded data JSON. Use to verify Gitcoin Passport stamps, Coinbase verifications, KYC attestations, or any other on-chain claim about an address.


title: Agent402.tools: POST /api/easter-date

description: Compute the date of Easter Sunday for a given year using the Anonymous Gregorian algorithm (Meeus/Jones/Butcher). Also returns Good Friday, Ash Wednesday, Palm Sunday, Pentecost, and the day-of-year for Easter.


title: Agent402.tools: POST /api/effective-annual-rate

description: Convert a nominal annual rate (APR) compounded m times per year into the effective annual rate (EAR / APY): (1 + apr/m)^m - 1. Set continuous:true for e^apr - 1.


title: Agent402.tools: POST /api/email-deliverability

description: End-to-end email-auth report for a domain: SPF + DMARC + DKIM (probes common selectors automatically) + MX records + score 0–100. The one call to make when 'why is our mail going to spam?' lands in your inbox.


title: Agent402.tools: POST /api/email-validate

description: Validate an email address: syntax check plus live MX record lookup on the domain (deliverability signal, not a guarantee).


key: POST https://agent402.tools/api/embed

title: Agent402.tools: POST /api/embed

description: 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.

recordKey: POST https://agent402.tools/api/embed


title: Agent402.tools: POST /api/embed-large

description: 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 capped at 32k chars.


title: Agent402.tools: POST /api/ens-bulk-resolve

description: Reverse-resolve a batch of Ethereum addresses to ENS primary names + avatar URLs (up to 50 per call). Returns one row per address with name (or null), displayName (with checksum if no name), and avatar URI. Use to label transaction lists, wallet l...


title: Agent402.tools: POST /api/epoch-convert

description: Convert between Unix epoch timestamps and ISO 8601 date strings in both directions. Provide either an epoch (seconds or milliseconds) or an ISO date string. Returns both representations plus UTC and date components.


title: Agent402.tools: POST /api/eth-call

description: Escape hatch for power users: forward an arbitrary read-only JSON-RPC method to the chain. Method must be in our read-only whitelist (eth_call, eth_getLogs, eth_getBlockByNumber, eth_getTransactionReceipt, eth_chainId, eth_blockNumber, etc.). Mutating methods (eth_sendTransaction, eth_sendRawTransaction) are rejected — sign and broadcast through your own provider.


key: POST https://agent402.tools/api/extract

title: Agent402.tools: POST /api/extract

description: Extract the main article content from any public URL as clean markdown. Returns title, byline, excerpt, word count, and markdown.

recordKey: POST https://agent402.tools/api/extract


title: Agent402.tools: POST /api/extract-entities

description: Pull emails, URLs, IPv4s, @mentions, and #hashtags out of free text. Returns deduped lists.


title: Agent402.tools: POST /api/farcaster-by-address

description: Reverse-lookup an Ethereum address to its Farcaster account (via verified address). Returns FID, username, display name, bio, follower/following counts, and Warpcast URL, or found=false if the address has not verified on Farcaster. Use to label wa...


title: Agent402.tools: POST /api/farcaster-profile

description: Lookup a Farcaster profile by username or FID. Returns FID, username, display name, bio, profile picture URL, follower/following counts, and the canonical Warpcast URL. Use to label cast authors, validate a Farcaster handle, or fetch a profile for display.


key: POST https://agent402.tools/api/finance

title: Agent402.tools: POST /api/finance

description: Financial math. op: "compound" (future value of principal at a rate) or "loan" (monthly payment + total for a loan).

recordKey: POST https://agent402.tools/api/finance


title: Agent402.tools: POST /api/forecast-eval

description: Backtest a forecasting method on the input series by holding out the last `testSize` observations, forecasting them, and computing MAPE (mean absolute percentage error) + RMSE (root mean squared error). Lets an agent pick which method (mean / naiv...


title: Agent402.tools: POST /api/forecast-holt

description: Holt's linear trend method — level + trend (no seasonality). Two smoothing parameters: alpha (level) and beta (trend). Forecast extrapolates as a straight line from the last fitted level along the last fitted trend, so it grows or shrinks linearly...


title: Agent402.tools: POST /api/forecast-holt-winters

description: Holt-Winters triple exponential smoothing — level + trend + seasonal component. Use for series with a repeating cycle (weekly retail traffic, monthly utility usage, quarterly revenue). Additive seasonality (constant amplitude) or multiplicative (a...


title: Agent402.tools: POST /api/forecast-naive

description: Three textbook baseline forecasts: mean (forecast = average of history), naive (forecast = last value), drift (linear extrapolation from first to last point). Use as a sanity floor — any sophisticated method (SES, Holt, Holt-Winters) should beat t...


title: Agent402.tools: POST /api/forecast-ses

description: Simple exponential smoothing (SES) — level-only forecast for series without trend or seasonality. Higher alpha (closer to 1) tracks recent values aggressively; lower alpha (closer to 0) smooths through noise. Default alpha=0.3 is a common conserva...


title: Agent402.tools: POST /api/gas-snapshot

description: Live gas price snapshot for a chain — slow / standard / fast tiers in gwei, plus the latest base fee. Sampled from eth_feeHistory (last 4 blocks, 25th/50th/90th percentile priority fees). Use to estimate before broadcasting a transaction from anot...


key: POST https://agent402.tools/api/gcd-lcm

title: Agent402.tools: POST /api/gcd-lcm

description: Compute the greatest common divisor (Euclidean algorithm) and least common multiple of two positive integers. Also reports whether the two numbers are coprime (GCD = 1).

recordKey: POST https://agent402.tools/api/gcd-lcm


title: Agent402.tools: POST /api/geo-distance

description: Great-circle distance between two latitude/longitude points using the haversine formula. Returns kilometers and miles. Deterministic.


title: Agent402.tools: POST /api/group-by

description: Group an array of objects by one or more keys and aggregate a numeric field — count (default), sum, avg, min, or max. The SQL GROUP BY agents reach for when wrangling JSON. Deterministic (groups in first-seen order).


key: POST https://agent402.tools/api/gunzip

title: Agent402.tools: POST /api/gunzip

description: Decompress a base64-encoded gzip payload. Returns the result as utf8 (text) or base64 (binary). Refuses to expand past 10MB to defend against zip bombs.

recordKey: POST https://agent402.tools/api/gunzip


key: POST https://agent402.tools/api/gzip

title: Agent402.tools: POST /api/gzip

description: Compress a string with gzip (RFC 1952) and return it as base64. Reports input bytes, output bytes, and the compression ratio so you can decide if it was worth doing. Input can be plain text (utf8) or already-binary content (base64 or hex).

recordKey: POST https://agent402.tools/api/gzip


key: POST https://agent402.tools/api/hash

title: Agent402.tools: POST /api/hash

description: Cryptographic hash of a text string. Algorithms: sha256 (default), sha512, sha1, md5. Returns hex and base64 digests.

recordKey: POST https://agent402.tools/api/hash


key: POST https://agent402.tools/api/hex

title: Agent402.tools: POST /api/hex

description: Hex encode or decode text. mode: encode (default) or decode.

recordKey: POST https://agent402.tools/api/hex


title: Agent402.tools: POST /api/hkdf-expand

description: HKDF extract-then-expand (RFC 5869) — derive output keying material from initial keying material, an optional salt, and an optional info/context string. Useful for deriving multiple keys from a single shared secret. Returns hex-encoded OKM.


key: POST https://agent402.tools/api/hmac

title: Agent402.tools: POST /api/hmac

description: HMAC signature of a message with a shared key. Algorithms: sha256 (default), sha512, sha1. Returns hex and base64.

recordKey: POST https://agent402.tools/api/hmac


title: Agent402.tools: POST /api/html-entities

description: Encode text to HTML entities or decode them back. mode: encode (default) or decode.


title: Agent402.tools: POST /api/html-links

description: Enumerate every <a href> in an HTML string with its anchor text and rel attribute. Optionally resolves relative hrefs against a base URL and filters by a regex on the href. The deterministic way to crawl a page's outlinks without writing a regex.


title: Agent402.tools: POST /api/html-meta

description: Extract <title>, <meta description>, OpenGraph/Twitter cards, canonical URL, and JSON-LD blocks from an HTML string. Distinct from /api/meta which fetches a URL — feed this the HTML you already have (from /api/render, /api/extract.body, or your ow...


title: Agent402.tools: POST /api/html-select

description: Run a CSS selector against an HTML string and return the matches (text, attrs, and optionally outerHTML for each). The deterministic alternative to regex when you already have the HTML and know the selector — pairs with /api/render or any page you...


title: Agent402.tools: POST /api/html-strip

description: Strip all HTML tags and return plain text. Preserves block-level structure (paragraphs and headings become newline-separated). Faster and more predictable than running extract on a raw HTML string when you already have it.


title: Agent402.tools: POST /api/html-table

description: Extract a <table> from an HTML string as JSON rows (header-keyed) or CSV. Useful for prices, schedules, sports stats, or anything an agent has already fetched as HTML. If multiple tables match, the first is used.


title: Agent402.tools: POST /api/html-to-markdown

description: Convert an HTML fragment or document you already have into clean markdown. (To fetch + convert a live URL, use /api/extract.)


title: Agent402.tools: POST /api/http-check

description: Check any public URL: status code, latency, final URL after redirects, and response headers. The uptime primitive for agent monitors.


title: Agent402.tools: POST /api/http-headers

description: Fetch a URL and return every response header plus a security analysis: HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP/CORP/COEP. Scores 0–100 by presence, flags weak HSTS, and warns on Server/X-Powered-By identity leaks. SSRF-protected.


title: Agent402.tools: POST /api/iban-validate

description: Validate an IBAN: country code, length, and the ISO 13616 mod-97 checksum.


title: Agent402.tools: POST /api/image-convert

description: Convert an image between formats (PNG, JPEG, BMP). Send a base64 image and the target format; returns the converted image. Optional jpeg quality (1-100). Deterministic, no network.


title: Agent402.tools: POST /api/image-gen

description: Generate an image from a text prompt using GPT Image (mini, low quality, 1024x1024). No API key needed; pay per call via x402. Returns base64 PNG. Prompt capped at 1000 chars.


title: Agent402.tools: POST /api/image-gen-hd

description: Generate a higher-quality image from a text prompt using GPT Image (mini, medium quality, 1024x1024). No API key needed; pay per call via x402. Returns base64 PNG. Prompt capped at 2000 chars.


title: Agent402.tools: POST /api/image-gen-premium

description: Generate a premium image from a text prompt using GPT Image 2 (medium quality, 1024x1024). Flagship model with best detail and coherence. No API key needed; pay per call via x402. Returns base64 PNG. Prompt capped at 4000 chars.


title: Agent402.tools: POST /api/image-ocr

description: Extract text from an image (PNG/JPEG): returns the full text, overall confidence (0-100), and per-line bounding boxes. Send either {image: base64} or {url: 'https://…'}. Pure-CPU Tesseract via tesseract.js — no upstream API, no keys. Default lang 'eng'; pass 'lang' (ISO 639-2) for others.


title: Agent402.tools: POST /api/image-resize

description: Resize an image to given pixel dimensions. Send a base64 PNG/JPEG/BMP and width and/or height (give one to scale proportionally). Returns the resized image. Deterministic, no network.


title: Agent402.tools: POST /api/image-thumbnail

description: Make a square thumbnail of an image — scales and center-crops to NxN (default 128). Send a base64 image and optional size. Returns the thumbnail. Deterministic, no network.


title: Agent402.tools: POST /api/images-to-pdf

description: Combine PNG/JPEG images into a single PDF, one image per page. Body: {"urls":["https://…/1.png","https://…/2.jpg"]}. Returns the PDF as base64.


key: POST https://agent402.tools/api/ip-info

title: Agent402.tools: POST /api/ip-info

description: Classify an IP address: version, public/private/loopback/link-local, integer form, and reverse-DNS (PTR) lookup.

recordKey: POST https://agent402.tools/api/ip-info


title: Agent402.tools: POST /api/ipv6-expand

description: Expand a compressed IPv6 address to full 8-group notation (:: to 0000:...) or compress a full address by collapsing the longest zero run. Also validates format. Pure CPU, deterministic.


key: POST https://agent402.tools/api/irr

title: Agent402.tools: POST /api/irr

description: Compute the internal rate of return (IRR) of a cashflow stream — the discount rate at which NPV = 0. Index 0 is treated as t=0 (typically the negative initial investment); indices 1..n are inflows in subsequent periods. Solved via Newton-Raphson w...

recordKey: POST https://agent402.tools/api/irr


title: Agent402.tools: POST /api/isbn-validate

description: Validate an ISBN-10 or ISBN-13 checksum (hyphens/spaces ignored) and report which format it is.


title: Agent402.tools: POST /api/iso-week

description: Get the ISO 8601 week number, ISO day-of-week, quarter, and day-of-year for any date. Useful for fiscal/reporting calendars, weekly aggregations, and sprint planning.


title: Agent402.tools: POST /api/jaccard-similarity

description: Compute the Jaccard similarity coefficient between two strings using character bigrams or word tokens. Returns the ratio of intersection to union (0 = no overlap, 1 = identical sets). Deterministic, pure CPU.


title: Agent402.tools: POST /api/json-diff

description: Deep-compare two JSON values. Returns a list of changed/added/removed paths (capped at 1000 differences).


title: Agent402.tools: POST /api/json-flatten

description: Flatten nested JSON to dot-path keys, or unflatten dot-path keys back to nested JSON. mode: flatten (default) | unflatten.


title: Agent402.tools: POST /api/json-format

description: Validate, pretty-print, or minify JSON. Returns parse errors with position when invalid.


title: Agent402.tools: POST /api/json-merge

description: Deep-merge two JSON objects (b wins on conflicts; arrays are concatenated).


title: Agent402.tools: POST /api/json-pointer

description: Resolve an RFC 6901 JSON Pointer (e.g. /items/0/name) against a JSON value. Returns the value or found:false.


title: Agent402.tools: POST /api/json-query

description: Extract a value from JSON by dot/bracket path, e.g. "items[2].name".


title: Agent402.tools: POST /api/json-to-csv

description: Convert a JSON array of objects to CSV. Nested objects are flattened to dot-path columns.


title: Agent402.tools: POST /api/json-to-xml

description: Convert a JSON value to indented XML — the reverse of xml-to-json. Objects become nested elements, arrays repeat their tag, and text is escaped. Deterministic.


title: Agent402.tools: POST /api/json-to-yaml

description: Convert JSON to YAML.


title: Agent402.tools: POST /api/json-validate

description: Validate a JSON document against a JSON Schema (draft-07 subset) and get the list of violations. Supports type, required, properties, items, enum, const, min/max, length, pattern, format, anyOf/allOf/oneOf/not, additionalProperties. Deterministic — check an agent's structured output before you trust it.


key: POST https://agent402.tools/api/jsonl

title: Agent402.tools: POST /api/jsonl

description: Convert between a JSON array and JSONL/NDJSON (one JSON object per line). mode: to-jsonl (array → lines) or from-jsonl (lines → array). For streaming records to and from agents and datasets.

recordKey: POST https://agent402.tools/api/jsonl


title: Agent402.tools: POST /api/jwt-decode

description: Decode a JWT without verification: header, payload, expiry status, and time remaining. (Decoding only — signatures are NOT verified.)


title: Agent402.tools: POST /api/jwt-sign

description: Mint a signed JSON Web Token (HMAC: HS256 default, HS384, HS512) from a payload + secret. Pairs with jwt-decode/jwt-verify to complete the trio. Deterministic — same payload, secret, and alg always produce the same token.


title: Agent402.tools: POST /api/jwt-verify

description: Verify an HS256/384/512 JWT signature against a secret and check expiry. Returns valid + decoded payload. (HMAC algorithms only.)


title: Agent402.tools: POST /api/kalshi-event

description: Get full detail for a single Kalshi event with all its nested markets. Mutually-exclusive flag tells you whether the markets partition outcome space (e.g. one winner). Useful for: viewing all candidates in an election, all CPI ranges, all weather buckets.


title: Agent402.tools: POST /api/kalshi-markets

description: List Kalshi markets (CFTC-regulated US event contracts). Filter by status (open/closed/settled/unopened) or by event ticker. Returns yes/no bid/ask, last price, volume, open interest. Complement to Polymarket for US-regulated markets and Kalshi-only categories (weather, economic data).


title: Agent402.tools: POST /api/keywords

description: Top keywords and two-word phrases by frequency (stopwords removed). Cheap, deterministic signal for routing, tagging, and dedup.


title: Agent402.tools: POST /api/l2-gas-comparison

description: Current gas snapshot across Ethereum + supported L2s (Base, Polygon, Arbitrum, Optimism), sorted cheapest-first. Returns gas price in gwei, latest block number, chain id, and an isL2 flag per chain. Use to route a transaction to the cheapest viable L2 or to track L1→L2 gas spread.


key: POST https://agent402.tools/api/l2-tvl

title: Agent402.tools: POST /api/l2-tvl

description: Top L2s by TVL via DeFiLlama. Returns each L2 with TVL in USD, native token symbol, and CoinGecko/CMC ids. Classification combines DeFiLlama's parent-chain hint with a curated list of well-known L2s (Arbitrum, Optimism, Base, zkSync Era, Linea, Scroll, Mantle, Polygon zkEVM, Starknet, Blast, Mode, Manta, Metis, Polygon, Taiko, Immutable zkEVM, World Chain).

recordKey: POST https://agent402.tools/api/l2-tvl


title: Agent402.tools: POST /api/leap-year

description: Check whether a year is a leap year and get related info: days in that year, the next and previous leap years, and the Gregorian leap-year rule.


title: Agent402.tools: POST /api/levenshtein

description: Levenshtein edit distance between two strings, plus a 0-1 similarity ratio.


title: Agent402.tools: POST /api/linear-regression

description: Fit a least-squares line y = slope·x + intercept to two equal-length series. Returns slope, intercept, r² (variance explained), and optionally predicted y values for new x inputs — useful for trend extrapolation (e.g. project next quarter's revenu...


key: POST https://agent402.tools/api/llm

title: Agent402.tools: POST /api/llm

description: LLM inference proxy — send an OpenAI-format chat/completions request and get a response from GPT-4o-mini. No API key needed; pay per call via x402. Supports temperature, top_p, stop, and max_tokens (capped at 4096). Input capped at 16k chars.

recordKey: POST https://agent402.tools/api/llm


title: Agent402.tools: POST /api/llm-premium

description: LLM inference proxy (Premium tier) — o3-mini reasoning model via the same OpenAI-format interface. No API key needed; pay per call via x402. Input capped at 32k chars, output at 2048 tokens.


key: POST https://agent402.tools/api/llm-pro

title: Agent402.tools: POST /api/llm-pro

description: LLM inference proxy (Pro tier) — GPT-4o or GPT-4.1. Same OpenAI-format interface as /api/llm but with more capable models. No API key needed; pay per call via x402. Input capped at 16k chars, output at 2048 tokens.

recordKey: POST https://agent402.tools/api/llm-pro


title: Agent402.tools: POST /api/loan-payment

description: Compute the monthly (or per-period) payment on a fully-amortizing loan: mortgage, auto, student loan, business loan. Returns the periodic payment, total paid over the term, and total interest. Matches Excel's PMT(rate, nper, -principal). Use this ...


title: Agent402.tools: POST /api/markdown-to-html

description: Render CommonMark + GFM markdown to HTML.


title: Agent402.tools: POST /api/matrix-multiply

description: Standard matrix multiplication of two 2D arrays: A[m×k] × B[k×n] → C[m×n]. Validates that inner dimensions match. Each dimension is capped at 100.


title: Agent402.tools: POST /api/media-info

description: Inspect any audio/video URL with ffprobe: container, duration, bitrate, and per-stream codec details (sample rate/channels for audio, resolution/fps for video) as JSON. Body: {"url":"https://…/file.mp4"}.


title: Agent402.tools: POST /api/memory/cas

description: Atomically write (or release) a key only if its current value equals `expected` — the coordination primitive for distributed locks and optimistic concurrency across agents. Acquire a lock: expected=null + a value + ttlSeconds. Release it: expected=<your token> with no value (deletes on match). Update safely: expected=<old>, value=<new>. Returns whether it swapped and the current value.


title: Agent402.tools: POST /api/memory/forget

description: Delete a remembered document by id from the recall store.


title: Agent402.tools: POST /api/memory/grant

description: Share your namespace with another wallet so different agents can coordinate through it. Grant read or readwrite access to a grantee wallet, optionally with a TTL. This is the cross-agent sharing a single agent cannot provide for itself.


title: Agent402.tools: POST /api/memory/incr

description: Atomically increment (or decrement) a numeric key and return the new value — a coordination primitive for counters, locks, and rate budgets shared across agents. Creates the key at 0 if absent.


title: Agent402.tools: POST /api/memory/recall

description: Recall remembered text by similarity to a query (ranked by cosine similarity), not by exact key. Returns the top-k matches with scores. The retrieval half of the wallet-scoped semantic memory.


title: Agent402.tools: POST /api/memory/remember

description: Store a piece of text for later similarity recall — a per-wallet semantic index an agent cannot host in-session. Returns an id. Pair with /api/memory/recall to retrieve by meaning, not exact key.


title: Agent402.tools: POST /api/memory/revoke

description: Revoke a previously granted wallet's access to your namespace.


title: Agent402.tools: POST /api/mev-block-payment

description: Look up the MEV-Boost payment for a specific slot or block number via the Flashbots relay. Returns the builder, proposer, value paid in ETH, gas usage, and tx count. Returns found=false if the block was built locally or via a different MEV-Boost relay (Flashbots is one of several).


title: Agent402.tools: POST /api/mev-builder-share

description: Builder market share aggregated over the last N MEV-Boost blocks via the Flashbots relay. Returns per-builder block count, share percent, total ETH paid to proposers, and average per block. Use to track block-builder concentration or detect a new builder gaining share.


title: Agent402.tools: POST /api/mev-recent-blocks

description: Last N MEV-Boost-built blocks via the Flashbots relay. For each block: slot, block number/hash, builder pubkey, proposer pubkey, gas used/limit, ETH paid to the proposer, and tx count. Use to monitor block-builder market share, proposer revenue, or to correlate an arbitrage opportunity with the block it landed in.


title: Agent402.tools: POST /api/mod-arithmetic

description: Modular arithmetic operations: mod (a mod m), modpow (a^b mod m via fast exponentiation), and modinverse (a^-1 mod m via extended Euclidean algorithm). Uses BigInt for arbitrary precision. Useful for cryptography and number theory.


title: Agent402.tools: POST /api/moderate

description: Check text for harmful content using OpenAI moderation (omni-moderation-latest). Returns flagged status, category breakdown (harassment, hate, self-harm, sexual, violence, etc.), and confidence scores. No API key needed; pay per call via x402. Tex...


key: POST https://agent402.tools/api/morse

title: Agent402.tools: POST /api/morse

description: Encode text to Morse code or decode it back. mode: encode (default) or decode. Words separated by ' / '.

recordKey: POST https://agent402.tools/api/morse


title: Agent402.tools: POST /api/moving-average

description: Compute simple (SMA) and exponential (EMA) moving averages over a numeric series. Returns one value per input position — the first (window-1) SMA values are null since there isn't enough history. EMA uses the standard alpha = 2/(window+1) smoothin...


title: Agent402.tools: POST /api/multi-search

description: Run 2-5 web searches in one call with a 20% volume discount vs. individual searches. Each query returns ranked results (title, URL, snippet). Ideal for multi-faceted research or comparing sources on different aspects of a topic.


title: Agent402.tools: POST /api/my-usage

description: Your own purchase history, keyed to the wallet that pays for the call — no wallet parameter, no signup: the x402 payment IS the identity, so nobody can read another wallet's profile. Returns totals, per-tool counts, per-chain breakdown, and recent...


title: Agent402.tools: POST /api/nato-phonetic

description: Convert text to the NATO phonetic alphabet (Alpha, Bravo, Charlie...) or decode phonetic words back to text. Letters and digits supported. Word boundaries marked with " | ". Deterministic, pure CPU.


title: Agent402.tools: POST /api/nft-collection

description: Fetch NFT collection (ERC-721 / ERC-1155) metadata by contract address on Ethereum, Base, Polygon, Arbitrum, or Optimism: name, symbol, token type, total supply, deployer, OpenSea slug + image, floor (ETH), Twitter/Discord, and verification (safelist) status. Use to label a contract address with its collection identity before pulling tokens or sales.


title: Agent402.tools: POST /api/nft-floor

description: Get the current floor price for an NFT collection across OpenSea + LooksRare (Ethereum). Returns per-marketplace floor (ETH), collection URL, retrieval timestamp, and the cheapest cross-marketplace floor with the marketplace tag. Use to price a collection without scraping marketplace UIs, or to detect cross-venue arbitrage gaps.


title: Agent402.tools: POST /api/nft-holdings

description: Return the NFTs owned by a wallet address on a given network. Each row carries the collection name, contract address, token ID, image URL (where available), and ERC-721 vs ERC-1155 standard. Up to 100 per call — paginate with `pageKey` from the previous response.


title: Agent402.tools: POST /api/nft-metadata

description: Resolve the metadata for a single NFT: title, description, image URLs (original + cached CDN), attributes/traits, and the standard (ERC-721 vs ERC-1155). Useful when you have a contract+tokenId and need the display data without re-fetching the who...


title: Agent402.tools: POST /api/nft-sales

description: Recent sales for an NFT collection (or specific token) on any of 5 chains, ordered descending by block. Returns buyer, seller, marketplace (OpenSea/LooksRare/X2Y2/Blur), price (units + wei), protocol/royalty fees, tx hash, block, and quantity for each sale. Use to track volume, detect wash trades by repeat buyer/seller pairs, or chart a collection's price trajectory.


key: POST https://agent402.tools/api/npv

title: Agent402.tools: POST /api/npv

description: Compute the net present value of a stream of cashflows at a given discount rate. Index 0 is treated as t=0 (today, not discounted); indices 1..n are discounted by (1+rate)^t. Matches Excel's NPV but with the conventional t=0 treatment most finance...

recordKey: POST https://agent402.tools/api/npv


title: Agent402.tools: POST /api/number-format

description: Format a number: thousands separators, fixed decimals, optional currency, or compact (1.2K / 3.4M).


title: Agent402.tools: POST /api/onchain-sql

description: Run read-only SQL against Coinbase's indexed, DECODED blockchain data — base.events (decoded logs with parameters), base.transactions, base.blocks, base.decoded_user_operations, base.transaction_attributions (builder codes), plus solana.instructio...


title: Agent402.tools: POST /api/onramp-link

description: Generate a single-use Coinbase Onramp URL that lets a human fund any wallet with a card or Apple Pay — the fastest way to put real USDC into an agent's wallet. Returns the ready-to-open URL plus a fee-inclusive quote. Networks: base, ethereum, pol...


title: Agent402.tools: POST /api/openapi-diff

description: Compare two OpenAPI 3.x or Swagger 2.x documents and return a structured diff: added / removed / changed endpoints, with a conservative "is any change breaking?" flag. Breaking = an endpoint or required-2xx status was removed, a required parameter was added, an optional param became required, a param type changed, or a JSON body field became required. Pure CPU — deterministic, no network, no $ref dereferencing (resolve refs upstream if needed).


title: Agent402.tools: POST /api/openapi-extract

description: Flatten an OpenAPI 3.x or Swagger 2.x spec into a structured list of callable endpoints — one row per operation with method, path, operationId, summary, tags, parameters (name / in / required / type), JSON-body flag, and documented response codes. Includes per-method and per-tag counts so an agent can pick what to call next without parsing the full spec. Output is sorted by path then method for stable, agent-friendly grouping. Pure CPU — deterministic, no network, no $ref dereferencing.


title: Agent402.tools: POST /api/openapi-lint

description: Score an OpenAPI 3.x or Swagger 2.x spec on agent-readiness — i.e. does an LLM-driven caller have what it needs to call the API correctly without guessing. Returns a 0..100 score, severity counts, and a structured list of violations with stable ru...


title: Agent402.tools: POST /api/openapi-mock-response

description: Synthesize a JSON response body for one operation + status code in an OpenAPI 3.x or Swagger 2.x spec. Locate the operation by operationId or method+path. Pick the response by explicit `status`, else the first 2xx, else the first documented respon...


title: Agent402.tools: POST /api/openapi-redact

description: Shrink an OpenAPI 3.x or Swagger 2.x document for LLM context by stripping verbose meta-fields (examples, descriptions, summaries, tags, externalDocs, deprecated). Categories are explicit; default is `["examples", "descriptions"]`. User-defined pr...


title: Agent402.tools: POST /api/openapi-required-params

description: For one operation, return the minimum set of inputs an agent must provide to make a successful call. Locate the op by `operationId` (preferred) or by `method`+`path`. Output is a single flat array tagged by `in`: `path` (always required), `query` ...


title: Agent402.tools: POST /api/openapi-resolve-refs

description: Inline every local `$ref` in an OpenAPI 3.x or Swagger 2.x document so downstream tools see a self-contained spec. Resolves `#/components/...` (OpenAPI) and `#/definitions/...` (Swagger) JSON-pointer refs anywhere in the document, including inside...


title: Agent402.tools: POST /api/openapi-search

description: Search operations in an OpenAPI 3.x or Swagger 2.x spec against a free-text query. Tokenizes the query (lowercase, alphanumeric runs), scores each operation by which fields the tokens match — operationId +3, path +3, tags +2, summary +2, descripti...


title: Agent402.tools: POST /api/openapi-security-summary

description: Resolve authentication requirements across an OpenAPI 3.x or Swagger 2.x document. Returns the catalog of security schemes (`components.securitySchemes` in OpenAPI 3, `securityDefinitions` in Swagger 2) verbatim, the document-level default, and th...


title: Agent402.tools: POST /api/openapi-to-curl

description: 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, include required query and head...


title: Agent402.tools: POST /api/openapi-validate-payload

description: Validate a JSON payload against the request or response schema for one operation in an OpenAPI 3.x or Swagger 2.x spec. Locate the operation by operationId or method+path; choose `part: "request"` or `part: "response"` (status defaults to the firs...


title: Agent402.tools: POST /api/outliers

description: Flag outliers in a numeric series using either the IQR rule (Tukey fences at 1.5·IQR — robust, default) or z-score (|z| > threshold — assumes normality). Returns the outlier values + their indices + the thresholds used so you can decide whether to...


title: Agent402.tools: POST /api/password-strength

description: Score a password's strength: character-set size, entropy bits, a 0–4 rating, and an estimated offline crack time. The password is never stored or logged.


key: POST https://agent402.tools/api/pbkdf2

title: Agent402.tools: POST /api/pbkdf2

description: Derive a cryptographic key from a password using PBKDF2 (RFC 8018). Returns the hex-encoded derived key along with all parameters used, so you can store or verify them later. Supports sha1, sha256, sha384, sha512 digests.

bodyFieldNames: digest iterations keyLength password salt

recordKey: POST https://agent402.tools/api/pbkdf2


key: POST https://agent402.tools/api/pdf

title: Agent402.tools: POST /api/pdf

description: Fetch a PDF from a URL and extract its text content. Returns page count, document info, and the full text (up to 20MB PDFs).

recordKey: POST https://agent402.tools/api/pdf


title: Agent402.tools: POST /api/pdf-extract-pages

description: Pull a subset of pages into a new PDF (split). Body: {"url":"https://…/file.pdf","pages":"1-3,5"}. Returns the new PDF as base64.


title: Agent402.tools: POST /api/pdf-info

description: Inspect a PDF without downloading the whole thing into your model: page count, title, author, subject, creator, producer, creation/modification dates, encryption flag, and byte size. Body: {"url":"https://…/file.pdf"}.


title: Agent402.tools: POST /api/pdf-merge

description: Combine several PDFs into one, in order. Body: {"urls":["https://…/a.pdf","https://…/b.pdf"]}. Returns the merged PDF as base64 plus page count and size.


title: Agent402.tools: POST /api/pdf-rotate

description: Rotate pages by 90/180/270°. Body: {"url":"https://…/file.pdf","degrees":90,"pages":"1-3"?}. Omit "pages" to rotate all. Returns the new PDF as base64.


title: Agent402.tools: POST /api/pdf-to-markdown

description: 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"}.


title: Agent402.tools: POST /api/percentage

description: Percentage helper. op: "of" (a% of b), "change" (% change a→b), "ratio" (a is what % of b).


title: Agent402.tools: POST /api/phone-format

description: Parse and format phone numbers into E.164 and national formats. Supports US (+1), UK (+44), DE (+49), FR (+33), AU (+61), IN (+91). Pure regex — no libphonenumber dependency.


title: Agent402.tools: POST /api/polymarket-market

description: Get full detail for a single Polymarket market by slug or id. Returns question, description, outcome prices (implied probabilities), volume, liquidity, end date, resolution status, and CLOB token ids needed for orderbook + history lookups.


title: Agent402.tools: POST /api/polymarket-orderbook

description: Live CLOB orderbook for a Polymarket outcome token. Returns top N bids (highest first), top N asks (lowest first), best bid/ask, mid-price, and spread. Use a clobTokenId from polymarket-market or polymarket-search.


title: Agent402.tools: POST /api/polymarket-price-history

description: Historical odds (implied probabilities) for a Polymarket outcome token. Returns timestamped price samples with first/last/min/max summary. Useful for: tracking probability shifts around events, computing realized volatility, backtesting prediction strategies.


title: Agent402.tools: POST /api/polymarket-search

description: Search active Polymarket markets by keyword. Returns the top matches sorted by 24h volume, with question, current outcome prices (implied probabilities), volume, liquidity, end date, and CLOB token ids for orderbook lookups.


title: Agent402.tools: POST /api/price-coingecko

description: Live spot price (and optional 24-hour change) for one or more coins from CoinGecko's public Simple Price endpoint. Identify coins by their CoinGecko ID slug (bitcoin, ethereum, solana, usd-coin, …). Defaults to USD; pass a `vsCurrency` to denomina...


title: Agent402.tools: POST /api/price-pyth

description: Latest aggregated price for one or more Pyth feeds, sourced live from Pyth's Hermes service. Identify feeds by hex feed-id (preferred — full precision) or by a small set of well-known aliases (BTCUSD, ETHUSD, SOLUSD, USDC, USDT). Each feed returns...


title: Agent402.tools: POST /api/prime-factorize

description: Find the prime factorization of an integer via trial division. Returns the list of prime factors (with repeats), a human-readable factorization string, whether the number is prime, and the count of distinct prime factors. Limit: numbers up to 10^15.


title: Agent402.tools: POST /api/punycode-convert

description: Convert an internationalized domain name to Punycode (ASCII-compatible encoding, RFC 3492) or decode Punycode back to Unicode. Uses Node.js built-in IDNA support. Deterministic, pure CPU.


title: Agent402.tools: POST /api/querystring

description: Parse a URL query string into an object, or build one from an object. mode: parse (default) | build.


title: Agent402.tools: POST /api/readability

description: Flesch Reading Ease score and Flesch–Kincaid grade level for English text, plus word/sentence/syllable counts.


title: Agent402.tools: POST /api/readability-score

description: Compute Flesch-Kincaid Grade Level, Flesch Reading Ease, Gunning Fog Index, and Automated Readability Index from text. Returns all 4 scores plus word, sentence, and syllable counts.


key: POST https://agent402.tools/api/redact

title: Agent402.tools: POST /api/redact

description: Mask emails, phone numbers, credit-card-like numbers, IPs, and SSNs in text. Returns the redacted text and counts by type.

recordKey: POST https://agent402.tools/api/redact


key: POST https://agent402.tools/api/regex

title: Agent402.tools: POST /api/regex

description: Run a regular expression against text. Returns up to 100 matches with index and capture groups. Pattern ≤ 200 chars, text ≤ 10KB.

recordKey: POST https://agent402.tools/api/regex


title: Agent402.tools: POST /api/relative-time

description: Format a timestamp as a human relative phrase ("3 hours ago", "in 2 days") versus now or a reference time.


key: POST https://agent402.tools/api/render

title: Agent402.tools: POST /api/render

description: Render a page in a real headless Chromium browser (JavaScript executed), then extract the main content as clean markdown. Use this for SPAs and JS-heavy sites where plain fetching returns an empty shell.

recordKey: POST https://agent402.tools/api/render


title: Agent402.tools: POST /api/robots-check

description: Fetch a site's robots.txt and answer: may this user-agent crawl this path? Returns the matched rule and all declared sitemaps.


key: POST https://agent402.tools/api/roman

title: Agent402.tools: POST /api/roman

description: Convert an integer (1-3999) to Roman numerals, or a Roman numeral back to an integer. Auto-detects direction.

recordKey: POST https://agent402.tools/api/roman


key: POST https://agent402.tools/api/rot13

title: Agent402.tools: POST /api/rot13

description: Caesar-cipher a string. Default shift 13 (ROT13, self-inverse). Set shift for any rotation 1-25.

recordKey: POST https://agent402.tools/api/rot13


title: Agent402.tools: POST /api/route/execute

description: Describe a task (or name a slug) and the Smart Order Router resolves the best-matching tool and RUNS it in the same call — one flat $0.01 price covering any tool listed at $0.005 or less, receipt included. Skips the find-then-call round trip: one ...


title: Agent402.tools: POST /api/scrypt-derive

description: Derive a cryptographic key from a password using scrypt (RFC 7914). Memory-hard by design, making it more resistant to GPU/ASIC brute-force than PBKDF2. Returns the hex-encoded derived key and all tuning parameters (N, r, p).

bodyFieldNames: blockSize cost keyLength parallelization password salt