Analytics

Bot traffic

Bots, crawlers and AI agents visiting the site: visitors and events by traffic class and category, the most active identified crawlers with identification confidence, and a daily series.

get/sites/{site}/bot-traffic

Request

  • Base URL: https://api.onelence.com/v1
  • URL: https://api.onelence.com/v1/sites/{site}/bot-traffic
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: analytics:read)
    • HTTP bearer

Path parameters

sitestring required

Site domain (e.g. example.com) or site id. Defaults to the workspace's newest active site.

Query parameters

startstring

Window start: a date (YYYY-MM-DD) or ISO 8601 date-time. Defaults to 30 days before end.

endstring

Window end, inclusive for a date. Defaults to now.

Response

Success.

object'bot_traffic' required
notestring required

Changes

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