{"uid":"cap_Ma499xw0r4Whn1SVy2kI2","slug":"brainiac-suspicious-order-detection-4bc41f2b","name":"BRAINIAC Suspicious Order Detection","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/ecommerce-fraud/suspicious-order-detect?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"file":{"type":"object","required":["mediaType","fileBase64"],"properties":{"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"rules":{"type":"object","properties":{"orders":{"type":"integer","maximum":50,"minimum":3},"quantity":{"type":"integer","maximum":1000000,"minimum":1},"smallAmount":{"type":"number","maximum":1000000,"minimum":0}},"additionalProperties":false},"orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":1},"ip":{"type":"string","maxLength":80},"card":{"type":"string","maxLength":40},"promo":{"type":"string","maxLength":40},"amount":{"type":"number","maximum":1000000000,"minimum":0},"status":{"type":"string","maxLength":40},"address":{"type":"string","maxLength":200},"country":{"type":"string","maxLength":40},"created":{"type":"string","maxLength":40},"currency":{"type":"string","maxLength":12},"customer":{"type":"string","maxLength":160},"quantity":{"type":"integer","maximum":1000000,"minimum":0},"billCountry":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":200},"window":{"type":"integer","maximum":10080,"minimum":1}}},"responseSchema":{"type":"json","example":{"level":"review","fences":[{"lower":16,"upper":26,"sample":8,"applied":true,"currency":"USD"}],"orders":[{"id":"O-4","level":"review","signals":"amount_outlier,amount_vs_history,address_changed","customer":"C-1","signalCount":3},{"id":"O-1","level":"none","signals":"","customer":"C-1","signalCount":0},{"id":"O-2","level":"none","signals":"","customer":"C-1","signalCount":0},{"id":"O-3","level":"none","signals":"","customer":"C-1","signalCount":0},{"id":"O-5","level":"none","signals":"","customer":"C-2","signalCount":0},{"id":"O-6","level":"none","signals":"","customer":"C-3","signalCount":0},{"id":"O-7","level":"none","signals":"","customer":"C-4","signalCount":0},{"id":"O-8","level":"none","signals":"","customer":"C-5","signalCount":0}],"status":"checked","signals":[{"code":"amount_outlier","rule":"tukey_1_5_iqr","detail":"1 of 8 supplied USD amounts are outside the Tukey fence 16 to 26. This is a statistical outlier, not confirmed fraud.","orders":["O-4"],"confirmed":false},{"code":"amount_vs_history","rule":"above_3x_median","detail":"Order O-4 is above 3 times the median of this customer's other supplied USD amounts (O-1, O-2, O-3). This is one indicator.","orders":["O-4"],"confirmed":false},{"code":"address_changed","rule":"new_address_after_history","detail":"Order O-4 uses a shipping address that does not match this customer's earlier supplied orders (O-1, O-2, O-3).","orders":["O-4"],"confirmed":false}],"findings":[{"code":"country_mismatch","kind":"observation","detail":"The supplied ship and bill countries differ. One mismatch is not a pattern and is not a fraud finding.","subject":"O-4"},{"code":"country_mismatch","kind":"observation","detail":"The supplied ship and bill countries differ. One mismatch is not a pattern and is not a fraud finding.","subject":"O-6"},{"code":"amount_outlier","kind":"indicator","detail":"1 of 8 supplied USD amounts are outside the Tukey fence 16 to 26. This is a statistical outlier, not confirmed fraud.","subject":"O-4"},{"code":"amount_vs_history","kind":"indicator","detail":"Order O-4 is above 3 times the median of this customer's other supplied USD amounts (O-1, O-2, O-3). This is one indicator.","subject":"O-4"},{"code":"address_changed","kind":"indicator","detail":"Order O-4 uses a shipping address that does not match this customer's earlier supplied orders (O-1, O-2, O-3).","subject":"O-4"}],"checkedAt":"2026-11-04T09:00:00.000Z","limitations":["Patterns are calculated only from the orders supplied in the request.","One signal is an indicator. It does not mean the customer is fraudulent.","No payment is processed, no order is blocked, and no merchant account is accessed.","A full card number is not copied. A statistical outlier is not confirmed fraud."],"orderBlocked":false,"fraudConfirmed":false,"accountAccessed":false,"paymentProcessed":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D4-Xzl-HerLaxhfvdO3cR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a batch of e-commerce orders to detect fraud signals such as amount outliers, address changes, and billing/shipping mismatches using statistical rules.","exampleAgentPrompt":"Can you check these 15 orders from the last 48 hours for fraud signals? I want to flag anything with an unusual amount compared to customer history, a shipping address change, or a billing/shipping country mismatch — use a review threshold of at least 3 orders and flag quantities over 100 units as suspicious.","exampleUseCases":[{"title":"Pre-shipment fraud screening","prompt":"Before we ship today's batch of orders, can you run them through fraud detection and flag any that look suspicious — especially ones where the amount is way higher than the customer's usual spend or the shipping address changed?"},{"title":"Promo abuse detection sweep","prompt":"I have a CSV of 80 orders placed during our last promo campaign. Can you analyze them for signs of abuse — things like the same card or address used across multiple orders, or unusual quantities?"},{"title":"Account takeover early warning","prompt":"We had a spike in orders from customer C-291 this week. Can you check whether any of those orders show address changes or amount outliers compared to their order history that might mean their account was compromised?"}],"resultDescription":"Returns a JSON object with an overall fraud level (e.g. 'review', 'none'), a list of active signal codes with rule names and human-readable detail (e.g. amount_outlier using Tukey IQR, amount_vs_history, address_changed), Tukey fence bounds for amount analysis, per-order risk levels and signal codes, and additional findings such as country mismatches. Each signal includes which orders triggered it and whether fraud is confirmed.","failureModes":["Fewer than 3 orders supplied — minimum order count rule requires at least 3 orders","Order fields missing required values such as id or customer causing schema validation failure","CSV or JSON payload exceeds 200,000 character limit","Base64 encoded file exceeds 12MB limit","Ambiguous or missing currency fields causing amount comparison failure","Window parameter out of 1–10080 minute range"],"whenToPreferThis":"Use this endpoint when you need statistical fraud signal detection on a batch of e-commerce orders without setting up a full fraud platform. It is ideal for agents that process order feeds periodically, want explainable rule-based signals (Tukey IQR, 3x median, address history), and need per-order risk levels with no account or integration overhead. Prefer this over manual review or heavyweight fraud SaaS when you need a lightweight, pay-per-call, explainable fraud check with structured output for downstream triage workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:37:07.623Z","isFirstParty":false,"canonicalSlug":"brainiac-suspicious-order-detection-4bc41f2b"}