{"uid":"cap_yLX-yBJjoyNic3P1OCLDm","slug":"macaroon-network-polymathica-transaction-intelligence-586190b7","name":"Macaroon Network Polymathica Transaction Intelligence","description":"Measure live, aggregate commerce activity across this marketplace's payment rails, including volume, success rates, and task-state breakdowns by rail and time window. Privacy-preserving by design: no buyer wallet, transaction hash, Lightning node id, or individual payment record is returned.","url":"https://api.macaroonnetwork.com/execute/polymathica-transaction-intelligence-v1","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"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6Hg2vZV1QGQ14TG_9zs0W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns aggregate payment-rail statistics (volume, success rate, task-state breakdowns) across Polymathica marketplace rails by rail type and time window, with no individual transaction or wallet data exposed.","exampleAgentPrompt":"Pull the aggregate transaction stats for the Polymathica marketplace — I want to see volume, success rate, and task-state breakdowns split by payment rail for the past 7 days.","exampleUseCases":[{"title":"Weekly payment rail health check","prompt":"Give me this week's aggregate transaction volume and success rate broken down by each payment rail on the Polymathica marketplace — I want to see which rails are performing best."},{"title":"Diagnosing elevated failure rates","prompt":"Our marketplace saw some issues yesterday — can you pull aggregate transaction success and failure state breakdowns by rail for the last 24 hours so I can see where things went wrong?"},{"title":"Monthly executive payment summary","prompt":"I need an aggregate summary of Polymathica marketplace payment activity for last month — total volume, success rates, and task-state distributions across all rails for a report I'm putting together."}],"resultDescription":"Returns privacy-safe aggregate statistics over the marketplace's payment rails, including transaction volume counts, success and failure rates, and task-state (e.g. pending, completed, failed) breakdowns segmented by rail type and the requested time window. No individual wallet addresses, transaction hashes, Lightning node IDs, or per-buyer records are included in the response.","failureModes":["Invalid or missing time window parameter returns a 400-level validation error","Unsupported rail filter value causes a schema rejection","Service unavailability or upstream data pipeline lag may return a 503 or stale-data indicator","Malformed request body type (non-JSON when JSON expected) triggers a bodyType mismatch error","Empty result set returned if no transactions occurred in the specified window"],"whenToPreferThis":"Choose this endpoint when you need privacy-safe, aggregate-level insight into payment rail performance on the Polymathica marketplace — specifically volume, success rates, and task-state distributions over time windows. Prefer this over raw transaction logs or individual payment record lookups when compliance, privacy constraints, or high-level trend analysis are the goal. It is not suitable when you need individual transaction details, wallet-level attribution, or cross-marketplace comparisons outside Polymathica.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:35.272Z","isFirstParty":false}