Platform API
Give analytics to your customers.
One API key gives every customer their own analytics, under your brand and inside your product.
201 Created
{ "id": "prj_31f", "tracker": "injected" }
1
Key for every tenant
7
Endpoints to learn
3
Calls, end to end
0
Pipelines to build
How it works
Three calls, end to end.
Provision a project, register a site, read the stats back. Everything between those three steps — collection, storage, aggregation — is ours to run.
# 1. Your backend creates a project for one of your users
curl -X POST https://quantalog-be.daorbit.in/v1/projects \
-H "Authorization: Bearer sk_live_..." \
-d '{ "name": "Jane'\''s Store", "extUserId": "user_8812" }'
# 2. Register the site they deployed — the snippet comes back
curl -X POST https://quantalog-be.daorbit.in/v1/projects/prj_31f/sites \
-H "Authorization: Bearer sk_live_..." \
-d '{ "name": "Store", "domain": "jane.shop" }'// 3. Render their numbers inside YOUR product's UI
const res = await fetch(
`https://quantalog-be.daorbit.in/v1/sites/${siteId}/stats?range=24h`,
{ headers: { Authorization: `Bearer ${process.env.QUANTALOG_KEY}` } }
);
const { visitors, pageviews, live, topPages } = await res.json();Reference
Seven endpoints. That's the API.
- POST
/v1/projectsCreate a project for an end-user - GET
/v1/projectsList projects, filter by your user id - POST
/v1/projects/:pid/sitesRegister a site, get the snippet - GET
/v1/projects/:pid/sitesList the sites under a project - GET
/v1/sites/:siteId/statsRead every dashboard metric - GET
/v1/sites/:siteId/snippetFetch the snippet again, any time - DELETE
/v1/sites/:siteIdRemove a site and its data
Who it's for
Built for products with customers.
- Site and app buildersEvery site your users publish gets analytics automatically. The tracker goes into the template you generate, so the customer never installs anything and never sees a setup step.
- White label agenciesClient dashboards under your own brand. Read the stats through the API and render them in your UI — your customers never encounter the Quantalog name unless you want them to.
- SaaS products with a dashboardIf your product already shows customers a dashboard, traffic and SEO data is a feature you can ship without building a pipeline, a store or a query layer for it.
Guarantees
What you can rely on.
- One key, many tenantsA single secret key manages every project. Each project is isolated: a customer's events, sites and stats are never reachable from another project's context.
- The same real-time dataThe stats endpoint returns what the dashboard shows, including the live visitor count. No batch job sits between an event and your API response.
- Delete means deleteRemoving a site removes its data. When your customer leaves your platform, you can honour their deletion request with one call rather than a support ticket.
Ask instead of hunting for it.
Orbit answers from the API reference itself — the exact endpoint, the parameters it takes, and why a call came back the way it did. It is the same assistant your own customers get if you surface it in your product.
How Orbit works- Which endpoint returns per-project stats?
- Why am I getting a 403 on this key?
- Show me the pagination parameters
FAQ
Common questions.
Build it against the real API.
Sign up, generate a key, and provision your first project in a few minutes. The free tier is enough to build and test the integration before a single customer is on it.