api.loyalspark.online

Onchain loyalty protocol on Base L2. Launch B20 rewards, earn and redeem tokens, trade P2P, automate with AI agents via REST and MCP.

InfraLiveeip155:8453Exactvia cdp

Part of api.loyalspark.online · 56 endpoints · See the whole service

Calls · 30d
18↑ 188%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 30 snapshots so far.
$21.63
Verified settled volume
4,689 settlements since 2026-11-05, relayed by a known x402 facilitator. Last 30 days: $21.63.
$0.0010
Listed price
As published in the catalog. Always read the live 402 before paying.
19
Calls · 30d
Upstream's own call count for this endpoint, not ours.
12
Unique payers · 30d
Last called 2026-12-02 17:53Z
Paid to
0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b

The wallet the 402 directs payment to. Its full payment record is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service; most of the catalog is unregistered.

Recent payments · which agents last used it

Every indexed settlement paid to this service’s wallet, newest first. The index does not record which endpoint a payment was for, so if this wallet serves more than one endpoint, the rows include payments for the others. Paged up to the newest 5,000; the full history is on the merchant page.

Payer PayeeChainAmountx402RouteAgeTxn hash
0xa3e1…20d90x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0x405590…3ae261
0xa3e1…20d90x40a8…ad8bBaseBase$0.01100%Coinbase CDP1d ago0x44523e…6d8356
0x1f14…19530x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0x9489a5…13aa4d
0xdd16…fe960x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0x197fc4…ab1602
0x35ed…4f580x40a8…ad8bBaseBase$0.001100%Coinbase CDP1d ago0xe3bc10…16f74f
0x4c39…ac030x40a8…ad8bBaseBase$0.01100%Coinbase CDP1d ago0x1114ad…6de6e5
0xbae4…337f0x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0xbba0e9…45391e
0xe2c9…e95e0x40a8…ad8bBaseBase$0.001100%Coinbase CDP1d ago0xdf9d31…c03985
0x3ec8…c7990x40a8…ad8bBaseBase$0.001100%Coinbase CDP1d ago0x313d58…3f98d2
0xa032…cd010x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0x7a85d4…2ff0e6
0xb3cb…21ba0x40a8…ad8bBaseBase$0.01100%Coinbase CDP1d ago0x76c553…a8664d
0x149a…98a20x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0x7a51c5…7442f5
0x2b84…b2b60x40a8…ad8bBaseBase$0.001100%Coinbase CDP1d ago0x797228…ed150f
0xa032…cd010x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0x83ef14…e32dd5
0xb633…d9620x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0xdcdb73…c5db36
0xe8df…2b060x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0x1ff181…7e3b04
0x868c…af500x40a8…ad8bBaseBase$0.001100%Coinbase CDP1d ago0x01c33b…d0afeb
0x09ca…55a00x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0x9e4f9c…fc1796
0xd05e…24420x40a8…ad8bBaseBase$0.01100%Coinbase CDP1d ago0xe9f598…df62b7
0x0fb2…433c0x40a8…ad8bBaseBase$0.001100%Coinbase CDP1d ago0x99cf3a…5c9488
0xe3e6…ae850x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0xce340e…7226a7
0xdf69…557a0x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0xc23875…40d994
0x4c39…ac030x40a8…ad8bBaseBase$0.01100%Coinbase CDP1d ago0x7ddbe9…af990d
0xdd95…59bb0x40a8…ad8bBaseBase$0.01100%Coinbase CDP1d ago0x642a44…2f17cc
0xaad7…f2470x40a8…ad8bBaseBase$0.005100%Coinbase CDP1d ago0x92aea0…3b591d

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change. Always read the 402 the endpoint answers with.

{
  "error": "X-PAYMENT header is required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "brand": "Loyal Spark",
        "version": "2",
        "website": "https://loyalspark.online",
        "provider": "Loyal Spark",
        "builderCode": "bc_wdmnog7m",
        "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
        "documentation": "https://loyalspark.online/for-agents"
      },
      "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
      "amount": "1000",
      "scheme": "exact",
      "network": "eip155:8453",
      "mimeType": "application/json",
      "resource": "https://api.loyalspark.online/x402-gateway/rewards?method=GET",
      "extensions": {
        "bazaar": {
          "info": {
            "input": {
              "type": "http",
              "method": "GET",
              "headers": {
                "x-api-key": "lsk_..."
              },
              "queryParams": {
                "token_address": "0x0000000000000000000000000000000000000001",
                "customer_address": "0x0000000000000000000000000000000000000002"
              }
            },
            "output": {
              "type": "json",
              "example": {
                "ok": true,
                "resource": "rewards"
              }
            },
            "inputSchema": {
              "type": "object",
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "properties": {
                "token_address": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "description": "EVM address on Base (eip155:8453)."
                }
              },
              "additionalProperties": false
            }
          },
          "schema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "input"
            ],
            "properties": {
              "input": {
                "type": "object",
                "required": [
                  "type",
                  "method"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "http"
                  },
                  "method": {
                    "enum": [
                      "GET",
                      "HEAD",
                      "DELETE"
                    ],
                    "type": "string"
                  },
                  "headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "queryParams": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              "output": {
                "type": "object",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "example": {}
                }
              },
              "inputSchema": {
                "type": "object"
              }
            }
          }
        },
        "builder-code": {
          "info": {
            "a": "bc_wdmnog7m"
          },
          "schema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "a": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$",
                "description": "App builder code"
              },
              "s": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]{1,32}$"
                },
                "description": "Service builder codes"
              },
              "w": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$",
                "description": "Wallet builder code"
              }
            },
            "additionalProperties": false
          }
        }
      },
      "description": "Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.",
      "outputSchema": {
        "input": {
          "type": "http",
          "method": "GET",
          "bodyType": "query",
          "description": "HTTP GET https://api.loyalspark.online/x402-gateway/rewards?method=GET — x402-gateway /rewards. Authenticate with header x-api-key: lsk_....",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "token_address": {
                "type": "string",
                "pattern": "^0x[a-fA-F0-9]{40}$",
                "description": "EVM address on Base (eip155:8453)."
              }
            },
            "additionalProperties": false
          }
        },
        "output": {
          "type": "json",
          "schema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema"
          },
          "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
        }
      },
      "maxAmountRequired": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "resource": {
    "url": "https://api.loyalspark.online/x402-gateway/rewards?method=GET",
    "method": "GET",
    "mimeType": "application/json"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "headers": {
            "x-api-key": "lsk_..."
          },
          "queryParams": {
            "token_address": "0x0000000000000000000000000000000000000001",
            "customer_address": "0x0000000000000000000000000000000000000002"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "ok": true,
            "resource": "rewards"
          }
        },
        "inputSchema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "token_address": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "description": "EVM address on Base (eip155:8453)."
            }
          },
          "additionalProperties": false
        }
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "required": [
          "input"
        ],
        "properties": {
          "input": {
            "type": "object",
            "required": [
              "type",
              "method"
            ],
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "headers": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "queryParams": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {}
            }
          },
          "inputSchema": {
            "type": "object"
          }
        }
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_wdmnog7m"
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "a": {
            "type": "string",
            "pattern": "^[a-z0-9_]{1,32}$",
            "description": "App builder code"
          },
          "s": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$"
            },
            "description": "Service builder codes"
          },
          "w": {
            "type": "string",
            "pattern": "^[a-z0-9_]{1,32}$",
            "description": "Wallet builder code"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying: a price here is a claim, not a quote.

0.001USDC≈ $0.001 USD
on Base · exact scheme

Pay 0.001 USDC on Base to 0x40a8…4ad8b. The signed payment is good for 5 minutes.

USD Coin contract
0x8335…02913
Payment window
5 minutes
As published
1000 smallest units
Buys
List redeemable rewards configured for a loyalty program. Loyal Spark: loyalty points, rewards & vouchers API on Base (REST + MCP, USDC via x402). Pay-only works: the paying wallet is the caller; API key optional. Scoped to the key's wallet. Docs: loyalspark.online/for-agents
Returns
application/json
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "brand": "Loyal Spark",
      "version": "2",
      "website": "https://loyalspark.online",
      "provider": "Loyal Spark",
      "builderCode": "bc_wdmnog7m",
      "description": "List redeemable rewards configured for a loyalty program. Loyal Spark: loyalty points, rewards & vouchers API on Base (REST + MCP, USDC via x402). Pay-only works: the paying wallet is the caller; A...",
      "documentation": "https://loyalspark.online/for-agents"
    },
    "payTo": "0x40a8CdD6a10EC1a8cB3dFb2834675e7a2CF4ad8b",
    "amount": "1000",
    "scheme": "exact",
    "network": "eip155:8453",
    "mimeType": "application/json",
    "resource": "https://api.loyalspark.online/x402-gateway/rewards",
    "extensions": {
      "builder-code": {
        "info": {
          "a": "bc_wdmnog7m"
        },
        "schema": {
          "type": "object",
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "a": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "App builder code"
            },
            "s": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[a-z0-9_]{1,32}$"
              },
              "description": "Service builder codes"
            },
            "w": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$",
              "description": "Wallet builder code"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "description": "List redeemable rewards configured for a loyalty program. Loyal Spark: loyalty points, rewards & vouchers API on Base (REST + MCP, USDC via x402). Pay-only works: the paying wallet is the caller; API key optional. Scoped to the key's wallet. Docs: loyalspark.online/for-agents",
    "outputSchema": {
      "input": {
        "type": "http",
        "method": "GET",
        "bodyType": "query",
        "description": "HTTP GET https://api.loyalspark.online/x402-gateway/rewards — x402-gateway /rewards. Pay-only works: the paying wallet is the caller; API key optional."
      },
      "output": {
        "type": "json",
        "description": "JSON from Loyal Spark agent-api or recipient-api. See OpenAPI for response shape."
      }
    },
    "maxAmountRequired": "1000",
    "maxTimeoutSeconds": 300
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "type": "http",
        "method": "GET",
        "headers": {},
        "queryParams": {
          "token_address": "0xb2000000000000000000008ce542828ec5f09bb7"
        }
      },
      "output": {
        "type": "json",
        "example": {
          "ok": true,
          "resource": "rewards"
        }
      },
      "inputSchema": {
        "type": "object",
        "anyOf": [
          {
            "maxProperties": 0
          },
          {
            "required": [
              "token_address"
            ]
          }
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "all": {
            "enum": [
              "true"
            ],
            "type": "string",
            "description": "Send all=true instead of token_address to list the rewards of every program you own."
          },
          "token_address": {
            "type": "string",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "description": "EVM address on Base (eip155:8453). Defaults to the demo LSCSC token when the call has no input."
          }
        },
        "description": "A call with no input returns a paid read-only demo view (demo program LSCSC, its rewards, the inputs to pass, next_steps). Send your own input to perform the call.",
        "x-bare-call-default": "view",
        "additionalProperties": false
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method"
          ],
          "properties": {
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "GET",
                "HEAD",
                "DELETE"
              ],
              "type": "string"
            },
            "headers": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "queryParams": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "example": {}
          }
        },
        "inputSchema": {
          "type": "object"
        }
      }
    }
  },
  "builder-code": {
    "info": {
      "a": "bc_wdmnog7m"
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "a": {
          "type": "string",
          "pattern": "^[a-z0-9_]{1,32}$",
          "description": "App builder code"
        },
        "s": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[a-z0-9_]{1,32}$"
          },
          "description": "Service builder codes"
        },
        "w": {
          "type": "string",
          "pattern": "^[a-z0-9_]{1,32}$",
          "description": "Wallet builder code"
        }
      },
      "additionalProperties": false
    }
  }
}

Provenance

Seen in the source catalog
2026-12-02 17:53Z
Last indexed by Roundhouse
2026-12-02 21:20Z
Last enriched (probe, favicon, geo)
2026-09-22 17:15Z
x402 version
2
Max timeout
300s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent: it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 30 snapshots so far. Verified volume counts only settlements relayed by a known x402 facilitator.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service api.loyalspark.online and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=api.loyalspark.online'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://api.loyalspark.online/x402-gateway/rewards, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at
GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at
https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.