Loyalty offers by token
Written by Agorean from what the endpoint says about itself
Gives you the current loyalty offers available for a token on Base.
It looks up the current loyalty offers tied to a token address on Base and returns them as a list. It is part of an onchain loyalty platform where businesses issue branded reward tokens. The source does not say what fields each offer contains beyond the list itself.
WHEN TO USE THIS
When: I need to see what loyalty offers exist for a specific token
For example: Send its Base address and read the returned offers list.
When: I need to check if a brand's reward token currently has active offers attached
For example: Query by that token's address.
0.001 USDC
Paid to 0x40a8…ad8b
Your agent buys it
npx agorean buy lst_umfv2h9xn8fg
Buy link
https://api.loyalspark.online/x402-gateway/recipient-api/offers
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x40a8…ad8b). Claiming cannot be undone.
claimListing("lst_umfv2h9xn8fg", wallet_proof)