{"uid":"cap_cOmV5jQkYV4rvRREZkeCA","slug":"x4o2-stonkfun-on-chain-stats-d9a1b5c4","name":"x4o2 StonkFun On-chain Stats","description":"Protocol coverage, pool counts and ingestion freshness","url":"https://stonk.x4o2.com/v1/stats?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"],"type":"string"},"pathParams":{"type":"object","required":[],"properties":{}},"queryParams":{"type":"object","required":[],"properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"data":{"type":["object","null"],"properties":{"gapAt":{},"pools":{"type":["array","null"],"items":{"type":["object","null"]}},"tokens":{"type":["number","null"]},"partial":{"type":["boolean","null"]},"pairings":{"type":["number","null"]},"fullScanAt":{},"revenueUsd":{},"lastChainAt":{"type":["string","null"]},"totalHolders":{},"lastReceiptAt":{"type":["string","null"]},"platformConfigs":{"type":["array","null"],"items":{"type":["string","null"]}},"pendingTransactions":{"type":["number","null"]}}},"meta":{"type":["object","null"],"properties":{"ageMs":{"type":["number","null"]},"source":{"type":["string","null"]},"partial":{"type":["boolean","null"]},"commitment":{"type":["string","null"]},"observedAt":{"type":["number","null"]},"discoveryAt":{"type":["string","null"]},"freshnessSeconds":{"type":["number","null"]}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_59Du6JG4TWB6Mdb--y5Yt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns protocol coverage, pool counts, token metrics, and data ingestion freshness for the StonkFun on-chain platform","exampleAgentPrompt":"Pull the current StonkFun protocol stats for me — I want to see how many pools and tokens are tracked, whether the data is fresh, and if there are any indexing gaps right now.","exampleUseCases":[{"title":"Monitor StonkFun indexer freshness","prompt":"Check the StonkFun on-chain stats and tell me how fresh the data is — specifically the last chain timestamp and whether there are any gaps in ingestion."},{"title":"Audit protocol pool and token coverage","prompt":"How many pools and tokens is the StonkFun protocol currently tracking? I need the full count including pairings and platform configs."},{"title":"Check for pending transactions before trading","prompt":"Before I make a trade, can you pull the StonkFun stats and let me know if there are pending transactions or partial data flags I should be aware of?"}],"resultDescription":"Returns a data object containing pool array, token count, pairings count, platform configs list, pending transaction count, last chain timestamp, last receipt timestamp, gap timestamp, full scan timestamp, partial flag, and metadata including data age in milliseconds, source, commitment level, observed timestamp, discovery timestamp, and freshness in seconds.","failureModes":["Payment required (402) if x402 micropayment not included","Stale or partial data when indexer is lagging (partial flag set to true)","Null fields when full scan has not yet completed (gapAt populated)","Network timeout if upstream on-chain node is slow","Empty pools array if no pools have been indexed yet"],"whenToPreferThis":"Use this endpoint when you need a high-level health check or summary overview of the StonkFun protocol — including how many pools and tokens are indexed, whether the ingestion pipeline is current, and whether there are any gaps in on-chain data coverage. Prefer this over token- or pool-specific endpoints when you need platform-wide metrics rather than data on a specific asset or market.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:49.055Z","isFirstParty":false,"canonicalSlug":"x4o2-stonkfun-on-chain-stats-d9a1b5c4"}