{"uid":"cap_J85QHNUVSrRGvjsJ8A8Qa","slug":"replate-intelligence-api-basket-analysis-608be2fc","name":"Replate Intelligence API – Basket Analysis","description":"Paid receipt, personal, and aggregate commerce intelligence for autonomous agents.","url":"https://replate-backend61.vercel.app/api/intelligence/basket/%7BreceiptId%7D","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"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_1CGfp_zqWAE1_pUrnuUFG","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":"Returns paid commerce intelligence (receipt-level basket analysis, personal spending patterns, and aggregate purchasing trends) for a given receipt ID.","exampleAgentPrompt":"Pull the basket intelligence for receipt ID abc-12345 — I need to see what items were purchased, any spending patterns tied to it, and how it compares to aggregate trends.","exampleUseCases":[{"title":"Receipt itemization for expense tracking","prompt":"I have receipt ID rec-78901 from my last grocery run — can you pull the basket breakdown and show me what I bought and how my spending compares to my usual patterns?"},{"title":"Aggregate trend analysis for retail insights","prompt":"Use receipt ID txn-44567 to get me the commerce intelligence report — I want to see the aggregate purchasing trends around those product categories, not just the individual items."},{"title":"Autonomous agent purchase verification","prompt":"My agent just processed a purchase with receipt ID order-99321 — fetch the full basket intelligence so I can verify what was bought and flag anything unusual in the item composition."}],"resultDescription":"A structured intelligence payload containing receipt-level basket data (individual items purchased), personal commerce patterns associated with the receipt owner, and aggregate commerce intelligence such as category-level or cross-consumer purchasing trends.","failureModes":["Invalid or unknown receiptId returns 404 or empty result","Payment not processed (402) blocks access to intelligence data","Malformed receiptId format causes 400 bad request","Receipt data not yet indexed returns empty or partial intelligence","Rate limiting or quota exhaustion returns 429","Network timeout from Vercel cold start on infrequently accessed endpoint"],"whenToPreferThis":"Choose this endpoint when you need structured, enriched basket-level intelligence derived from a specific receipt — particularly when you want both the individual transaction details and aggregate/personal commerce context in a single call. Best suited for autonomous agents that need to analyze consumer purchasing behavior at the receipt level and have a valid receiptId to query against.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:48:17.769Z","isFirstParty":false}