{"uid":"cap__eRdFYMxCFsW0LPnEFTpr","slug":"loyal-spark-get-program-analytics-fb4a01bc","name":"Loyal Spark - Get Program Analytics","description":"Loyalty rewards: Aggregate program analytics: holders, mint volume, redemptions, and tier distribution for a merchant. Onchain loyalty on Base: brands launch rewards in minutes, customers earn with every purchase, AI agents automate the rest via REST and MCP. Pay-only works: the paying wallet is the caller; API key optional.","url":"https://api.loyalspark.online/x402-gateway/mcp-tools/get_program_analytics?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{}}},"inputSchema":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":1,"result":{"content":[{"text":"{...}","type":"text"}],"structuredContent":{}},"jsonrpc":"2.0"}},"example":{"request":{"id":1,"method":"tools/call","params":{"name":"get_platform_info","arguments":{}},"jsonrpc":"2.0"},"response":{"id":1,"result":{"content":[{"text":"{\"name\":\"Loyal Spark\",\"chain\":\"Base L2\",\"chain_id\":8453,\"token_standard\":\"ERC-20\",\"features\":[\"loyalty_programs\",\"rewards\",\"marketplace\",\"tiers\",\"referrals\",\"vouchers\",\"analytics\"],\"api_docs\":\"https://loyalspark.online/api-docs\"}","type":"text"}]},"jsonrpc":"2.0"}},"exampleRequest":{"id":1,"method":"tools/call","params":{"name":"get_platform_info","arguments":{}},"jsonrpc":"2.0"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6AABgWzRRcqVbRSfnO559","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves analytics data for a loyalty rewards program on the Loyal Spark onchain protocol running on Base L2","exampleAgentPrompt":"Pull the analytics for my Loyal Spark loyalty program on Base — I want to see how many tokens have been earned, redeemed, and are currently in circulation.","exampleUseCases":null,"resultDescription":"Returns JSON analytics data for a specified loyalty rewards program, including token issuance metrics, redemption rates, active participant counts, P2P trade volume, and other engagement statistics for the onchain ERC-20 loyalty protocol on Base L2.","failureModes":["Invalid or missing program ID returns an error response","Program not found on Base L2 returns 404-equivalent error","Payment of $0.01 USDC not provided or failed triggers x402 payment required response","Malformed request body returns validation error","Network or RPC issues with Base L2 may cause timeouts"],"whenToPreferThis":"Use this endpoint when you need to retrieve performance and engagement analytics for a specific loyalty rewards program deployed on the Loyal Spark onchain protocol on Base L2. Prefer this over generic blockchain analytics tools when you specifically need loyalty program metrics like token earn/redeem rates, participant counts, and P2P trading volume within the Loyal Spark ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-29T12:37:21.217Z","isFirstParty":false,"canonicalSlug":"loyal-spark-get-program-analytics-fb4a01bc"}