Skip to main content
The Stats API provides access to aggregated analytics data for your search engines — search volumes, click-through rates, conversion metrics, facet usage, and more. All data is read-only. Version: v2

Base URL

https://{search_zone}-api.doofinder.com
Example: https://eu1-api.doofinder.com

Authentication

Authorization: Token ab46030xza33960aac71a10248489b6c26172f07
JWT authentication is also supported. See the Authentication guide.

Common Query Parameters

Most endpoints accept these parameters to define the reporting window:
ParameterTypeDescription
hashidstringRequired. Your search engine’s identifier.
fromstringStart date in YYYY-MM-DD format.
tostringEnd date in YYYY-MM-DD format.
tzstringTimezone for date aggregations (e.g. Europe/Madrid).

Endpoint Groups

Usage & Sessions

Session counts, user activity, geographic breakdowns, and per-engine usage.

Searches

Search volume, top queries, popular terms, location data.

Clicks & Interactions

Click-through rates, clicked items, position analysis, redirects.

Conversions & Sales

Checkout and sales data attributed to search sessions.

Features

Banners, facets, custom results, recommendations, quizzes.

Usage & Sessions

Track how users are engaging with your search engine over time.
MethodPathDescription
GET/api/v2/stats/initsTotal session counts over time
GET/api/v2/stats/inits/locationsSessions broken down by geographic location
GET/api/v2/stats/inits/usersSessions with identified users
GET/api/v2/stats/usageOverall usage metrics
GET/api/v2/stats/search_engine_usersPer-engine usage by user

Searches

Understand what your users are searching for.
MethodPathDescription
GET/api/v2/stats/searchesSearch volume over time
GET/api/v2/stats/searches/topTop search queries ranked by volume
GET/api/v2/stats/searches/popularPopular searches (trending)
GET/api/v2/stats/searches/locationsSearches broken down by location
GET/api/v2/stats/results/topMost-returned results across searches

Clicks & Interactions

Measure how users interact with search results.
MethodPathDescription
GET/api/v2/stats/clicksClick volume over time
GET/api/v2/stats/clicks/usersClicks attributed to identified users
GET/api/v2/stats/clicked_itemsItems most frequently clicked
GET/api/v2/stats/clicked_items/searchesSearches that led to clicks on each item
GET/api/v2/stats/clicked_items/positionAverage click position per item
GET/api/v2/stats/redirectsRedirect rule trigger counts

Conversions & Sales

Attribute revenue and conversions to search-driven sessions.
MethodPathDescription
GET/api/v2/stats/checkoutsCheckout events initiated from search sessions
GET/api/v2/stats/salesSales data
POST/api/v2/stats/salesConfirm a sale event
GET/api/v2/stats/top-salesTop-selling items attributed to search
POST/api/v2/stats/cartsProcess checkout cart data

Features

Track usage of specific Doofinder features.
MethodPathDescription
GET/api/v2/stats/bannersBanner impression and click stats
GET/api/v2/stats/facetsFacet usage — which filters users apply
GET/api/v2/stats/facets_by_dayDaily facet usage breakdown
GET/api/v2/stats/facets/topTop facet values by usage
GET/api/v2/stats/custom-resultsCustom result rule usage
GET/api/v2/stats/recommendationsRecommendation widget stats
GET/api/v2/stats/quizzesQuiz feature stats
GET/api/v2/stats/sector/{name}Industry-specific benchmark data
POST/api/v2/stats/visitLog a page visit event

Key Metrics Explained

Click-Through Rate (CTR)

The ratio of search sessions that result in at least one click. A low CTR on a query suggests results are not relevant.

Zero Results Rate

The percentage of searches that return no results. Monitor GET /api/v2/stats/searches for queries with total_results: 0.

Session Attribution

Doofinder attributes a sale or checkout to a search session if the user clicked a search result and subsequently completed a purchase within the same session window.