{"uid":"cap_1xmBhIFKJG1qb5_BH2asA","slug":"quantaflow-x402-api-gateway-posthog-proxy-45a2952e","name":"QuantaFlow x402 API Gateway – PostHog Proxy","description":"Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.","url":"https://quanta-roan.vercel.app/api/service/posthog?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"body":{"type":"string","description":"Optional JSON body forwarded to POST requests."},"path":{"type":"string","description":"Path below the selected upstream origin."},"query":{"type":"object"},"method":{"enum":["GET","POST"],"type":"string"}}},"responseSchema":{"description":"The upstream response body and content type are passed through after successful payment."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DIn_bRmtEUQf23nGb3k2z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies paid API requests to PostHog analytics via the x402 micropayment protocol, charging $0.01 USDC per call.","exampleAgentPrompt":"Forward a GET request to PostHog's /api/projects/my_project/events path with query filter ?event=page_view and charge my wallet the $0.01 USDC fee via the x402 gateway.","exampleUseCases":[{"title":"Fetch PostHog event data on-demand","prompt":"Pull the latest page_view events from my PostHog project — use the /api/projects/my_project/events path, filter by event=page_view, and pay the per-call fee from my USDC balance."},{"title":"Check feature flag status for user","prompt":"Query PostHog to check whether the feature flag 'new-dashboard' is enabled for user ID abc123 — forward the request to /api/feature_flag/local_evaluation and pay the micropayment fee."},{"title":"Capture custom analytics event","prompt":"Send a POST to PostHog at /capture to record a custom event called 'checkout_completed' with properties {orderId: 'X99', amount: 49.99} for distinct_id user_456, and handle the x402 payment automatically."}],"resultDescription":"The raw response body and content type from PostHog's API, passed through transparently after successful $0.01 USDC x402 payment verification. The agent receives exactly what PostHog would return for the equivalent direct API call.","failureModes":["Payment failure: insufficient USDC balance causes 402 Payment Required with no upstream call made","Invalid path: malformed or unauthorized PostHog path returns upstream 4xx error","Bad JSON body: malformed body string causes upstream 400 from PostHog","Rate limiting: PostHog upstream rate limits may return 429","Network error: upstream PostHog service unavailability causes 502 or 503"],"whenToPreferThis":"Choose this endpoint when you need to access PostHog analytics APIs in a permissionless, pay-per-call manner using USDC micropayments via the x402 protocol — particularly useful for autonomous AI agents that lack traditional API key management but can execute on-chain micropayments. Prefer this over direct PostHog API access when operating in a web3-native or DeFi context where crypto-native payment rails are preferable to subscription billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:43:26.727Z","isFirstParty":false,"canonicalSlug":"quantaflow-x402-api-gateway-posthog-proxy-45a2952e"}