Skip to main content
GET
/
api
/
v1
/
usage
curl "/api/v1/usage?fromDate=2025-01-01T00:00:00.000Z&toDate=2025-01-31T23:59:59.000Z" \
  -H "x-api-key: mh_live_abc123..."
{
  "totalTransfers": 142,
  "completedTransfers": 130,
  "failedTransfers": 5,
  "totalFlatFeeEarned": 5460000,
  "totalPercentFeeEarned": "12500000"
}

Documentation Index

Fetch the complete documentation index at: https://dev-docs.multihopper.com/llms.txt

Use this file to discover all available pages before exploring further.

Query parameters

fromDate
string
ISO 8601 start date (e.g. 2025-01-01T00:00:00.000Z).
toDate
string
ISO 8601 end date.

Response

totalTransfers
integer
Total number of transfers in the period.
completedTransfers
integer
Number of successfully completed transfers.
failedTransfers
integer
Number of failed transfers.
totalFlatFeeEarned
integer
Total flat fee earned by your integration in lamports.
totalPercentFeeEarned
string
Total percentage fee earned by your integration in raw token units.
curl "/api/v1/usage?fromDate=2025-01-01T00:00:00.000Z&toDate=2025-01-31T23:59:59.000Z" \
  -H "x-api-key: mh_live_abc123..."
{
  "totalTransfers": 142,
  "completedTransfers": 130,
  "failedTransfers": 5,
  "totalFlatFeeEarned": 5460000,
  "totalPercentFeeEarned": "12500000"
}