Skip to main content

Retrieve All Statistics

GET 

/statistics

Fetches all metrics on all disbursements the organization has created. The response includes basic aggregations on payments, receivers, receiver wallets, and assets.

Responses

General Statistics response

Schema
    total_disbursementsint64

    Total number of disbursements

    Example: 20
    payment_counters object
    draftint64
    Example: 1
    readyint64
    Example: 2
    pendingint64
    Example: 3
    pausedint64
    Example: 1
    successint64
    Example: 5
    failedint64
    Example: 1
    totalint64
    Example: 14
    payment_amounts_by_asset object[]
  • Array [
  • asset_codestring
    Example: USDC
    payment_amounts object
    draftstring
    Example: 100.00
    readystring
    Example: 200.00
    pendingstring
    Example: 300.00
    pausedstring
    Example: 100.00
    successstring
    Example: 500.00
    failedstring
    Example: 100.00
    averagestring
    Example: 100.00
    totalstring
    Example: 1400.00
  • ]
  • receiver_wallets_counters object
    draftint64
    Example: 1
    readyint64
    Example: 1
    registeredint64
    Example: 1
    flaggedint64
    Example: 1
    totalint64
    Example: 4
    total_receiversint64

    Total number of receivers

    Example: 1000

Authorization: Authorization

name: Authorizationtype: apiKeydescription: JWT used for authentication, signed with an ES256 private key.in: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://developers.stellar.org/statistics");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
Auth
ResponseClear

Click the Send API Request button above and see the response here!

Did you find this page helpful?