Vai al contenuto
GET /v1/search/global

Global search

Combined search across users, posts and hashtags — single query, multi-type results.

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/tiktok-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/tiktok-api/v1/search/global" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tiktok-api/v1/search/global", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tiktok-api/v1/search/global");
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/tiktok-api/v1/search/global",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "posts": [
            {
                "id": "7477964535081487621",
                "post_url": "https://www.tiktok.com/@chefreactions/video/7477964535081487621",
                "username": "chefreactions",
                "video_id": "7477964535081487621"
            },
            {
                "id": "7403060183817145633",
                "post_url": "https://www.tiktok.com/@chef_donky/video/7403060183817145633",
                "username": "chef_donky",
                "video_id": "7403060183817145633"
            },
            {
                "id": "7450553185225215274",
                "post_url": "https://www.tiktok.com/@jeffandlaurenshow/video/7450553185225215274",
                "username": "jeffandlaurenshow",
                "video_id": "7450553185225215274"
            },
            {
                "id": "7112079360596708613",
                "post_url": "https://www.tiktok.com/@chefreactions/video/7112079360596708613",
                "username": "chefreactions",
                "video_id": "7112079360596708613"
            },
            {
                "id": "7074315044032515374",
                "post_url": "https://www.tiktok.com/@flakeysalt/video/7074315044032515374",
                "username": "flakeysalt",
                "video_id": "7074315044032515374"
            },
            {
                "id": "7486565380748545286",
                "post_url": "https://www.tiktok.com/@chefreactions/video/7486565380748545286",
                "username": "chefreactions",
                "video_id": "7486565380748545286"
            },
            {
                "id": "7506898180458515717",
                "post_url": "https://www.tiktok.com/@chefreactions/video/7506898180458515717",
                "username": "chefreactions",
                "video_id": "7506898180458515717"
            },
            {
                "id": "7188544894204431622",
                "post_url": "https://www.tiktok.com/@chefreactions/video/7188544894204431622",
                "username": "chefreactions",
                "video_id": "7188544894204431622"
            },
            {
                "id": "7272034990349700398",
                "post_url": "https://www.tiktok.com/@livforpasta/video/7272034990349700398",
                "username": "livforpasta",
                "video_id": "7272034990349700398"
            },
            {
                "id": "7123566469937483014",
                "post_url": "https://www.tiktok.com/@chefreactions/video/7123566469937483014",
                "username": "chefreactions",
                "video_id": "7123566469937483014"
            }
        ],
        "query": "chef",
        "users": [
            {
                "username": "chefchrischo",
                "profile_url": "https://www.tiktok.com/@chefchrischo"
            },
            {
                "username": "chefreactions",
                "profile_url": "https://www.tiktok.com/@chefreactions"
      
…