Skip to main content
GET
/
ai
/
v1
/
questions
/
trending
Get trending questions
curl --request GET \
  --url https://api.messari.io/ai/v1/questions/trending \
  --header 'X-Messari-API-Key: <api-key>'
import requests

url = "https://api.messari.io/ai/v1/questions/trending"

headers = {"X-Messari-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-Messari-API-Key': '<api-key>'}};

fetch('https://api.messari.io/ai/v1/questions/trending', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.messari.io/ai/v1/questions/trending",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Messari-API-Key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.messari.io/ai/v1/questions/trending"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-Messari-API-Key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.messari.io/ai/v1/questions/trending")
.header("X-Messari-API-Key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.messari.io/ai/v1/questions/trending")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Messari-API-Key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "error": null,
  "data": {
    "questions": [
      {
        "question": "What implications does Trump's pardon of CZ have for cryptocurrency regulation and market sentiment?",
        "topic_title": "Trump Pardons Binance Founder CZ",
        "topic_id": "2faa9dc6-a855-54ed-865c-419a01fb1a8b"
      },
      {
        "question": "Will Bitcoin break below $100K before surging to new highs, or is this consolidation just a mid-cycle reset before the next leg up?",
        "topic_title": "Bitcoin Consolidates at $110K Amid Mixed Predictions",
        "topic_id": "2f3ad098-1568-5b3f-86d3-1682ad8b36ba"
      },
      {
        "question": "Tell me about Hyperliquid's strategic moves with its billion-dollar fundraising and first major exchange listing?",
        "topic_title": "Hyperliquid's $1B Raise and Robinhood Listing",
        "topic_id": "e95b2bd7-668a-5fb8-85df-fa328931fbaa"
      },
      {
        "question": "What tactics are crypto users employing to maximize their eligibility for valuable airdrops like Meteora and idOS Network?",
        "topic_title": "Meteora Airdrop Launch and Crypto Distribution Strategies",
        "topic_id": "8f735ef8-4947-5797-b716-4f33aa132218"
      },
      {
        "question": "How does Wallchain's \"Quacks\" system transform social media engagement into potential crypto rewards?",
        "topic_title": "Wallchain Quacks Reward System",
        "topic_id": "00f77b9b-b82c-5798-997a-3bab4cb49819"
      }
    ]
  }
}
{
"data": "<unknown>",
"error": "<string>"
}
{
"data": "<unknown>",
"error": "<string>"
}
{
"data": "<unknown>",
"error": "<string>"
}
Trending questions are generated based on the latest trending topics each question corresponds to a topic the are ordered by the topic’s trending score. The topics are part of the Topics API

Authorizations

X-Messari-API-Key
string
header
required

Query Parameters

limit
integer<int64>
default:5
required

Maximum number of questions to return

Response

Default response

data
object
required
error
string