Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Traffic

GEThttps://api.butterix.com/v1/sites/:site/analytics

Splits traffic by User-Agent into humans, AI (training crawlers and AI assistants), and other crawlers. .md requests, requests for index and spec files, and MCP calls are counted separately.

Authentication

AuthorizationBearer

An organization API key, created in the console under Organization settings → API Keys, starting with biti_. It acts as editor and can't do anything that requires admin.

biti_sessionstring

The HttpOnly session cookie set on login. Requests that change data must be same-origin (the Origin header is checked) to prevent CSRF.

Path parameters

sitestringRequired

Site slug or id

Query parameters

daysintegerOptional1-365Defaults to 30

Response

Statistics
totalsobjectOptional
viewsintegerOptional

Total page and .md visits

humanViewsintegerOptional
visitorsintegerOptional

访客数,按天去重后累计,真人、AI 与爬虫都算

aiViewsintegerOptional

AI crawlers and AI assistants

botViewsintegerOptional

Search engines and other crawlers

markdownRequestsintegerOptional
agentFileRequestsintegerOptional

Requests for indexes (llms.txt, llms-full.txt) and API spec files, not included in the numbers above

mcpCallsintegerOptional
searchesintegerOptional
questionsintegerOptional
feedbackUpintegerOptional
feedbackDownintegerOptional
dailylist of objectsOptional
datedateOptional
humanintegerOptional
aiintegerOptional
botintegerOptional
visitorsobjectOptional

当天按类型去重的访客

humanintegerOptional
aiintegerOptional
botintegerOptional
topPageslist of objectsOptional
pathstringOptional
viewsintegerOptional
aiAgentslist of objectsOptional
namestringOptional
countintegerOptional
referrerslist of objectsOptional
hoststringOptional
countintegerOptional
countrieslist of objectsOptional
codestringOptional
countintegerOptional
notFoundlist of objectsOptional
pathstringOptional
countintegerOptional
agentFileslist of objectsOptional

Most requested index and spec files

pathstringOptional
typeenumOptional
Allowed values:
agentsintegerOptional
humansintegerOptional
countintegerOptional
topSearcheslist of objectsOptional
qstringOptional
countintegerOptional