Documentazione API Hop
Riferimento degli endpoint Threads
Consulta profili, post, risposte, repost, commenti e ricerche tramite 12 endpoint Threads autenticati.
Consulta profili, post, risposte, repost, commenti e ricerche tramite 12 endpoint Threads autenticati.
Usa GET con parametri di query e senza corpo. Campi sconosciuti, duplicati o non validi vengono rifiutati. Mantieni gli ID come stringhe, anche oltre l’intervallo intero sicuro di JavaScript. Il timeout è di 60 secondi, senza tentativi automatici.
Il prezzo predefinito è $0.002 (2000 credits) per richiesta riuscita, inclusi array o oggetti vuoti, non per elemento. I prezzi specifici dell’account hanno precedenza. Gli errori del fornitore liberano la prenotazione. Gli errori di contabilizzazione non ripetono la chiamata al fornitore.
Post, repost, risposte, commenti e ricerche popolari o recenti non supportano la paginazione. end_cursor è riservato e non ha effetto; next_cursor e has_more non consentono altre pagine. Gli elenchi utente restituiscono solo il gruppo disponibile (circa 25 elementi), non l’intera cronologia. Nessun endpoint recupera altri dati automaticamente.
web-fetch_user_info
Profilo utente
GET https://api.apihop.ai/v1/threads/web/users/profile
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
username | Sì | string; Nome utente |
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
Profilo per ID
GET https://api.apihop.ai/v1/threads/web/users/profile/by-id
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
user_id | Sì | string; ID utente numerico; ^[0-9]+$ |
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
Post utente
GET https://api.apihop.ai/v1/threads/web/users/posts
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
user_id | Sì | string; ID utente numerico; ^[0-9]+$ |
end_cursor | No | string; Riservato; nessuna paginazione |
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
Repost utente
GET https://api.apihop.ai/v1/threads/web/users/reposts
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
user_id | Sì | string; ID utente numerico; ^[0-9]+$ |
end_cursor | No | string; Riservato; nessuna paginazione |
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
Risposte utente
GET https://api.apihop.ai/v1/threads/web/users/replies
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
user_id | Sì | string; ID utente numerico; ^[0-9]+$ |
end_cursor | No | string; Riservato; nessuna paginazione |
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 per ID numerico
GET https://api.apihop.ai/v1/threads/web/posts/by-id
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
post_id | Sì | string; ID post numerico; ^[0-9]+$ |
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 per codice breve o URL
GET https://api.apihop.ai/v1/threads/web/posts/detail
Prezzo per richiesta riuscita: $0.002 (2000 credits).
Almeno uno: post_id, url.
| Campo | Obbligatorio | Contratto |
|---|---|---|
post_id | No | string; Codice breve del post |
url | No | string; URL completo del post |
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
Commenti
GET https://api.apihop.ai/v1/threads/web/posts/comments
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
post_id | Sì | string; ID post numerico; ^[0-9]+$ |
end_cursor | No | string; Riservato; nessuna paginazione |
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
Ricerca popolare
GET https://api.apihop.ai/v1/threads/web/search/top
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
query | Sì | string; Termini di ricerca |
end_cursor | No | string; Riservato; nessuna paginazione |
curl --get "https://api.apihop.ai/v1/threads/web/search/top" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=bitcoin"web-search_recent
Ricerca recente
GET https://api.apihop.ai/v1/threads/web/search/recent
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
query | Sì | string; Termini di ricerca |
end_cursor | No | string; Riservato; nessuna paginazione |
curl --get "https://api.apihop.ai/v1/threads/web/search/recent" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=bitcoin"web-search_posts
Ricerca post
GET https://api.apihop.ai/v1/threads/web/search/posts
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
query | Sì | string; Termini di ricerca |
curl --get "https://api.apihop.ai/v1/threads/web/search/posts" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=bitcoin"web-search_profiles
Ricerca profili
GET https://api.apihop.ai/v1/threads/web/search/profiles
Prezzo per richiesta riuscita: $0.002 (2000 credits).
| Campo | Obbligatorio | Contratto |
|---|---|---|
query | Sì | string; Termini di ricerca |
curl --get "https://api.apihop.ai/v1/threads/web/search/profiles" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=mark"Risposte
Il JSON nativo code/data e la precisione numerica vengono conservati. Il successo richiede code=200 e data diverso da null. Un errore applicativo con HTTP 200 resta un errore. Le strutture variano; l’esempio è illustrativo, non una risposta reale.
{"code":200,"data":{"post":{"code":"DPVUglOjOUu"},"replies":[]}}Errori
HTTP 400: parametri non validi; 401: autenticazione non valida; 402: saldo insufficiente; 403: accesso negato; 405: metodo non supportato; 408: annullamento; 429: limite di frequenza; 5xx: errore del servizio o fornitore, incluso 504 per timeout. Conserva X-Request-Id.
Fonti
Verificato il 2026-10-31 con OpenAPI V5.3.2 e i prezzi ufficiali. fetch_post_id_from_url compare solo nel listino e non in OpenAPI, quindi è escluso.