Public REST API

CortIQ Developer API

Powerful REST API for accessing your analytics data programmatically. Build custom dashboards, automate reports, and integrate with your tools.

Fast & Reliable

Built on Supabase Edge Functions with global CDN for low latency

Secure

API key authentication with rate limiting and usage tracking

Scalable

Handles millions of requests with automatic scaling

AI Agent Analytics

Unique endpoint for tracking ChatGPT Browser, Perplexity, Claude

Get Started in Minutes

Simple authentication, comprehensive data access

1. Authentication

Get your API key from the dashboard and include it in your requests

HTTP Header:

Authorization: Bearer ck_live_your_api_key

API keys are managed in your dashboard under Settings → API Keys

2. Make a Request

Simple REST API with JSON or CSV responses

Example cURL:

curl https://cortiq.se/api/v1/sites/abc123/visits \
  -H "Authorization: Bearer ck_live_your_api_key_here" \
  -G --data-urlencode "date_from=2024-01-01" \
     --data-urlencode "date_to=2024-01-31" \
     --data-urlencode "format=json"

Available Endpoints

8 endpoints covering all your analytics needs

GET
/api/v1/sites
List all sites
GET
/api/v1/sites/{id}/visits
Get visit data
GET
/api/v1/sites/{id}/pages
Get page views
GET
/api/v1/sites/{id}/referrers
Get traffic sources
GET
/api/v1/sites/{id}/events
Get custom events
GET
/api/v1/sites/{id}/agents
Get AI agent traffic 🤖
GET
/api/v1/sites/{id}/conversions
Get conversions
GET
/api/v1/sites/{id}/heatmaps
Get heatmap data

Why CortIQ API?

First with AI Agent Analytics

Track ChatGPT Browser, Perplexity Comet, Claude Browser - data no other platform provides

Cookie-Free Data

100% GDPR-compliant server-side tracking without cookies

Export Formats

JSON and CSV support on all endpoints for easy integration

Rate Limiting

Configurable rate limits (default 1,000 requests/hour)

Usage Analytics

Track API usage, response times, and errors in real-time