x402-tools

active

Pay-per-call utility APIs for AI agents, settled in USDC via the x402 protocol.

AIBaseSolanax402 v2exactnichospt.net ↗︎
Transactions · 30d
0
Volume · 30d
$0.00
Unique buyers · 30d
0
Uptime · 30d
100.0%
Latency p50
134ms

Endpoints (26 live)

  • POST /count-tokens — Count the number of tokens a string uses for an LLM, using the same BPE encodings the major models use (o200k_base for GPT-4o/o1, cl100k_base for GPT-4/3.5 and embeddings). Optionally pass a USD price per million tokens to get an estimated cost. Lets an agent budget context and spend before a call. (0.01 USDC on Solana)
  • POST /screenshot — Capture a screenshot of any public web page. Loads the URL in headless Chromium with a configurable viewport, then returns the image as PNG or JPEG (binary). Supports full-page capture and JPEG quality control. Private/loopback hosts are rejected. (0.02 USDC on Base)
  • POST /slugify — Convert arbitrary text into a clean, URL-safe slug. Transliterates accented and non-Latin characters, lowercases by default, and collapses to a configurable separator; strict mode drops anything outside [a-z0-9]. Deterministic. (0.01 USDC on Solana)
  • POST /regex-from-examples — Generate a regular expression from example strings. Provide strings the pattern must match (and optionally strings it must NOT match); returns the pattern, flags, a plain-English explanation, and validation confirming it matches/rejects your examples. Supports js, pcre, and python flavors. (0.005 USDC on Base)
  • POST /render — Convert a complete HTML document into a print-ready PDF. POST raw HTML with inline CSS (up to 2MB); returns application/pdf with configurable page format (A4/Letter), orientation, and margins. Ideal for agent-generated invoices, reports, and receipts. (0.005 USDC on Solana)
  • POST /hash — Compute a cryptographic digest of a string: sha256, sha1, sha512, or md5, encoded as hex or base64. Provide an hmac_key to get a keyed HMAC instead of a plain hash. Deterministic — the same input always yields the same digest. (0.01 USDC on Base)
  • POST /cron-describe — Explain a cron expression in plain English and compute its next fire times. POST a 5- or 6-field cron string (optionally an IANA timezone); returns a human-readable description and the next N upcoming run timestamps. The inverse of /text-to-cron. (0.01 USDC on Base)
  • POST /render-url — Render any public web page to PDF by URL. Loads the page in headless Chromium (waits for network idle), then returns application/pdf with configurable format, orientation, margins, and viewport. Private/loopback hosts are rejected. Good for snapshotting or archiving live pages. (0.005 USDC on Solana)
  • POST /text-to-cron — Turn a natural-language schedule like 'every weekday at 9:30am' into a standard 5-field cron expression. Returns the cron string, a human-readable summary, and the next 5 fire times computed in your IANA timezone. (0.01 USDC on Solana)
  • POST /timezone-math — Convert a date/time between IANA timezones. Accepts natural language ('3pm PT next Thursday in IST') or structured input (datetime + from + to). Returns the converted ISO timestamp, a human-readable result, and the offset difference in hours. (0.01 USDC on Solana)
  • POST /json-validate — Validate a JSON value against a JSON Schema and get back structured errors. Returns whether the data is valid plus, on failure, each error's instance path, failing keyword, and message. Useful for agents checking their own tool output or a payload before sending it. (0.01 USDC on Solana)
  • POST /fake-data — Generate realistic, locale-aware mock data from a simple schema. Define fields as Faker paths (e.g. 'person.fullName', 'internet.email', 'location.city'); returns up to 100 rows across 14 locales, with an optional seed for reproducible output. Useful for seeding databases, fixtures, and demos. (0.005 USDC on Solana)
  • POST /convert-data — Convert a document between JSON, YAML, TOML, and CSV. POST the source string with its current format and the target format; returns the converted document as a string. TOML output requires a top-level object and CSV requires an array of rows. (0.01 USDC on Solana)
  • POST /dns-lookup — Query live DNS records for a domain: A, AAAA, MX, TXT, NS, CNAME, or SOA. Returns the records as JSON with a found flag (empty array when the name or record type does not exist). Useful for domain checks, SPF/DKIM inspection, and infrastructure debugging. (0.01 USDC on Base)
  • POST /email-validate — Validate an email address without sending mail: RFC-style syntax check, domain extraction, live MX record lookup, disposable-inbox detection, and free-provider flag. Returns a deliverable_hint combining all signals. No emails are ever sent. (0.01 USDC on Base)
  • POST /qr-code — Encode text or a URL into a QR code. Returns SVG markup (format=svg) or a base64 PNG data URL (format=dataurl), with configurable quiet-zone margin and error-correction level (L/M/Q/H). Deterministic for a given input. (0.01 USDC on Base)
  • POST /uuid — Generate one or more UUIDs. v4 is fully random; v7 is time-ordered (millisecond timestamp prefix) and sorts chronologically — better as a database key. Returns up to 100 UUIDs per call. (0.01 USDC on Solana)
  • POST /http-check — Probe a public URL from our server and report HTTP status, latency, the full redirect chain, final URL, response headers, content type, and content length. Useful for uptime checks, link validation, and inspecting redirects without fetching the body. (0.01 USDC on Base)
  • POST /color-palette — Generate a deterministic color palette. Pass a base hex with a harmony mode (complementary, analogous, triadic, tetradic, split-complementary, monochromatic) or a seed string that hashes to a stable palette — same input always yields the same colors. Returns 2–10 swatches as hex, RGB, and HSL. (0.01 USDC on Base)
  • POST /jwt-decode — Decode a JSON Web Token into its header and payload without verifying the signature. Returns the decoded header and claims, the raw signature segment, and whether the token is expired (from the exp claim). Signature verification is NOT performed — never trust the payload as authenticated. (0.01 USDC on Base)

+6 more endpoints.

First seen · last seen