# Loyal Spark - Get Platform Info

> Loyal Spark - Get Platform Info 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-16).

Retrieves general platform information about the Loyal Spark onchain loyalty protocol on Base L2

## Facts

- Endpoint: POST https://api.loyalspark.online/x402-gateway/mcp-tools/get_platform_info
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/loyal-spark-get-platform-info-4d11fc32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uWg1-SHIywKe3GRcOvVvx

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-platform-info-4d11fc32 -d '<json body>'
```

Example prompt: Can you pull up the platform info for Loyal Spark — I want to know what the onchain loyalty protocol supports, which networks it runs on, and what tools are available for AI agents?

## When to prefer this

Use this endpoint when an agent needs to discover what the Loyal Spark platform supports before making more specific calls (e.g., launching a token, redeeming rewards, or querying balances). It is the canonical starting point for platform capability discovery.

## Known failure modes

- Payment failure (insufficient USDC balance or x402 payment not accepted) — HTTP 402
- Service unavailable or API gateway error — HTTP 500
- Malformed request body — HTTP 400
- Rate limiting or quota exceeded — HTTP 429

## 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 object containing platform metadata for Loyal Spark, likely including protocol name, version, supported Base L2 network details, available ERC-20 reward token capabilities, P2P trading features, and the list of MCP tools available for AI agent automation.

## 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-get-platform-info-4d11fc32/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)
