investment

GET /api/Token/KOL_Investment_bnb Description: Retrieves the total buy, sell, and profit/loss (in BNB) for KOL transactions associated with a specific mint address.Query Parameters

Parameter

Type

Required

Description

api_key

String

Yes

API key for authentication.

mint

String

Yes

Mint address to filter transactions.

Response

  • Status Code: 200 OK

  • Content-Type: application/json

  • Body:

{
  "mint": "string",
  "buy": number,
  "sell": number,
  "profit_loss": number
}

Error Responses

  • 400 Bad Request:

{
  "error": "Mint address is required"
}
  • 403 Forbidden:

Example Request

Example Response

Notes

  • Responses are cached for 5 seconds.

  • Profit/loss = total sell - total buy.

Last updated