{"uid":"cap_y9JAUMORahN54j7RUCQi9","slug":"blockchain-money-map-agent-spend-category-classifier-f51e8132","name":"Blockchain Money Map Agent Spend Category Classifier","description":"Choose Blockchain Money Map for human-readable public blockchain reports or x402-paid agent API services.","url":"https://api.blockchainmoneymap.com/api/x402/x402-bmm-agent-spend-category-classifier","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["classify"]},"facts":{"type":"object","required":["seller_label","tool_id","description","amount","currency","network"],"properties":{"amount":{"type":"number"},"network":{"type":"string","maxLength":500},"tool_id":{"type":"string","maxLength":500},"currency":{"type":"string","maxLength":500},"protocol":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":500},"receipt_type":{"type":"string","maxLength":500},"seller_label":{"type":"string","maxLength":500},"marketplace_label":{"type":"string","maxLength":500}},"additionalProperties":false},"policy":{"type":"object","additionalProperties":true},"reference_facts":{"type":"object","required":["seller_label","tool_id","description","amount","currency","network"],"properties":{"amount":{"type":"number"},"network":{"type":"string","maxLength":500},"tool_id":{"type":"string","maxLength":500},"currency":{"type":"string","maxLength":500},"protocol":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":500},"receipt_type":{"type":"string","maxLength":500},"seller_label":{"type":"string","maxLength":500},"marketplace_label":{"type":"string","maxLength":500}},"additionalProperties":false}}},"responseSchema":{"type":"json"},"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_htFJZETevtCp5RVuDd4Ox","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":"Classifies an on-chain agent payment transaction into a spending category given seller, tool, amount, and network facts","exampleAgentPrompt":"Classify this agent payment for me: it was $0.05 USDC on Base network, paid to seller 'WeatherAPI Pro' for tool 'weather-forecast-v2' described as 'real-time weather data lookup' — what spending category does this fall into?","exampleUseCases":[{"title":"Categorize agent API spend for accounting","prompt":"I need to classify a $0.01 USDC payment my agent made on Base to seller 'BlockchainMoneyMap' for tool 'x402-bmm-tx-lookup' described as 'blockchain transaction status lookup' — what expense category should I log this under?"},{"title":"Audit agentic tool purchases by category","prompt":"My agent spent 0.10 USDC on Ethereum to a seller called 'ImageGenCo' for tool 'stable-diffusion-api' described as 'AI image generation' — classify this spend so I can bucket it in my monthly agent cost report."},{"title":"Policy enforcement based on spend category","prompt":"Before my agent approves this payment — $0.05 USDC on Base to seller 'DataBrokerX' for tool 'lead-enrichment-v1' described as 'B2B contact enrichment' — classify what category it falls into so I can check it against my allowed-spend policy."}],"resultDescription":"Returns a JSON object containing the inferred spending category label for the described on-chain agent payment, along with any supporting classification metadata such as confidence score or subcategory.","failureModes":["Missing required fields (seller_label, tool_id, description, amount, currency, or network) returns a validation error","Ambiguous or generic description may yield a low-confidence or fallback category","Payment on an unsupported or unrecognized network may reduce classification accuracy","Malformed input schema causes a 400-level error","x402 payment not included or invalid results in 402 Payment Required response before classification occurs"],"whenToPreferThis":"Use this endpoint when an AI agent needs to automatically categorize its own on-chain payments for expense tracking, policy enforcement, or audit trails — especially within x402 micropayment ecosystems on EVM-compatible networks. Prefer this over manual classification when you have structured transaction facts (seller, tool, amount, currency, network) and need a deterministic, low-cost label at $0.01 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:59:48.783Z","isFirstParty":false}