Aller au contenu
GET /v1/meta

Service metadata

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/baiduhot-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/baiduhot-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/baiduhot-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/baiduhot-api/v1/meta");
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/baiduhot-api/v1/meta",
    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": {
        "note": "realtime takes limit (1-50). category takes tab (one of: movie, teleplay, novel, game, car, finance). meta takes no parameters. heat_score is Baidu's own ranking metric, not a raw search count; words/descriptions are Chinese as published. A short ~5-minute cache fronts Baidu.",
        "sample": {
            "top_word": "这届世界杯有点太政治了",
            "hot_score": 7809423
        },
        "source": "Baidu public top-board endpoint (top.baidu.com/api/board), keyless, live",
        "service": "baiduhot-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/category": "A themed board by tab (tab=movie).",
            "GET /v1/realtime": "Baidu realtime national hot-search board, ranked by heat (limit)."
        },
        "categories": [
            "movie",
            "teleplay",
            "novel",
            "game",
            "car",
            "finance"
        ],
        "description": "The live Baidu trending boards (百度热搜), keyless. Baidu is China's dominant search engine and its hot-search board is the country's most-watched read on what people are searching for right now — China's real-time search trending. The realtime endpoint returns the main national hot-search board ranked by heat (word, heat score, rank, rising/falling, tag, description); the category endpoint returns a themed board (movie, teleplay, novel, game, car, finance). The Baidu trending cut — distinct from the Western trends feeds and the platform feeds; it is what China is searching for.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-13T04:42:32.780Z",
        "request_id": "53bf6772-0f07-46d7-908d-8e3b922eeec1"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}