Μετάβαση στο περιεχόμενο
GET /api/v1/users/profile

User profile

Vollständiges Profil per Username.

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/threads-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "matched": {
            "url": "https://www.threads.com/@zuck",
            "title": null,
            "source": "live_web_search",
            "snippet": "Clear filter",
            "username": "zuck",
            "post_code": null
        },
        "username": "zuck",
        "profile_url": "https://www.threads.net/@zuck",
        "source_results": [
            {
                "url": "https://www.threads.com/@zuck",
                "title": null,
                "source": "live_web_search",
                "snippet": "Clear filter",
                "username": "zuck",
                "post_code": null
            },
            {
                "url": "https://www.threads.com/@zuck/post/Cywjyrdv9T6",
                "title": "Good conversation with @hubermanlab and @cillachan about science…",
                "source": "live_web_search",
                "snippet": "› @zuck",
                "username": "zuck",
                "post_code": "Cywjyrdv9T6"
            },
            {
                "url": "https://www.threads.com/@zuck/post/DEhgYx4JbEG?hl=en",
                "title": "Good conversation with @hubermanlab and @cillachan about science…",
                "source": "live_web_search",
                "snippet": "Good conversation with @hubermanlab and @cillachan about science… Good conversation with @hubermanlab and @cillachan about science, AI, and mixed reality. Check out the full episode on YouTube. https://www.youtube. com /watch?v=1Wo6SqLNmLk",
                "username": "zuck",
                "post_code": "DEhgYx4JbEG"
            },
            {
                "url": "https://www.threads.com/@zuck/post/C_A9Zt0pK6M?hl=en",
                "title": "Mark Zuckerberg (@zuck) on Threads",
                "source": "live_web_search",
                "snippet": "Good conversation with @hubermanlab and @cillachan about science, AI, and mixed reality. Check out the full episode on YouTube. https://www.youtube. com /watch?v=1Wo6SqLNmLk",
                "username": "zuck",
                "post_code": "C_A9Zt0pK6M"
            },
            {
                "url": "https://www.threads.com/@zuck/post/DKudiKcRO4i/video-were-starting-to-test-dms-on-threads-if-you-get-access-to-this-slide-through",
                "title": "@eldsjal and I wrote a piece for the Economist about how Europe…",
                "source": "live_web_search",
                "snippet": "It's time to get back to our roots around free expression and giving people voice on our platforms. Here's what we're going to do:",
                "username": "zuck",
                "post_code": "DKudiKcRO4i"
            },
            {
                "url": "https://www.threads.com/@zuck/post/C90rSTwO78K",
                "title": "We're starting to test DMs on Threads. If you get access to this",
                "source": "live_web_search",
                "snippet": "We're starting to test DMs on Threads. If you get access to t
…