# Loyal Spark – List P2P Offers

> Loyal Spark – List P2P Offers is a paid API for AI agents from api.loyalspark.online, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Lists available peer-to-peer trading offers for ERC-20 loyalty reward tokens on the Loyal Spark onchain protocol (Base L2).

## Facts

- Endpoint: POST https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/list_p2p_offers
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/loyal-spark-list-p2p-offers-5d54ef15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CmxAJZfRo0iUhVkzph5ub

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 loyal-spark-list-p2p-offers-5d54ef15 -d '<json body>'
```

Example prompt: Show me all the currently open peer-to-peer offers on Loyal Spark where I can trade or buy loyalty reward tokens — I want to see what's available on Base right now.

## When to prefer this

Use this endpoint when an agent or user wants to browse or discover currently available P2P loyalty token trading offers on the Loyal Spark protocol before deciding to accept or create an offer. Prefer this over generic blockchain explorers when working specifically within the Loyal Spark loyalty rewards ecosystem on Base L2.

## Known failure modes

- No offers available returns an empty list
- Invalid filter parameters return a 400 error
- Authentication or payment failure (x402) returns a 402 Payment Required
- Network or Base L2 indexing lag may return stale offer data
- Malformed request body returns a 422 or 400 error

## How this service works

Onchain loyalty protocol on Base L2. Launch B20 rewards, earn and redeem tokens, trade P2P, automate with AI agents via REST and MCP.

## Output

A JSON list of active P2P trade offers including offer IDs, token types, amounts, pricing, and the addresses of the parties involved, enabling the agent or user to evaluate and select an offer to accept.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "toolName",
    "inputSchema"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "mcp"
    },
    "example": {
     "type": "object"
    },
    "toolName": {
     "type": "string"
    },
    "transport": {
     "enum": [
      "streamable-http",
      "sse"
     ],
     "type": "string"
    },
    "description": {
     "type": "string"
    },
    "inputSchema": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/loyal-spark-list-p2p-offers-5d54ef15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.loyalspark.online](https://www.zero.xyz/host/api.loyalspark.online/llms.txt)
