# Loyal Spark - List Rewards

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

Lists available ERC-20 loyalty reward tokens on the Loyal Spark onchain protocol running on Base L2

## Facts

- Endpoint: POST https://api.loyalspark.online/x402-gateway/mcp-tools/list_rewards
- Price: $0.01/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-rewards-57440c10
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kYHHqjFnKVCpC4J_h2jt1

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-rewards-57440c10 -d '<json body>'
```

Example prompt: Show me all the loyalty reward tokens currently available on Loyal Spark so I can see what I can earn or redeem on Base.

## When to prefer this

Use this endpoint when an agent needs to discover what loyalty reward tokens exist on the Loyal Spark protocol before earning, redeeming, or trading them. Prefer this over general blockchain token lookups when the user is specifically interested in the Loyal Spark loyalty ecosystem on Base L2.

## Known failure modes

- No rewards found if protocol has no active programs — returns empty list
- Payment failure if 0.01 USDC x402 payment not provided — returns 402 Payment Required
- Network or RPC issues with Base L2 connectivity — returns 5xx error
- Invalid request body format — returns 400 Bad Request

## 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

Returns a JSON list of available loyalty reward tokens on the Loyal Spark protocol, including ERC-20 token details such as token names, symbols, contract addresses, reward rules, and redemption options on Base L2.

## Example request

```json
{
 "id": 1,
 "method": "tools/call",
 "params": {
  "name": "get_platform_info",
  "arguments": {}
 },
 "jsonrpc": "2.0"
}
```

## 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-rewards-57440c10/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)
