API GATEWAY ENDPOINTS
// AVAILABLE ROUTE SPECIFICATIONS
| ROUTE | SPECIFICATION & PARAMETERS | COST |
|---|---|---|
POST
/api/v1/stealth-dom
|
Stealth DOM
Edge web page fetcher. Converts HTML to clean Markdown via Turndown or returns raw body. PARAMS: url (string, required), format ("markdown" | "text" | "raw"), userAgent (string), timeout (ms)
|
$0.004 USDC |
POST
/api/v1/airgap-scrub
|
Airgap Scrub
Stateless pre-LLM privacy filter. Redacts PII/PCI (SSNs, Credit Cards, Phones, Addresses, Emails, ZIPs) before sending text to external LLMs or logging services. Zero data retention. PARAMS: text (string, required), strictMode (boolean)
|
$0.004 USDC |
POST
/api/v1/rag-shrink
|
RAG Shrink
HTML semantic denoising. Extracts titles, headings, paragraphs, list items ( PARAMS: html (string, required), keepLinks (boolean)
|
$0.0025 USDC |
POST
/api/v1/code-denoise
|
Code Denoise
Strips comments, JSDocs, and whitespace from code files while preserving string & color literals. PARAMS: code (string, required), language (string)
|
$0.004 USDC |
POST
/api/v1/domain-check
|
Domain Check
Direct RDAP WHOIS registry lookup for .com, .net, .org, and global TLDs from the Cloudflare edge. PARAMS: domain (string, required)
|
$0.008 USDC |
POST
/api/v1/dex-price-summary
|
DEX Price Summary
Real-time DEX token price, 24h volume, liquidity, and top pair stats across chains via DexScreener. PARAMS: query (string, required)
|
$0.0015 USDC |
POST
/api/v1/x-sentiment
|
X Sentiment
Social & market sentiment scoring (Bullish/Bearish/Neutral score with key signal breakdown). PARAMS: topic (string, required)
|
$0.0045 USDC |
POST
/api/v1/image-ocr-shrink
|
Image OCR Shrink
Vision OCR text and table markdown extractor from image URLs using Workers AI Vision Llama 3.2. PARAMS: imageUrl (string, required)
|
$0.008 USDC |
POST
/api/v1/embed-text
|
Embed Text
Generates 768-dimensional dense vector embeddings for RAG & semantic search via BAAI BGE-Base. PARAMS: text (string | string[], required)
|
$0.004 USDC |
POST
/api/v1/embed-multilingual
|
Embed Multilingual
Generates 1024-dimensional dense vector embeddings for multilingual & long text via BAAI BGE-Large. PARAMS: text (string | string[], required)
|
$0.005 USDC |
POST
/api/v1/summarize
|
Text Summarize
Executive TL;DR text summarizer producing structured bullet points via Workers AI Llama 3.1. PARAMS: text (string, required), format ("bullets" | "paragraph" | "executive"), maxLength (number)
|
$0.007 USDC |
// HTTP 402 PROTOCOL SPEC
All routes are protected by the x402 protocol. Initial calls without a payment header return HTTP 402 with contract parameters.
// DISCOVERY & HEALTH
Machine-readable OpenAPI/JSON discovery schemas for autonomous AI agents.