Observe the API at the link http://model-v2-api-471546444.us-east-1.elb.amazonaws.com:8001/docs#/
The callable methods and their output are enumerated below. Port 8001 corresponds to ETH, port 8002 corresponds to Base.
http://model-v2-api-471546444.us-east-1.elb.amazonaws.com:8001/api/v1/health
Returns a string
of server health (i.e., allows to notice downtime of the server).
[http://model-v2-api-471546444.us-east-1.elb.amazonaws.com:8001/api/v1/predict/](<http://model-v2-api-471546444.us-east-1.elb.amazonaws.com:8001/api/v1/predict/0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84>){tokenAddress}
<aside> 💡 The token address cannot be a stablecoin (try substituting USDT)
</aside>
Returns, it would seem, historical predictions of price (i.e., not at a future timestamp). Trying it with a stETH address yielded me predictions up to three days back (albeit the prediction is always in the future relative to the observation, so there’s that). The response has a structure of the kind:
{
"address": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
"last_activity": "2024-06-19T06:28:35",
"prediction": 50.973,
"predict_at": "2024-06-19T18:10:12",
"price": 3550.90155214878,
"volume": 234.336442,
"mean_pnl": 986.875864252066,
"max_pnl": 986.875864252066,
"transactions": 3
},
Where:
address
- address of tokenlast_activity
- lsat observed activity (token transfers)prediction
- Forecasted price movement for the future (delta?)predict_at
- time of predictionprice
- price at most recent txvolume
- hourly volume at most recent txmean_pnl
, max_pnl
- profit and loss (mean and max) of buyers at most recent txtransactions
- nr of txns at most recent