Skip to main content
GET
/
analytics
/
predictions
Get AI predictions
curl --request GET \
  --url https://api.solarsentra.io/v1/analytics/predictions \
  --header 'Authorization: Bearer <token>'
{
  "walletId": "wlt_abc123def456",
  "nextTransactionProbability": 0.78,
  "estimatedTimeToNext": 4.2,
  "likelyAction": "swap",
  "confidence": 0.84,
  "predictedTokens": [
    {
      "token": "USDC",
      "probability": 0.65
    }
  ],
  "factors": [
    "historical_pattern",
    "time_of_day",
    "recent_market_movement"
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header

Query Parameters

walletId
string
required
Example:

"wlt_abc123def456"

Response

200 - application/json

AI predictions retrieved successfully

walletId
string
Example:

"wlt_abc123def456"

nextTransactionProbability
number
Example:

0.78

estimatedTimeToNext
number

Estimated hours until next transaction

Example:

4.2

likelyAction
enum<string>
Available options:
buy,
sell,
transfer,
stake,
swap
Example:

"swap"

confidence
number
Example:

0.84

predictedTokens
object[]
factors
string[]
Example:
[
"historical_pattern",
"time_of_day",
"recent_market_movement"
]
I