{"uid":"cap_kvE6z_27ad6Gh87Vdx7-X","slug":"hydratrader-cheap-errand-text-nlp-tasks-c05baf1f","name":"HydraTrader Cheap Errand – Text NLP Tasks","description":"Summarize, classify, extract keywords, rewrite, sentiment, or translate buyer-supplied text. When to use: cheap agent glue / probe steps. Returns JSON. Pay-per-call USDC on Base via x402 — no API key. Local-fast NLP; no login scrape.","url":"https://x402.hydratrader.ai/v1/cheap-errand","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"task":{"enum":["summarize","rewrite","classify","extract_keywords","sentiment","translate"],"type":"string"},"input":{"type":"string","maxLength":8000},"options":{"type":"object"},"client_ref":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"task":"summarize","usage":{"latency_ms":420,"price_usdc":"0.01"},"result":{"meta":{"chars_in":58,"model_hint":"fast"},"text":"x402 is an HTTP 402 micropayment protocol so agents can pay USDC for API calls.","label":null,"keywords":null,"sentiment":null},"endpoint":"cheap-errand","client_ref":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D016Y7qyVUREFScUm0Uqw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs one of six NLP tasks (summarize, rewrite, classify, extract keywords, sentiment, or translate) on buyer-supplied text for $0.01 USDC per call via x402 micropayment.","exampleAgentPrompt":"Summarize this product description for me — it's under 8000 characters: 'The HydraTrader platform leverages x402 micropayments so AI agents can call APIs with USDC on Base without signing up for an account.'","exampleUseCases":[{"title":"Sentiment analysis of buyer reviews","prompt":"Analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral: 'The product arrived on time but the packaging was completely crushed and one item was broken.'"},{"title":"Keyword extraction from product listings","prompt":"Extract the main keywords from this product listing text so I can tag it properly: 'Ultra-lightweight carbon fiber hiking boots with waterproof membrane, ankle support, and Vibram outsole, suitable for alpine terrain.'"},{"title":"Translate user-submitted support message","prompt":"Translate this support message to English: 'Bonjour, je n'arrive pas à accéder à mon compte depuis hier soir, pouvez-vous m'aider?'"}],"resultDescription":"Returns a JSON object with ok:true, the task name, usage stats (latency_ms, price_usdc), and a result object containing text (for summarize/rewrite/translate), label (for classify), keywords (for extract_keywords), and sentiment (for sentiment analysis), plus the client_ref if provided.","failureModes":["Payment not included or invalid — 402 response returned","input text exceeds 8000 character limit — validation error","unsupported task enum value — schema validation error","upstream LLM timeout — latency spike or error response","malformed JSON body — 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a cheap, no-login, pay-per-use NLP operation on a single piece of text and want to pay $0.01 USDC on Base via x402. It is ideal for agents that need occasional text processing without API key management or subscriptions, and when the task fits one of the six supported operations (summarize, rewrite, classify, extract_keywords, sentiment, translate).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:52.538Z","isFirstParty":false}