# AgentDiet Ecommerce Spy — Store Intelligence Extractor

> AgentDiet Ecommerce Spy — Store Intelligence Extractor is a paid API for AI agents from rag-diet.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Fetches and distills ecommerce store data from a given store URL, compressing the raw content into a dense, token-efficient intelligence summary

## Facts

- Endpoint: GET https://rag-diet.agentdiet.dev/v1/ecommerce-spy?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-ecommerce-spy-store-intelligence-extractor-3b3f26ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EEuGnzWbXuMlwF1N-v6aP

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 agentdiet-ecommerce-spy-store-intelligence-extractor-3b3f26ad
```

Example prompt: Spy on the ecommerce store at allbirds.com and give me a distilled summary of what they sell, their pricing, and any notable offers — compress it so it fits cleanly into my context window.

## When to prefer this

Choose this endpoint when you need a token-efficient, compressed intelligence snapshot of an ecommerce store rather than raw HTML or a full page scrape. It is especially useful for AI agents operating under context window constraints who need actionable store data (products, pricing, offers) without the overhead of processing raw web content. Prefer it over generic scrapers when you want the compression ratio guarantee and structured JSON output ready for downstream agent consumption.

## Known failure modes

- Invalid or unreachable store_url returns an error or empty data object
- Store with heavy JavaScript rendering may yield incomplete extraction
- Rate limiting or payment failure (x402) results in 402 Payment Required
- Malformed input schema (missing required 'type' or 'method' fields) causes validation error
- Private or password-protected stores may return no useful data

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a 'data' field containing distilled ecommerce store intelligence, a 'status' field confirming success, and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%) achieved by the context distillation pipeline.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "store_url": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentdiet-ecommerce-spy-store-intelligence-extractor-3b3f26ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rag-diet.agentdiet.dev](https://www.zero.xyz/host/rag-diet.agentdiet.dev/llms.txt)
