ComTrack

API reference

All Time Data API

Read commission records and totals from the All Time Data page, with filters and grouping.

2 min readUpdated

GEThttps://commissionconnector.com/api/reference

Use the All Time Data API to access your ComTrack commission data from external tools such as dashboards, spreadsheets, reporting systems, and custom applications.

The API returns the same commission data displayed on the All Time Data page—without manual exports or copy-and-paste.

Authentication

Base URL

https://www.commissionconnector.com/api

Include your API key in the x-api-key request header:

x-api-key: cc_live_YOUR_KEY_HERE

You can find your API key in ComTrack under:

Cases → Integrations

Keep your API key private. Do not include it in public code repositories, browser-based applications, or shared documents.

Endpoints

Get Commission Records

GET /reference

Returns individual commission records using paginated results.

Query parameters

Parameter Description Default
page Page number to return 1
limit Number of records per page 50

Example

curl "https://www.commissionconnector.com/api/reference?page=1&limit=50" \
  -H "x-api-key: cc_live_YOUR_KEY_HERE"

Response fields

records   Array of commission records
total     Total number of matching records
page      Current page number
limit     Number of records returned per page

Get Commission Totals

GET /reference/summary

Returns summarized commission totals for all matching records.

Example

curl "https://www.commissionconnector.com/api/reference/summary" \
  -H "x-api-key: cc_live_YOUR_KEY_HERE"

Example response

{
  "records": 38919,
  "commission": 3009688.99,
  "expected_comm": 0.00
}

Response fields

records          Number of matching commission records
commission       Total commission amount
expected_comm    Total expected commission amount

In most cases, expected_comm will be 0.00. Use commission for the total amount paid or recorded.

Group totals by payment period

Add group_by=payment_period to break down the results by payment month.

curl "https://www.commissionconnector.com/api/reference/summary?group_by=payment_period" \
  -H "x-api-key: cc_live_YOUR_KEY_HERE"

Find a Single Record

GET /reference/single

Returns the single commission record that most closely matches the information provided.

Use this endpoint when searching for a specific client, carrier, policy, Agent, or transaction.

Example

curl "https://www.commissionconnector.com/api/reference/single?client_full_name=Jane%20Doe&carrier=Aetna" \
  -H "x-api-key: cc_live_YOUR_KEY_HERE"

For more precise results, include multiple filters whenever possible.

Filters

Filters are optional and can be combined on any endpoint.

Parameter Description Example
agent_name Agent name, including partial matches Joshua Cooper
agent_id Exact Agent ID 541616-005
agent_npn Exact Agent NPN 1043
carrier Carrier name or close match Aetna
client_full_name Client’s full name Jane Doe
policy_number Policy number or member ID ABC12345
payment_period Payment month or year January 2026 or 2026
statement_date_from Beginning of the statement-date range 2026-01-01
statement_date_to End of the statement-date range 2026-01-31
effective_date_from Beginning of the policy effective-date range 01/01/2026
effective_date_to End of the policy effective-date range 01/31/2026

Dates may be submitted in either format:

YYYY-MM-DD
MM/DD/YYYY

Example with multiple filters

curl "https://www.commissionconnector.com/api/reference?carrier=Aetna&payment_period=January%202026&agent_name=Joshua%20Cooper" \
  -H "x-api-key: cc_live_YOUR_KEY_HERE"

Currency Format

Commission amounts are returned in dollars by default:

{
  "commission": 289.17
}

Add in_cents=true to return monetary values as whole cents:

curl "https://www.commissionconnector.com/api/reference/summary?in_cents=true" \
  -H "x-api-key: cc_live_YOUR_KEY_HERE"
{
  "commission": 28917
}

Returning values in cents can help avoid floating-point rounding issues in financial applications.

HTTP Status Codes

Status Meaning Recommended action
200 Request successful Process the returned data
400 Invalid request or filter value Check query parameters and date formats
401 Missing or invalid API key Verify the x-api-key header
403 API access is not enabled Confirm the account is on an eligible paid plan through Commission Connector

Security

Replace cc_live_YOUR_KEY_HERE with your own API key.

Treat your API key like a password. Store it securely and never expose it in public source code or client-side applications.

Was this article helpful?