# Replate Intelligence API – Basket Analysis

> Replate Intelligence API – Basket Analysis is a paid API for AI agents from replate-backend61.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns paid commerce intelligence (receipt-level basket analysis, personal spending patterns, and aggregate purchasing trends) for a given receipt ID.

## Facts

- Endpoint: POST https://replate-backend61.vercel.app/api/intelligence/basket/%7BreceiptId%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/replate-intelligence-api-basket-analysis-608be2fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J85QHNUVSrRGvjsJ8A8Qa

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability replate-intelligence-api-basket-analysis-608be2fc -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Paid receipt, personal, and aggregate commerce intelligence for autonomous agents.

## Output

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.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/replate-intelligence-api-basket-analysis-608be2fc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from replate-backend61.vercel.app](https://www.zero.xyz/host/replate-backend61.vercel.app/llms.txt)
