{"uid":"cap_CK3B8k0RM5NurrRZ6OqBC","slug":"public-spending-anomaly-review-09e8c7ae","name":"Public Spending Anomaly Review","description":"Review up to 80 public or synthetic spending records for duplicate IDs, inconsistent budgets, budget overruns and declared payee concentration. Duplicate-ID rows are excluded from totals. Flags are review leads, not fraud or legality findings. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","url":"https://www.mahastrategies.com/api/v1/verify/public-finance/spending-review?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"records":{"type":"array","maxItems":80,"minItems":1},"currency":{"enum":["USD"],"type":"string"},"dataClass":{"enum":["public","synthetic"],"type":"string"},"sourceSetDigest":{"type":"string","maxLength":71},"concentrationThresholdBps":{"type":"integer","maximum":10000,"minimum":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.180001","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.180001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.180001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.180001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a3Aj8vUbtzXv2cfr80Rgv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.180001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes up to 80 public or synthetic spending records to flag duplicate IDs, inconsistent budgets, budget overruns, and payee concentration issues","exampleAgentPrompt":"Can you review these 60 public spending records in USD and flag any duplicate IDs, budget overruns, or payee concentration above 2500 basis points? Let me know which rows to look at more closely.","exampleUseCases":[{"title":"Municipal procurement anomaly screening","prompt":"I have 75 public spending records from our city procurement system in USD — can you check them for duplicate transaction IDs, budget inconsistencies, and whether any single payee is capturing more than 3000 basis points of the total?"},{"title":"Synthetic data quality validation before research","prompt":"Before I publish this synthetic government spending dataset, can you run it through an anomaly review for duplicate IDs, overruns, and payee concentration using a 5000 basis point concentration threshold? The data class is synthetic and currency is USD."},{"title":"Budget overrun detection for oversight report","prompt":"I need to prepare an oversight report — can you scan these 40 public spending records in USD for any budget overruns or inconsistent budget declarations, and flag rows that look like they need a second look?"}],"resultDescription":"Returns a structured review of the submitted spending records including: rows flagged for duplicate IDs (excluded from totals), records with inconsistent or contradictory budget figures, transactions exceeding declared budgets, payee concentration analysis against the supplied threshold in basis points, and an overall anomaly summary. Results are retained for 24 hours and receipt metadata for 90 days.","failureModes":["More than 80 records submitted — request rejected with validation error","Records array is empty — minimum 1 record required","Invalid currency value (only USD supported)","Invalid dataClass value (must be 'public' or 'synthetic')","concentrationThresholdBps outside 1–10000 range — rejected","Malformed or oversized sourceSetDigest string","Missing required fields in individual spending records — partial flags or parse errors","Payment not confirmed — x402 payment required before processing"],"whenToPreferThis":"Use this endpoint when you need a lightweight, structured anomaly-screening pass over a batch of up to 80 public or synthetic spending records and want specific, enumerated flag types: duplicate IDs, budget overruns, budget inconsistencies, and payee concentration. It is well-suited for pre-audit triage, research dataset validation, and oversight reporting workflows where you want machine-readable review leads rather than a full forensic audit. It is not a legal or fraud determination tool.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:53:55.540Z","isFirstParty":false,"canonicalSlug":"public-spending-anomaly-review-09e8c7ae"}