# Loyal Spark - List Gift Certificates

> Loyal Spark - List Gift Certificates 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-14).

Retrieves a list of available gift certificates from the Loyal Spark onchain loyalty protocol on Base L2

## Facts

- Endpoint: POST https://api.loyalspark.online/x402-gateway/mcp-tools/list_gift_certificates
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/loyal-spark-list-gift-certificates-f1d603c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vaXYVvx-UD_3e4V0hSYqB

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-gift-certificates-f1d603c0 -d '<json body>'
```

Example prompt: Show me all the gift certificates currently available to redeem on Loyal Spark for my wallet — I want to see what I can use my loyalty tokens on.

## When to prefer this

Use this endpoint when an AI agent needs to discover or display available gift certificates within the Loyal Spark ecosystem, specifically when operating within a Base L2 onchain loyalty context. Prefer this over generic reward lookup endpoints when the user is dealing with ERC-20-based loyalty tokens on Loyal Spark and wants to see redeemable gift certificate options.

## Known failure modes

- Invalid or missing authentication/wallet credentials returns an error
- No gift certificates available returns an empty list
- Network or Base L2 RPC connectivity issues cause timeout
- Malformed request body returns 400-level error
- Payment of $0.01 USDC not fulfilled causes x402 payment required 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 array of gift certificate objects available in the Loyal Spark protocol, likely including certificate IDs, names, token values, redemption conditions, expiry details, and issuing merchant or program identifiers.

## 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-gift-certificates-f1d603c0/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)
