Analytics

How much of a site's traffic was AI agents

Sessions and pageviews on one site over the last days days, split by who visited, with the named agents, each UTC day, and the entry pages. The same numbers as the site's stats page on opentools.com. A session counts on the day it was last seen, so a visit still in progress moves to today.

get/analytics

Request

  • Base URL
    https://api.opentools.com
  • Auth
    HTTP bearer

Query parameters

sitestring required
Example:ot-z7wdk2er

The site id, from /sites or opentools.com/account.

daysinteger

Window length in days, ending now. 1 to 90.

Response

The site's numbers over the window.

sitestring required
sincestring date-time required
untilstring date-time required
days_countinteger required

The window length that was asked for.

sessionsinteger required
pageviewsinteger required

Example response

{
  "days": [
    {
      "day": "2026-11-04"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.