Visitor measurement is client-side. Install the tracking script,
then use the browser event API and
browser identity API instead of building a separate ingestion
client.
HTTP data API base URL
Authenticated data and management endpoints use:Authenticate data API requests
Create an API key in Settings → Account, then send it in theAuthorization header. Reads and
management use the key owner’s organization, role, and team access.
Response conventions
Successful reads return200 with a JSON body. List endpoints generally return an object with a
data array.
Common status codes:
Frequently asked questions
How do I send an event from my site?
How do I send an event from my site?
Install the tracking script and call
window.tinyanalytics.event() in the browser. Browser
collection is keyless; see the browser event API.Can I put an API key in my frontend?
Can I put an API key in my frontend?
No. API keys grant access to private analytics and management capabilities. Keep them out of
frontend code and use the keyless browser API for visitor measurement.
Where do I find the full endpoint list?
Where do I find the full endpoint list?
Browse Endpoint reference in the sidebar or use the in-product API
playground, which generates examples for the current endpoint
registry.
Related
Browser event API
Send pageviews and custom events from client-side code.
Browser identity API
Identify users and update traits from client-side code.
Analytics read API
Read overview, time-series, breakdown, session, and event data.
API keys
Create a least-privilege credential for data and management calls.
API playground
Browse and generate examples for published endpoints.