{"uid":"cap_M8-7J7UGvELC16ZSmd405","slug":"speraxos-defi-event-classifier-ed37fd6f","name":"SperaxOS DeFi Event 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/hq/classify-event?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"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_HXfSKo8ToEjNujICqZ-7w","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 on-chain DeFi events using AI to identify event types, patterns, and significance for a given blockchain transaction or log entry","exampleAgentPrompt":"Can you classify this DeFi event for me — I have a blockchain log entry from a Base network transaction and I need to know whether it's a swap, liquidity deposit, liquidation, or something else?","exampleUseCases":[{"title":"Portfolio DeFi activity labeling","prompt":"I'm building a DeFi portfolio tracker and I need to classify this on-chain event from a Base transaction — can you tell me what type of DeFi action it represents, like whether it's a swap, stake, or withdrawal?"},{"title":"DeFi protocol analytics pipeline","prompt":"I'm analyzing protocol activity and need to categorize a batch of on-chain events — can you classify this event log to tell me if it's a liquidation, yield harvest, or something else?"},{"title":"Smart contract audit event tagging","prompt":"I'm auditing smart contract interactions and I need to understand what happened in this event — can you classify it and tell me what DeFi operation category it falls under?"}],"resultDescription":"Returns an AI-generated classification of the provided DeFi event, including the event type label (e.g. swap, liquidation, deposit, withdrawal, harvest), relevant category metadata, and confidence or reasoning about the classification decision.","failureModes":["Missing or malformed event data returns a 400 error","Insufficient USDC payment via x402 returns a 402 Payment Required response","Unrecognized or non-DeFi event data may return a low-confidence or unknown classification","Network or AI model timeout results in a 503 error","Invalid x402 payment header structure causes payment rejection"],"whenToPreferThis":"Choose this endpoint when you need AI-powered semantic classification of DeFi events rather than rule-based or heuristic tagging. Ideal for agents processing raw blockchain logs that need human-readable event categorization without maintaining complex ABI mappings. Prefer this over generic blockchain explorers when you need an intelligent label (not just decoded parameters) and when pay-per-call pricing with no API key setup is preferable to subscription APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:10.223Z","isFirstParty":false,"canonicalSlug":"speraxos-defi-event-classifier-ed37fd6f"}