← Back to marketplace

Loyal Spark - Loyalty Rewards That Grow

external

Onchain loyalty protocol on Base. Merchants launch branded ERC-20 reward programs; customers earn, redeem, and trade tokens P2P; AI agents automate it via REST API and MCP.

by Loyalspark50 endpoints100% uptime59ms avg

Price

from $0.0010

up to $0.0500 per request

Network

base

Category

ai

On-chain txns

145

Uptime

100%

Avg latency

59ms

Checks

160

Status

Healthy

Base URL

https://api.loyalspark.online

Endpoints (50)

Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.

POST/x402-gateway/accept-offer
base$0.0100
POST/x402-gateway/activate-program
base$0.0100
GET/x402-gateway/analytics
base$0.0050
GET/x402-gateway/balance
base$0.0010
POST/x402-gateway/cancel-offer
base$0.0050
GET/x402-gateway/customers
base$0.0020
POST/x402-gateway/earn
base$0.0100
POST/x402-gateway/mcp-tools/activate_loyalty_program
base$0.0100
POST/x402-gateway/mcp-tools/cancel_stale_offers
base$0.0100
POST/x402-gateway/mcp-tools/check_voucher_status
base$0.0100
POST/x402-gateway/mcp-tools/create_loyalty_program
base$0.0100
POST/x402-gateway/mcp-tools/create_personalized_offer
base$0.0100
POST/x402-gateway/mcp-tools/create_reward
base$0.0100
POST/x402-gateway/mcp-tools/delete_report
base$0.0100
POST/x402-gateway/mcp-tools/earn_points
base$0.0100
POST/x402-gateway/mcp-tools/export_customers
base$0.0100
POST/x402-gateway/mcp-tools/get_my_profile
base$0.0100
POST/x402-gateway/mcp-tools/get_platform_info
base$0.0100
POST/x402-gateway/mcp-tools/get_platform_stats
base$0.0100
POST/x402-gateway/mcp-tools/get_program_analytics
base$0.0100
POST/x402-gateway/mcp-tools/get_token_balance
base$0.0100
POST/x402-gateway/mcp-tools/list_loyalty_programs
base$0.0100
POST/x402-gateway/mcp-tools/list_marketplace_offers
base$0.0100
POST/x402-gateway/mcp-tools/list_my_reports
base$0.0100
POST/x402-gateway/mcp-tools/list_rewards
base$0.0100
POST/x402-gateway/mcp-tools/mint_loyalty_tokens
base$0.0100
POST/x402-gateway/mcp-tools/redeem_reward
base$0.0100
POST/x402-gateway/mcp-tools/register_loyalty_program
base$0.0100
POST/x402-gateway/mcp-tools/send_report
base$0.0100
POST/x402-gateway/mcp-tools/transfer_loyalty_tokens
base$0.0100
POST/x402-gateway/mcp-tools/update_program_config
base$0.0100
POST/x402-gateway/mcp-tools/update_program_status
base$0.0100
POST/x402-gateway/mcp-tools/update_report_status
base$0.0100
POST/x402-gateway/mcp-tools/update_reward_status
base$0.0100
POST/x402-gateway/mcp-tools/use_voucher
base$0.0100
POST/x402-gateway/mint
base$0.0100
GET/x402-gateway/offers
base$0.0100
POST/x402-gateway/program-status
base$0.0050
GET/x402-gateway/programs
base$0.0500
POST/x402-gateway/recipient-api/accept-offer
base$0.0100
GET/x402-gateway/recipient-api/balance
base$0.0010
GET/x402-gateway/recipient-api/balances
base$0.0010
POST/x402-gateway/recipient-api/cancel-offer
base$0.0050
GET/x402-gateway/recipient-api/offers
base$0.0100
POST/x402-gateway/recipient-api/prepare-transfer
base$0.0050
POST/x402-gateway/recipient-api/redeem-reward
base$0.0100
GET/x402-gateway/recipient-api/rewards
base$0.0010
GET/x402-gateway/recipient-api/vouchers
base$0.0010
POST/x402-gateway/recipient-mcp-tools/accept_p2p_offer
base$0.0100
POST/x402-gateway/recipient-mcp-tools/cancel_p2p_offer
base$0.0050

Payment

Protocolx402 (direct payment, USDC)
Networkbase

How to call

Via APIHub (recommended)No wallet · pay with credits · gasless
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call it
npx @apihubio/cli call https://api.loyalspark.online \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://api.loyalspark.online
APIHub pays the provider on your behalf and debits your credit balance for the exact amount. No wallet setup, no gas, no per-call signing.
Via direct x402 (advanced)Bring your own wallet
import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);

const res = await x402Fetch("https://api.loyalspark.online", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();
Requires USDC on Base and gas on each call. The @x402/fetch client signs EIP-3009 transferWithAuthorization for each 402 response and retries.

This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.