Custom API endpoints powered by your PostHog data
Install with AI in a single prompt
Paste into your terminal or code editor and make AI do the work.
What does it do?
Endpoints turns any saved insight or SQL query into a stable, authenticated HTTP URL. You define the query once in PostHog – filters, breakdowns, variables, and all – and your app, agent, or internal tool fetches the results over HTTP. No custom analytics backend, no CSV exports on Monday, no Query API spaghetti. Versioning, caching, materialization, and an OpenAPI spec come with it.
Who is it for?
How do I use it?
Manage endpoints from your editor
Create, run, version, and debug endpoints from Claude Code, Cursor, or any MCP-compatible agent.
Top features
Build your own dashboards
Use your PostHog data to power dashboards outside the PostHog UI.
AI prompts
Ask PostHog AI to create, run, debug, and materialize endpoints. Works in PostHog AI (in-app chat), PostHog Desktop (our AI code editor), and in your product editor (using the MCP). Already signed in? Click a prompt to try it.