> ## Documentation Index
> Fetch the complete documentation index at: https://docs.komerza.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Leaderboard

> Your resellers ranked by what they spent with you over a period, biggest first. Built for
publishing: every reseller is identified by the store they sell from — its name, description,
storefront and branding, all of which is public already — so nothing here has to be masked
before it goes on a page.

`from` is inclusive and `to` exclusive. Omit them for the last thirty days.
    Spend is net of refunds, so a reseller who was refunded more than they spent in the period
    does not appear.
A reseller who sells outside Komerza still ranks, with no store attached — leaving them out
    would produce a leaderboard whose total disagreed with your own revenue.
Requires the `stores.resellers.view` permission.



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.komerza.com/llms.txt).
