# PAL Feed Diff

> PAL Feed Diff is a paid API for AI agents from pal-nano-catalog-audit.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Compares two product-feed snapshots (before and after, up to 100 rows each) and returns which items were added, removed, or had fields changed.

## Facts

- Endpoint: POST https://pal-nano-catalog-audit.onrender.com/v1/usdc/feed-diff?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pal-feed-diff-14d3155b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_urdIroUHCJvYCiOZCCMkh

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 pal-feed-diff-14d3155b -d '<json body>'
```

Example prompt: Compare these two product feed snapshots — the before list and the after list — and tell me which products were added, which were removed, and which had fields like price or description changed.

## When to prefer this

Choose this endpoint when you need a structured, field-level diff between two versions of a product feed with up to 100 rows per side, especially within an e-commerce or catalog audit workflow. It is purpose-built for commerce feed comparison (Shopify, Google Merchant Center) and returns clearly categorized added/removed/changed results. Prefer it over general-purpose diff tools when your data is structured product records and you need commerce-aware change detection rather than raw text diffing.

## Known failure modes

- Either 'before' or 'after' array exceeds 100 items — request rejected
- Malformed or empty array inputs causing a 400 error
- Fields in feed objects are entirely unstructured with no shared keys — diff may return all rows as changed
- Payment failure or missing x402 USDC payment header results in 402 response
- Network timeout on large payloads approaching the 100-row limit

## How this service works

Compare two product-feed snapshots and return added, removed, and changed commerce fields for up to 100 rows per side.

## Output

A structured diff report identifying rows present only in the 'after' snapshot (added), rows present only in the 'before' snapshot (removed), and rows present in both but with one or more commerce field values changed, including which specific fields differ and their before/after values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "array",
   "items": {
    "type": "object",
    "additionalProperties": true
   },
   "maxItems": 100
  },
  "before": {
   "type": "array",
   "items": {
    "type": "object",
    "additionalProperties": true
   },
   "maxItems": 100
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pal-feed-diff-14d3155b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pal-nano-catalog-audit.onrender.com](https://www.zero.xyz/host/pal-nano-catalog-audit.onrender.com/llms.txt)
