curl --request GET \
--url https://api.forum.market/v1/indicesimport requests
url = "https://api.forum.market/v1/indices"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.forum.market/v1/indices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"name": "NIKE-IDX",
"slug": "NIKE",
"displayName": "Nike",
"category": "fashion",
"shortDescription": null,
"picture": null,
"currentValue": 54.898168577997346,
"changePercentPastWeek": 0.011409625617612995
}
]{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 12 seconds",
"details": {
"retryAfter": 12
}
}
}List indices
Returns every Attention Index that is being updated and has published a value, with its display details, latest value and change over the past week, ordered by name.
curl --request GET \
--url https://api.forum.market/v1/indicesimport requests
url = "https://api.forum.market/v1/indices"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.forum.market/v1/indices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"name": "NIKE-IDX",
"slug": "NIKE",
"displayName": "Nike",
"category": "fashion",
"shortDescription": null,
"picture": null,
"currentValue": 54.898168577997346,
"changePercentPastWeek": 0.011409625617612995
}
]{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 12 seconds",
"details": {
"retryAfter": 12
}
}
}Response
The indices.
The index name, used by the other index endpoints.
"FORTNITE-IDX"
The index's ticker, its name without -IDX; the Index Explorer page is https://indices.forum.market/{slug}.
"FORTNITE"
"Fortnite"
The Index Explorer section the index is listed under, such as tech, gaming, food or fashion.
"gaming"
What the index tracks, or null if it has no description yet.
Image URL, or null.
The latest published Attention Index value (after EMA smoothing).
58.6314646966042
Change since the first value published in the past 7 days, as a signed fraction (0.05 is a 5% rise), or null without a value that old.
-0.014313592470827788

