Get Clicks

Get the click-through rate in total and per day, the average click position, and clicks per position.

Authentication

AuthorizationBearer

A search key, issued by Captain. Sent as Authorization: Bearer <key>.

Path parameters

indexstringRequiredformat: "^[a-z0-9][a-z0-9_-]{0,47}$"
index name

Query parameters

start_datestringOptionalformat: "date"

first day, UTC, inclusive (YYYY-MM-DD). Default: 6 days before end_date (a 7-day window)

end_datestringOptionalformat: "date"

last day, UTC, inclusive (YYYY-MM-DD). Default: today. At most 366 days from start_date

Response

report
start_datestringformat: "date"
end_datestringformat: "date"
ratedouble or null

click-through rate: click_count / tracked_search_count

click_countinteger
tracked searches with at least one click
tracked_search_countinteger
average_positiondouble or null

mean position (1-based) of the clicks on tracked searches, two decimals; null with no clicks

positionslist of objects

12 buckets: positions 1 through 10 each, then 11-20, then 21 and beyond

dateslist of objects

every day of the window, oldest first; rate is null on a day with nothing to divide by

© 2026 Captain