Aller au contenu
GET /api/v1/trending/posts

Trending posts

Aktuell trendende Posts.

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/threads-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/threads-api/api/v1/trending/posts" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/threads-api/api/v1/trending/posts", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/threads-api/api/v1/trending/posts");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/threads-api/api/v1/trending/posts",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "count": 15,
        "query": "site:threads.com/@*/post Threads trending today",
        "results": [
            {
                "url": "https://www.threads.com/@threads/post/C4tIdJPOTeJ",
                "title": "search operators",
                "source": "live_web_search",
                "snippet": "Too few matches were found",
                "username": "threads",
                "post_code": "C4tIdJPOTeJ"
            },
            {
                "url": "https://www.threads.com/@zuck/post/C4s6IiDL9rW/trending-now-is-rolling-out-to-the-us-today-so-you-can-see-what-people-are-talki?hl=en",
                "title": null,
                "source": "live_web_search",
                "snippet": "March 19, 2024 -",
                "username": "zuck",
                "post_code": "C4s6IiDL9rW"
            },
            {
                "url": "https://www.threads.com/@buffer/post/DUlS3gKESsI/threads-trending-topics-are-now-live-in-buffer-conversations-on-threads-move",
                "title": null,
                "source": "live_web_search",
                "snippet": null,
                "username": "buffer",
                "post_code": "DUlS3gKESsI"
            },
            {
                "url": "https://www.threads.com/@yusufshid/post/DXp3a5fE3W0/threads-akan-merilis-fitur-baru-trending-now-artinya-tren-dan-berita-terkini",
                "title": null,
                "source": "live_web_search",
                "snippet": null,
                "username": "yusufshid",
                "post_code": "DXp3a5fE3W0"
            },
            {
                "url": "https://www.threads.com/@threads/post/DPUIIM8EYd1",
                "title": null,
                "source": "live_web_search",
                "snippet": null,
                "username": "threads",
                "post_code": "DPUIIM8EYd1"
            },
            {
                "url": "https://www.threads.com/@coingecko/post/DIQ7F4eOMep/top-6-trending-categories-today-1-mobile-mining2-tap-to-earn3-proof-of-work-pow4?hl=en",
                "title": null,
                "source": "live_web_search",
                "snippet": null,
                "username": "coingecko",
                "post_code": "DIQ7F4eOMep"
            },
            {
                "url": "https://www.threads.com/@buffer/post/DUlS52hkSZx/trending-topics-is-now-available-on-all-buffer-plans-including-free-we-hope-you-",
                "title": null,
                "source": "live_web_search",
                "snippet": "Threads 126.7K Followers • 3.3K Threads • World’s largest independent cryptocurrency data aggregator. Tag @CoinGecko to share the 💚 https://www.coingecko.com...",
                "username": "buffer",
                "post_code": "DUlS52hkSZx"
            },
            {
                "url": "https://www.threads.com/@someoneuser81/post/DSPyYXUEfSW/threads-now-has-widgets-on-i-os-you-can-now-see-trending-topics-on-threads?hl=en",
        
…