{"uid":"cap_KZjqOrcLxrNfW-JDvCGC5","slug":"speraxos-batch-text-classifier-83580d6e","name":"SperaxOS Batch Text Classifier","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/classify-batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["llama-3.1-8b-instant","llama-3.3-70b-versatile","llama3-8b-8192","llama3-70b-8192","mixtral-8x7b-32768","gemma2-9b-it"],"type":"string","default":"llama-3.1-8b-instant"},"texts":{"type":"array","items":{"type":"string"},"maxItems":50,"minItems":1},"categories":{"type":"array","items":{"type":"string"},"default":["conflict","cyber","economic","energy","environment","geopolitical","military","political","social","technology"],"maxItems":20}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gwq_tSrMlFfqi_YIVJkzf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies an array of text items into predefined risk/intelligence categories (conflict, cyber, economic, etc.) using a selectable LLM, payable per-call with USDC via x402","exampleAgentPrompt":"Classify these 5 news snippets into categories like conflict, cyber, economic, military, and geopolitical using the llama-3.3-70b-versatile model: [snippet1, snippet2, snippet3, snippet4, snippet5]. Pay the $0.02 USDC fee per the x402 protocol.","exampleUseCases":[{"title":"Geopolitical risk tagging for news feed","prompt":"I have 20 news headlines I need tagged as conflict, military, political, or geopolitical — can you classify all of them in one shot using the llama-3.3-70b-versatile model?"},{"title":"Crypto market intelligence categorization","prompt":"Take these 15 DeFi-related articles and classify each one into categories like economic, technology, or cyber so I can route them to the right analyst team."},{"title":"Social media threat monitoring","prompt":"I've got 30 social media posts I want classified into cyber, social, or energy threat categories using the mixtral-8x7b-32768 model — can you run the batch classification?"}],"resultDescription":"Returns classification results for each input text item, mapping each string to one or more of the specified categories (e.g. conflict, cyber, economic, energy, environment, geopolitical, military, political, social, technology) as determined by the selected LLM.","failureModes":["Payment not included or insufficient USDC: 402 Payment Required response","texts array empty or exceeds 50 items: validation error","Invalid model enum value: schema validation failure","Categories array exceeds 20 items: rejected","Network or LLM inference timeout for large batches","USDC balance insufficient on Base network"],"whenToPreferThis":"Choose this endpoint when you need to classify multiple texts (up to 50) in a single API call without managing an API key, prefer paying per-use with USDC on Base, and need DeFi/geopolitical intelligence-focused categorization with a choice of Groq-hosted open-source LLMs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:55:46.365Z","isFirstParty":false,"canonicalSlug":"speraxos-batch-text-classifier-83580d6e"}