API Documentation

Threads Profile API

Threads Profile: query public data. Empty results and failed requests are free. Page size uses the service default and cannot be supplied.

Test API

Query public data using explicit parameters and saved real response examples.

Open the product page and test
POST https://api.goanyapi.com/api/v1/threads/user-profile

Request and authentication

Synchronous POST JSON endpoint; no task creation or polling. Authenticate with Authorization: Bearer YOUR_API_KEY. There are no Path or Query parameters.

Input parameters

Parameter Location Type Required Default Constraints and meaning
Authorization Header string Yes — Bearer YOUR_API_KEY
Content-Type Header string Yes application/json application/json
username JSON body string Yes — Threads username, @username or full profile URL. Prefer a URL. No prerequisite request or separate charge is required. maxLength: 2048

Prefer complete resource URLs. Threads user endpoints also accept a username or @username; no separate identifier lookup or additional charge is required. first, count and limit are not public inputs; the service default page size is used and actual results may be fewer.

Request example

POST /api/v1/threads/user-profile
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "username": "https://www.threads.com/@baby_stroller5888"
}

Output fields

Success returns HTTP 200 with business data in data.result. Null, empty strings, empty arrays and missing fields are preserved without fabricated data. False and zero are valid business values, not empty results.

Field Type Meaning
code string ok on success; public error code on failure
message string Request status message
data.result object / null Public result; may be empty or null
data.creditsUsed integer Actual credits charged; zero for empty results, database-configured rate otherwise
data.remainingCredits number Account credit balance after settlement
data.result.user object Public business field; null, empty and missing values are preserved
data.result.user.bio_links array Public business field; null, empty and missing values are preserved
data.result.user.biography string Public business field; null, empty and missing values are preserved
data.result.user.follower_count number Public business field; null, empty and missing values are preserved
data.result.user.full_name string Public business field; null, empty and missing values are preserved
data.result.user.hd_profile_pic_versions array Public business field; null, empty and missing values are preserved
data.result.user.hd_profile_pic_versions[].height number Public business field; null, empty and missing values are preserved
data.result.user.hd_profile_pic_versions[].url string Public business field; null, empty and missing values are preserved
data.result.user.hd_profile_pic_versions[].width number Public business field; null, empty and missing values are preserved
data.result.user.id string Public business field; null, empty and missing values are preserved
data.result.user.is_verified boolean Public business field; null, empty and missing values are preserved
data.result.user.pk string Public business field; null, empty and missing values are preserved
data.result.user.profile_context_facepile_users null Public business field; null, empty and missing values are preserved
data.result.user.profile_pic_url string Public business field; null, empty and missing values are preserved
data.result.user.profile_tags object Public business field; null, empty and missing values are preserved
data.result.user.profile_tags.edges array Public business field; null, empty and missing values are preserved
data.result.user.text_app_biography object Public business field; null, empty and missing values are preserved
data.result.user.text_post_app_public_views null Public business field; null, empty and missing values are preserved
data.result.user.username string Public business field; null, empty and missing values are preserved

Pagination and result boundaries

This endpoint accepts no pagination parameters and does not automatically fetch more pages.

Real response example

Captured at: 2026-11-18T09:31:16Z

Saved from a real successful request, preserving all public result records. data.creditsUsed and data.remainingCredits are omitted; live responses include the current configured charge and balance. Displaying saved examples sends no query or charge; media URLs may expire.

{
  "code": "ok",
  "message": "ok",
  "data": {
    "result": {
      "user": {
        "profile_pic_url": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-19/705259050_18075396356288813_5185164684277868153_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gGt-apvWC7FFAzCWWbbE0ofc9Rj3i7mlzqdctKRIAz_xqJRrqDB_Ei3llrMMvSpw3w&_nc_ohc=R_EMZvtdNokQ7kNvwHZW4lt&_nc_gid=XGMweXUz8yu2ph1HBmke_w&edm=APs17CUBAAAA&ccb=7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQTDLi0MmPDZ5Hg0HFIJyq5MzBH4Ko_q8MXeltdRQbzWag&oe=6B03486F&_nc_sid=10d13b",
        "pk": "35654468639",
        "username": "baby_stroller5888",
        "follower_count": 780,
        "profile_context_facepile_users": null,
        "text_post_app_public_views": null,
        "hd_profile_pic_versions": [
          {
            "height": 320,
            "url": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-19/705259050_18075396356288813_5185164684277868153_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gGt-apvWC7FFAzCWWbbE0ofc9Rj3i7mlzqdctKRIAz_xqJRrqDB_Ei3llrMMvSpw3w&_nc_ohc=R_EMZvtdNokQ7kNvwHZW4lt&_nc_gid=XGMweXUz8yu2ph1HBmke_w&edm=APs17CUBAAAA&ccb=7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQTUWtVM-p-ux9tcTu3jZ1ML8IZmUoadhEBRFu8PnYmMiQ&oe=6B03486F&_nc_sid=10d13b",
            "width": 320
          },
          {
            "height": 640,
            "url": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-19/705259050_18075396356288813_5185164684277868153_n.jpg?stp=dst-jpg_s640x640_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gGt-apvWC7FFAzCWWbbE0ofc9Rj3i7mlzqdctKRIAz_xqJRrqDB_Ei3llrMMvSpw3w&_nc_ohc=R_EMZvtdNokQ7kNvwHZW4lt&_nc_gid=XGMweXUz8yu2ph1HBmke_w&edm=APs17CUBAAAA&ccb=7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQTCSe64O3NFHEKcf7gdbFxKrHc_sNfuXC2UExlG0iYzeA&oe=6B03486F&_nc_sid=10d13b",
            "width": 640
          }
        ],
        "is_verified": true,
        "biography": "初淨 Pure Clean\n我是龜毛爸 👶 專業母嬰用品清潔\n|嬰兒推車|安全汽座|寶寶餐椅|\n深度拆洗|除塵毛球|細節清潔 |紫外線消毒\n📍三峽區免費收送\n🚚 雙北收件服務\n讓寶寶用品恢復最初的純淨✨\n(更多資訊都在IG)\n私訊我們IG,有專人為您服務",
        "text_app_biography": {},
        "full_name": "初淨 Pure clean",
        "bio_links": [],
        "profile_tags": {
          "edges": []
        },
        "id": "35654468639"
      }
    }
  }
}

Billing

…

Only nonempty successful results are charged at the current database-configured rate. Empty results and failures are free; internal identifier handling has no additional charge. Each page settles separately. Valid false and zero results are not treated as empty.

Status codes

HTTP Meaning
200 Success, including free empty results
400 Invalid JSON, parameters or resource URL
401 Authentication required or invalid credentials
402 Insufficient credits
429 Rate limited; follow Retry-After
502 Data request failed
503 API or pricing is not configured