Latest crypto fear-and-greed index
GET/api/v1.0/quote/crypto/fear-greed/latestLatest crypto fear-and-greed index. No request params. Returns index (0-100) and timestamp (seconds).
Parameters
No parameters.
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/crypto/fear-greed/latest' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse parameters
| Name | Type | Description |
|---|---|---|
data.index | int | Fear and greed index, 0-100 |
data.timestamp | int | Observation time, Unix microseconds |
Errors
| ret_code | error.code | Description |
|---|---|---|
| 0 | — | Success |
| -3 | invalid_parameter | Missing or invalid parameter |
| -8 | unsupported | Not supported |
| -10 | no_data | No data |
Response example
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"index": 0,
"timestamp": 1710000000000000
}
}