API Hop

Documentation

API Hop Docs

Threads endpoint reference

Read profiles, posts, replies, reposts, comments and search results through 12 authenticated Threads endpoints.

Read profiles, posts, replies, reposts, comments and search results through 12 authenticated Threads endpoints.

Use GET query parameters without a request body. Unknown, duplicate or invalid fields are rejected. Keep IDs as strings, including values beyond the JavaScript safe integer range. Requests time out after 60 seconds and are not automatically retried.

The default price is $0.002 (2000 credits) per successful request, including successful empty arrays or objects, not per item. Account-specific prices take precedence. Failed upstream requests release the reservation. Settlement errors return an error without repeating the upstream request.

User posts, reposts, replies, post comments, top search and recent search do not support pagination. Their end_cursor field is reserved and has no effect; do not use next_cursor or has_more to fetch further pages. User lists return only the available batch (about 25 items), not full history. No endpoint automatically retrieves more data.

web-fetch_user_info

User profile

GET https://api.apihop.ai/v1/threads/web/users/profile

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
usernameYesstring; Username
bash
curl --get "https://api.apihop.ai/v1/threads/web/users/profile" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "username=jlo"

web-fetch_user_info_by_id

User profile by ID

GET https://api.apihop.ai/v1/threads/web/users/profile/by-id

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
user_idYesstring; Numeric user ID; ^[0-9]+$
bash
curl --get "https://api.apihop.ai/v1/threads/web/users/profile/by-id" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "user_id=67027868801"

web-fetch_user_posts

User posts

GET https://api.apihop.ai/v1/threads/web/users/posts

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
user_idYesstring; Numeric user ID; ^[0-9]+$
end_cursorNostring; Reserved; no pagination
bash
curl --get "https://api.apihop.ai/v1/threads/web/users/posts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "user_id=63625256886"

web-fetch_user_reposts

User reposts

GET https://api.apihop.ai/v1/threads/web/users/reposts

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
user_idYesstring; Numeric user ID; ^[0-9]+$
end_cursorNostring; Reserved; no pagination
bash
curl --get "https://api.apihop.ai/v1/threads/web/users/reposts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "user_id=63625256886"

web-fetch_user_replies

User replies

GET https://api.apihop.ai/v1/threads/web/users/replies

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
user_idYesstring; Numeric user ID; ^[0-9]+$
end_cursorNostring; Reserved; no pagination
bash
curl --get "https://api.apihop.ai/v1/threads/web/users/replies" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "user_id=63625256886"

web-fetch_post_detail

Post by numeric ID

GET https://api.apihop.ai/v1/threads/web/posts/by-id

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
post_idYesstring; Numeric post ID; ^[0-9]+$
bash
curl --get "https://api.apihop.ai/v1/threads/web/posts/by-id" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "post_id=3349029093483693129"

web-fetch_post_detail_v2

Post by shortcode or URL

GET https://api.apihop.ai/v1/threads/web/posts/detail

Price per successful request: $0.002 (2000 credits).

At least one: post_id, url.

FieldRequiredContract
post_idNostring; Post shortcode
urlNostring; Full post URL
bash
curl --get "https://api.apihop.ai/v1/threads/web/posts/detail" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "post_id=DPVUglOjOUu"

web-fetch_post_comments

Post comments

GET https://api.apihop.ai/v1/threads/web/posts/comments

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
post_idYesstring; Numeric post ID; ^[0-9]+$
end_cursorNostring; Reserved; no pagination
bash
curl --get "https://api.apihop.ai/v1/threads/web/posts/comments" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "post_id=3390920896561588969"

web-search_top

Top search

GET https://api.apihop.ai/v1/threads/web/search/top

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
queryYesstring; Search terms
end_cursorNostring; Reserved; no pagination
bash
curl --get "https://api.apihop.ai/v1/threads/web/search/top" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=bitcoin"

web-search_recent

Recent search

GET https://api.apihop.ai/v1/threads/web/search/recent

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
queryYesstring; Search terms
end_cursorNostring; Reserved; no pagination
bash
curl --get "https://api.apihop.ai/v1/threads/web/search/recent" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=bitcoin"

web-search_posts

Post search

GET https://api.apihop.ai/v1/threads/web/search/posts

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
queryYesstring; Search terms
bash
curl --get "https://api.apihop.ai/v1/threads/web/search/posts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=bitcoin"

web-search_profiles

Profile search

GET https://api.apihop.ai/v1/threads/web/search/profiles

Price per successful request: $0.002 (2000 credits).

FieldRequiredContract
queryYesstring; Search terms
bash
curl --get "https://api.apihop.ai/v1/threads/web/search/profiles" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=mark"

Responses

The native JSON code/data envelope and numeric precision are preserved. Success requires code=200 and non-null data. An HTTP 200 business error is a failure. Response shapes vary by endpoint; this example is illustrative, not a live response.

json
{"code":200,"data":{"post":{"code":"DPVUglOjOUu"},"replies":[]}}

Errors

HTTP 400: invalid parameters; 401: authentication failure; 402: insufficient credit; 403: access denied; 405: unsupported method; 408: cancellation; 429: rate limit; 5xx: service or upstream failure, including 504 timeout. Keep X-Request-Id for diagnosis.

Sources

Checked against official OpenAPI V5.3.2 and endpoint prices on 2026-10-31. The price-only fetch_post_id_from_url operation is excluded because it is absent from OpenAPI.

TikHub · OpenAPI · Prices