Skip to main content
GET
Per-client usage analytics

GET /leokit/analytics

Returns aggregated analytics for the authenticated client, including quote/deposit counts, top trading pairs, protocol usage, and a time-bucketed activity timeline.

Authentication

Requires Api-Key header (or api_key query parameter).

Request Parameters

Response Format

Status Code: 200 OK

Fields Reference

Summary

Top Pairs

Returns up to 20 most-quoted asset pairs, sorted by quote count. Each pair shows how many quotes and deposits it received.

Protocols

Shows how many times each protocol returned a quote offer. A single quote request may produce offers from multiple protocols.

Timeline

Time-bucketed activity data. Bucket size varies by period:

Caching

Responses are cached for 30 seconds (Cache-Control: private, max-age=30).

Errors

See the error codes catalog for the full list.

Examples

Get 24-hour analytics (default)

Get 7-day analytics

Get all-time analytics

Authorizations

Api-Key
string
header
required

Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4

Query Parameters

period
enum<string>
default:24h
Available options:
1h,
24h,
7d,
30d,
all

Response

Analytics for the authenticated client.

period
enum<string>
required
Available options:
1h,
24h,
7d,
30d,
all
generated_at
string<date-time>
required
client
object
required
summary
object
required
top_pairs
object[]
required
protocols
object[]
required
timeline
object[]
required