Marketplace · API · x402

api.loyalspark.online/x402-gateway/mcp-tools/earn_points

Calculate and mint loyalty tokens from a purchase amount using the program cashback rate (earn / cashback flow). Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP. Send x-api-key: lsk_... (or Authorization: Bearer lsk_...) with the payment; without a live key you are...

Endpointhttps://api.loyalspark.online/x402-gateway/mcp-tools/earn_points
TrustNot checked yet
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
networkeip155:8453
schemeexact
pay to0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b
methodPOST
last updated2026-11-14T01:00:22.733Z

Use it

Call it (an x402 client pays automatically)

curl -i https://api.loyalspark.online/x402-gateway/mcp-tools/earn_points
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/x402-912ac775bf9931d8

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}

Related