Skip to main content
GET
/
action
/
rewards
/
mini-apps-with-onchain-metrics
Get KOL mini-apps and onchain metrics by ADDRESS
curl --request GET \
  --url http://localhost:4000/v1/action/rewards/mini-apps-with-onchain-metrics \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "<string>",
  "statusCode": 123,
  "timestamp": "<string>",
  "data": {
    "miniApps": [
      {
        "id": "<string>",
        "id_user": {},
        "integrator_id": {},
        "description": "<string>",
        "wallet_address": "<string>",
        "metadata": {},
        "contract_address": {},
        "type": {},
        "tx_hash": {},
        "blockchain_network": 123,
        "blockchain_network_destination": {},
        "created_at": {},
        "updated_at": {},
        "is_active": {},
        "protocol": {},
        "source": {},
        "stats": {
          "volume": 123,
          "fees": 123,
          "swaps": [
            {
              "tokenAddress": "<string>",
              "amountIn": "<string>",
              "feeUsd": 123,
              "volumeUsd": 123,
              "transactionHash": "<string>",
              "timestamp": 123,
              "logId": "<string>",
              "priceFound": true
            }
          ],
          "tokensWithoutPrice": [
            "<string>"
          ],
          "postHogStats": [
            {
              "event_type": "trigger_action_executed",
              "count": 25,
              "previous_count": 15,
              "performance": "66.67"
            }
          ]
        }
      }
    ],
    "globalStats": [
      {
        "volume": 123,
        "fees": 123
      }
    ]
  },
  "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