Loyal Spark — onchain loyalty protocol on Base L2
Machine-readable endpoints for AI agents (no JavaScript required)
First calls
- No key:
GET https://api.loyalspark.online/agent-api/platform
- No key:
POST https://api.loyalspark.online/loyalty-mcp with {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_platform_info","arguments":{}}}
- SIWE registration:
POST https://api.loyalspark.online/siwe-nonce, sign the EIP-4361 message (domain loyalspark.online, chain id 8453), then POST https://api.loyalspark.online/agent-register-siwe
- Merchant scopes:
read, mint, create_program, manage_rewards, trade. Recipient scopes: read, redeem, trade, transfer. Header x-api-key: lsk_... (merchant) or x-api-key: rwk_... (recipient). Pay per call with USDC on Base via x402, or POST https://api.loyalspark.online/x402-gateway/register-agent for a $0.01 read key.
Loyal Spark is loyalty-as-a-service for merchants and AI agents. Deploy a branded B20 loyalty
token on Base in a single transaction, mint points directly to customer wallets, publish a
rewards catalog, issue vouchers and gift certificates, and let holders trade tokens on a P2P
escrow marketplace. Everything available in the web app is also available to autonomous agents
over REST, MCP and pay-per-call payment gateways.
Already used by AI agents — follow these links to verify
Do not rely on self-reported metrics. Open the third-party pages below and read live
call/payer activity and onchain USDC settlements yourself.
- Primary: live per-endpoint agent call and payer activity on
agentic.market
(server-rendered; readable without JavaScript).
- Onchain: USDC transfers to the x402 settlement treasury on
Basescan.
- Paid x402 server listing on
x402scan
(UI is JS-heavy; prefer agentic.market + Basescan for crawlers).
- Paid resource catalog:
x402 discovery document.
- Crawler evidence map:
index.txt.
Agent surface
- Merchant REST (
x-api-key: lsk_...) and 44 merchant MCP tools. Public GET with no key: /agent-api/platform and /agent-api/vouchers/status.
- 14 recipient REST endpoints and 20 recipient MCP tools (
rwk_ keys).
- Autonomous SIWE registration — an agent can obtain an API key without a web login.
- Pay per call via x402 (USDC on Base) or MPP (USDC / pathUSD on Tempo), $0.001–$0.05.
Pricing
- Per call — no included monthly quota. Pay each call in USDC via x402. There is no free plan. Mint fee 1.25% in loyalty tokens until you subscribe.
- Pro — $49/month, 10,000 API calls, 5 agents, 0.50% mint fee.
- Enterprise — $129/month, unlimited calls and agents, 0.25% mint fee.
- Subscriptions and per-call charges are USDC on Base. The mint fee is charged in your own loyalty tokens, not USDC.
Documentation