# LION x402 CPG Product Intelligence (JSON)

> LION x402 CPG Product Intelligence (JSON) is a paid API for AI agents from lion-x402-bible.lionmaster-operations.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Returns attested consumer packaged goods (CPG) product intelligence data in JSON format, paid via x402 micropayment on Base USDC.

## Facts

- Endpoint: GET https://lion-x402-bible.lionmaster-operations.workers.dev/api/x402/cpg-product-intel-json
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lion-x402-cpg-product-intelligence-json-d4be3a17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HMKLRxSv-WqdCVPB5mdPL

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 lion-x402-cpg-product-intelligence-json-d4be3a17
```

Example prompt: Look up the CPG product intelligence for asset ID 'LION' and give me the full product details — it should come back as a resolved JSON record.

## When to prefer this

Choose this endpoint when your agent needs attested, pay-per-call CPG product intelligence without requiring API keys or OAuth — ideal for autonomous agents that can execute x402 micropayments on Base. Prefer it over traditional data APIs when keyless operation, per-call USDC billing, and Coinbase-ecosystem compatibility are priorities for a supply chain, retail, or product enrichment workflow.

## Known failure modes

- Payment not provided or insufficient USDC — returns HTTP 402 with x402 payment required details
- Invalid or unknown asset_id — resolved field returns false or empty record
- Cloudflare Worker timeout or upstream data unavailability — returns 5xx error
- Malformed request headers — returns 400 bad request
- Asset exists but attestation is pending — resolved may return false with partial data

## How this service works

Keyless attested data for autonomous agents. USDC on Base via x402. Official @x402/* middleware.

## Output

A JSON object containing the asset_id (the product identifier), a resolved boolean indicating whether the product was found and attested, and associated CPG product intelligence fields such as product attributes, metadata, and any attestation signals provided by the LION data layer.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "name": {
       "type": "string",
       "description": "Product name search"
      },
      "barcode": {
       "type": "string",
       "description": "EAN/UPC barcode"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset_id": "LION",
  "resolved": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lion-x402-cpg-product-intelligence-json-d4be3a17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lion-x402-bible.lionmaster-operations.workers.dev](https://www.zero.xyz/host/lion-x402-bible.lionmaster-operations.workers.dev/llms.txt)
