Stats API

Optional / advanced. Use your API key from registration (atk_..., shown once) to read detections, payments, and revenue.

Authentication

Send your API key in the X-Publisher-Key header on every request.

Stats

curl -s https://agentoll-middleware-p5aon.ondigitalocean.app/v1/publishers/me/stats \
  -H "X-Publisher-Key: atk_..."

Returns detections, payments, conversion rate, and revenue aggregates.

Payment history

curl -s https://agentoll-middleware-p5aon.ondigitalocean.app/v1/publishers/me/payments \
  -H "X-Publisher-Key: atk_..."

Base URL

https://agentoll-middleware-p5aon.ondigitalocean.app

The API key is also used by agentoll server gate middleware — store it in an environment variable such as AGENTOLL_API_KEY, not in client-side HTML.

Full contract Request/response shapes: E2E_SEPOLIA_SPEC.md

Don’t have your API key?

It is shown once at registration. Register a new domain only if you lost the key and cannot recover the account.

Join waitlist