Skip to main content

Trending

Trending endpoints answer one question: what is getting attention right now? They return counts and token or contract identifiers, not post text and not sentiment.

EndpointReturns
GET /v2/aggregations/trending-tokensTokens ranked by mention count. Experimental.
GET /v2/aggregations/trending-cas/twitterContract addresses mentioned on Twitter/X, with mention counts.
GET /v2/aggregations/trending-cas/telegramContract addresses mentioned on Telegram, with mention counts.

Trending Tokens​

GET /v2/aggregations/trending-tokens returns tokens with the most mentions over a time period, filtered by a minimum mention threshold.

Experimental endpoint

This endpoint is under active development and its behavior may change without notice. Use it with caution in production.

Sample response (from the spec example):

{
"success": true,
"data": {
"pageSize": 1,
"page": 1,
"total": 1,
"data": [
{ "change_percent": 1, "previous_count": 1, "current_count": 1, "token": "string" }
]
}
}

Request:

curl "https://api.elfa.ai/v2/aggregations/trending-tokens?timeWindow=24h&page=1&pageSize=1&minMentions=5" \
-H "x-elfa-api-key: $ELFA_API_KEY"
FieldTypeMeaning
data.pagenumberCurrent page.
data.pageSizenumberItems per page.
data.totalnumberTotal matching tokens.
data.data[].tokenstringThe token.
data.data[].current_countnumberMentions in the window.
data.data[].previous_countnumberNot described in the spec.
data.data[].change_percentnumberNot described in the spec.
ParameterRequiredTypeMeaning
timeWindowNostringWindow ending now, e.g. 30m, 1h, 4h, 24h, 7d, 30d. Default 7d.
fromNonumberStart of the window, unix timestamp. Use with to.
toNonumberEnd of the window, unix timestamp. Use with from.
pageNonumberPage number. Default 1.
pageSizeNonumberItems per page. Default 50.
minMentionsNonumberMinimum mentions for an item to be included. Default 5.

timeWindow or from and to​

Provide either timeWindow or both from and to. If you send both, from and to take priority and timeWindow is ignored.

Uses​

  • Start each run from live attention instead of a hardcoded ticker list.
  • Compare a short window against a longer one to separate tokens heating up from tokens that already peaked.
  • Use minMentions as a significance floor.

Also via x402: GET /x402/v2/aggregations/trending-tokens

Trending Contract Addresses on Twitter​

GET /v2/aggregations/trending-cas/twitter returns contract addresses mentioned on Twitter/X, with mention counts.

Sample response (from the spec example):

{
"success": true,
"data": {
"pageSize": 1,
"page": 1,
"total": 1,
"data": [
{ "contractAddress": "string", "chain": "ethereum", "mentionCount": 1 }
]
}
}

Request:

curl "https://api.elfa.ai/v2/aggregations/trending-cas/twitter?timeWindow=24h&page=1&pageSize=1&minMentions=5" \
-H "x-elfa-api-key: $ELFA_API_KEY"
FieldTypeMeaning
data.pagenumberCurrent page.
data.pageSizenumberItems per page.
data.totalnumberTotal matching items.
data.data[].contractAddressstringThe contract address.
data.data[].chainstringChain of the contract, e.g. ethereum.
data.data[].mentionCountnumberMentions in the window.
ParameterRequiredTypeMeaning
timeWindowNostringWindow ending now, e.g. 30m, 1h, 4h, 24h, 7d, 30d. Default 7d.
fromNonumberStart of the window, unix timestamp. Use with to.
toNonumberEnd of the window, unix timestamp. Use with from.
pageNonumberPage number. Default 1.
pageSizeNonumberItems per page. Default 50.
minMentionsNonumberMinimum mentions for an item to be included. Default 5.

timeWindow or from and to​

Provide either timeWindow or both from and to. If you send both, from and to take priority and timeWindow is ignored.

Read It With Telegram​

Use it to confirm whether a Telegram lead has crossed into the broader surface. Mention counts help an agent skip dead tickers.

Also via x402: GET /x402/v2/aggregations/trending-cas/twitter

Trending Contract Addresses on Telegram​

GET /v2/aggregations/trending-cas/telegram returns contract addresses mentioned on Telegram, with mention counts.

Sample response (from the spec example):

{
"success": true,
"data": {
"pageSize": 1,
"page": 1,
"total": 1,
"data": [
{ "contractAddress": "string", "chain": "ethereum", "mentionCount": 1 }
]
}
}

Request:

curl "https://api.elfa.ai/v2/aggregations/trending-cas/telegram?timeWindow=24h&page=1&pageSize=1&minMentions=5" \
-H "x-elfa-api-key: $ELFA_API_KEY"
FieldTypeMeaning
data.pagenumberCurrent page.
data.pageSizenumberItems per page.
data.totalnumberTotal matching items.
data.data[].contractAddressstringThe contract address.
data.data[].chainstringChain of the contract, e.g. ethereum.
data.data[].mentionCountnumberMentions in the window.
ParameterRequiredTypeMeaning
timeWindowNostringWindow ending now, e.g. 30m, 1h, 4h, 24h, 7d, 30d. Default 7d.
fromNonumberStart of the window, unix timestamp. Use with to.
toNonumberEnd of the window, unix timestamp. Use with from.
pageNonumberPage number. Default 1.
pageSizeNonumberItems per page. Default 50.
minMentionsNonumberMinimum mentions for an item to be included. Default 5.

timeWindow or from and to​

Provide either timeWindow or both from and to. If you send both, from and to take priority and timeWindow is ignored.

Read It Before Twitter​

Telegram often shows contract addresses circulating before they reach broader Twitter visibility. Use it in place of group scraping or a hand-maintained watchlist.

Also via x402: GET /x402/v2/aggregations/trending-cas/telegram

Reading Twitter and Telegram Together​

Appears whereWhat it means
Telegram, not yet TwitterEarly circulation.
Both Telegram and TwitterThe move is already running.
Twitter, fading on TelegramLate or losing freshness.

Errors​

No errors specific to these endpoints. See Enums and Errors.