Skip to main content
GET
/
action
/
rewards
/
metrics
Get KOL metrics by ADDRESS
curl --request GET \
  --url http://localhost:4000/v1/action/rewards/metrics \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "<string>",
  "statusCode": 123,
  "timestamp": "<string>",
  "data": {
    "triggerIds": [
      "84e6d016-d4c5-4869-8ffa-e9b48f4e6d96"
    ],
    "stats": [
      "<array>"
    ],
    "totalEvents": 42,
    "events": [
      "<array>"
    ]
  },
  "path": "<string>"
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Query Parameters

kolAddress
string
required

The Kol address for which you want to fetch metrics

miniAppId
string

Mini App ID

Example:

"123e4567-e89b-12d3-a456-426614174000"

timeRange
enum<string>

Time range for the metrics

Available options:
24h,
7d,
30d,
all

Response

200 - application/json
success
boolean
required
message
string
required
statusCode
number
required
timestamp
string
required
data
object
path
string