> WHAT_IS_TEXT_MERCHANT
Text Merchant is a stateless LLM micro-services API designed for AI agents.
Pay-per-use access to powerful text processing capabilities via cryptocurrency payments.
Key Features:
- 10+ AI-powered text processing endpoints
- Cryptocurrency payments via x402 protocol
- Stateless architecture - no user accounts required
- Multi-chain support (Base, SKALE)
- Built-in security and content filtering
- Optional telemetry via Langfuse
> API_ENDPOINTS
AI Processing Endpoints (Require x402 Payment)
-
POST
/api/summarize
Summarize text with style options (bullet/paragraph/concise)
-
POST
/api/sentiment
Analyze sentiment and emotion with confidence scores
-
POST
/api/entities
Extract named entities (PERSON, ORG, GPE, PRODUCT, EVENT, DATE)
-
POST
/api/keywords
Extract keywords and key phrases with topic identification
-
POST
/api/classify
Classify text into categories (custom categories supported)
-
POST
/api/qa
Question answering based on provided context
-
POST
/api/topics
Identify main topics and themes in text
-
POST
/api/generate
Generate text with customizable options (temperature, format)
-
POST
/api/paraphrase
Paraphrase text with 9 style options and tone variations
-
POST
/api/intent
Detect user intent from text (custom intents supported)
Payment Endpoints (No Auth Required)
-
GET
/payment/supported
List all supported chains and tokens
-
GET
/payment/quote/:chain
Get payment quote for specific chain
-
GET
/payment/health
Payment service health check
Utility Endpoints
-
GET
/healthz
Service health check
-
GET
/supported
List all available endpoints
> CHAIN_AND_TOKEN_SUPPORT
BASE_MAINNET
Chain ID: 8453
SKALE_BASE_CHAIN
Chain ID: 1187947933
Tokens:
- USDC (6 decimals)
- USDT (6 decimals)
- WETH (6 decimals)
- WBTC (8 decimals)
SKALE Base Chain supports EIP-3009 token forwarding for gasless transactions.