# Loyal Spark - Get Recipient Profile

> Loyal Spark - Get Recipient Profile 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 the onchain loyalty profile for a recipient address, including token balances, earned rewards, and redemption history on the Loyal Spark Base L2 protocol.

## Facts

- Endpoint: POST https://api.loyalspark.online/x402-gateway/recipient-mcp-tools/get_recipient_profile
- 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-get-recipient-profile-6fff1523
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kJGAHCqZO9eud5F1-Lq0b

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-get-recipient-profile-6fff1523 -d '<json body>'
```

Example prompt: Pull up the Loyal Spark profile for wallet 0x1234...abcd on Base — I want to see their current loyalty token balance and any rewards they've earned or redeemed.

## When to prefer this

Use this endpoint when you need to look up a specific recipient's loyalty profile, token balances, or reward history on the Loyal Spark Base L2 protocol. Prefer this over generic blockchain explorers when you need loyalty-program-specific data (earned tokens, redemptions, program membership) rather than raw on-chain transaction history.

## Known failure modes

- Invalid or malformed wallet address returns a 400 error
- Wallet address not found in Loyal Spark protocol returns empty profile or 404
- Network issues with Base L2 RPC may cause timeouts
- Payment failure (insufficient USDC for x402 micropayment) blocks request
- Rate limiting if too many calls in short succession

## 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 object containing the recipient's onchain loyalty profile, including their ERC-20 reward token balance, accumulated loyalty points, earned and redeemed token history, and any relevant program membership details on the Base L2 Loyal Spark protocol.

## 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-get-recipient-profile-6fff1523/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)
