UtilsForAgents API

active

High-speed utility microservices for AI agents — JSON diff, image EXIF/scrub, HTML-to-Markdown, text extraction, URL metadata, token counting, plus a free feedback endpoint. Paid utility routes use the x402 payment protocol (HTTP 402 + USDC on Base or Solana); POST /v1/feedback is free and unauthenticated.

AIBaseSolanax402 v2exactutilsforagents.com ↗︎

Settled via Coinbase.

Transactions · 30d
3
Volume · 30d
$0.009
Unique buyers · 30d
3
Uptime · 30d
100.0%
Latency p50
210ms
Reported calls · 30d
1

Endpoints (8 live)

  • POST /v1/url/metadata — Fetch a URL and extract structured metadata from its HTML: title, description, canonical URL, language, favicon URL, RSS/Atom feed links, Open Graph tags (og:title, og:image, og:type, og:description, og:url), Twitter Card tags, and other meta tags (author, keywords, robots). Use this to get Open Graph data, preview cards, or site information without parsing HTML yourself. Send {"url": "https://..."}. Remote fetch timeout: 5s, max download size: 2 MB. (0.003 USDC on Base)
  • POST /v1/html/to-markdown — Converts HTML content into clean Markdown text for easy reuse and processing. (0.003 USDC on Base)
  • POST /v1/html/fetch-markdown — Fetches a webpage and returns its content as Markdown. (0.003 USDC on Base)
  • POST /v1/utilities/count-tokens — Count the number of tokens in a text string using the specified tokenizer encoding. Supports cl100k_base (GPT-4/GPT-3.5, exact BPE), o200k_base (GPT-4o, exact BPE), claude (Claude models, estimated), and gemini (Gemini models, estimated). Use before sending text to an LLM to estimate cost, check context window fit, or enforce token budgets. For base64-encoded images, set content_type='image' for tile-based token estimation. Send {"text": "...", "encoding": "cl100k_base"}. Max 50 MB text. (0.003 USDC on Base)
  • POST /v1/image/exif-summary — Extract EXIF metadata from a JPEG image. Returns structured fields including camera make/model, GPS coordinates, timestamp, aperture, shutter speed, ISO, and more. Useful for reading location data from photos, auditing camera settings, or checking what metadata is embedded in an image. Send the image as a raw binary body (Content-Type: image/jpeg) or multipart/form-data with field name 'file'. Max 5 MB. (0.003 USDC on Base)
  • POST /v1/diff — Compare two JSON objects or arrays and get a structured list of differences. Returns RFC 6902-style patch operations (add, remove, replace) with JSON Pointer paths (RFC 6901). Useful for change detection, audit logging, config comparison, and finding what changed between two API responses. Send {"left": <original>, "right": <modified>}. Optional: includeUnchanged (bool) includes unchanged paths; maxDepth (int 1–256, default 64) limits traversal depth. (0.003 USDC on Base)
  • POST /v1/text/fetch-content — Fetch a URL and return its text content. Auto-detects the format: HTML is converted to Markdown, JSON is returned as formatted text, and Markdown or plain text is returned as-is. Use when you need to read any URL without knowing its content type in advance. Send {"url": "https://..."}. Remote fetch timeout: 5s, max download size: 2 MB. (0.003 USDC on Solana)
  • POST /v1/image/scrub-metadata — Remove all embedded metadata (EXIF, XMP, IPTC) from a JPEG or PNG image and return the cleaned image binary. Use this to strip GPS coordinates, camera info, author data, and other privacy-sensitive metadata before sharing or publishing images. Send raw binary body (Content-Type: image/jpeg or image/png) or multipart/form-data with field 'file'. Max 5 MB. Returns cleaned binary image with Content-Type matching the original format. (0.003 USDC on Base)

First seen · last seen · last active