Trending markets: trending.list¶
Fetches the trending markets list shown on the Future News trending page.
| HTTP | POST https://future.news/events/api/trending/list |
| Auth | none |
| Returns | TrendingResponse (.items; unknown fields kept) |
Parameters¶
| Parameter | Type | Default | Notes |
|---|---|---|---|
limit |
int |
100 |
1 to 100 (strict integer), validated before the request |
order_by |
str |
"volume24h" |
|
rank_type |
str |
"trending" |
|
status |
list[str] |
["active"] |
|
market_status |
str |
"active" |
|
categories, subcategories |
list[str] |
[] |
|
exclude_series |
bool |
False |
Misspelled options raise ValueError.
Example (sync)¶
from futurenews import FutureNews
with FutureNews() as client:
for item in client.trending.list(limit=10).items:
print(item.model_dump())
Example (async)¶
import asyncio
from futurenews import AsyncFutureNews
async def main():
async with AsyncFutureNews() as client:
print(len((await client.trending.list(limit=10)).items))
asyncio.run(main())
Need the "new" tab or tag filters? Use rank.list.
Equivalent request¶
curl 'https://future.news/events/api/trending/list?from_app=future-web&os=web' \
-H 'content-type: application/json' \
--data-raw '{"exclude_series":false,"rank_type":"trending","categories":[],"subcategories":[],"status":["active"],"market_status":"active","order_by":"volume24h","limit":100}'
Blocked with 403? See Errors & Cloudflare.
Related: Authentication · All endpoints
Don't have a Future News account?
Sign up with our link. It's free for you and supports this library.
Build something with this data
Chipa dev team builds trading bots and tools: Bot development · ChipaX exchange · Chipa Editor · Discord