Instagram location posts by location id
tikhub.x.instagram-v3-get-location-postsInstagram: get location posts (v3)
- Price
- $0.008/successAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- 28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-get-location-posts?location_id=1016248898Preview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
tab | chaîne | Facultatif | latest). Example: ranked | ranked |
after | chaîne | Facultatif | Pagination cursor from previous response end_cursor | |
first | entier | Facultatif | Posts per page | 12 |
location_id | chaîne | Obligatoire | Location ID | 1016248898 |
page_size_override | entier | Facultatif | Page size | 12 |
- Paramètres de requête
tabchaîneFacultatiflatest). Example: ranked
Exemple :
rankedafterchaîneFacultatifPagination cursor from previous response end_cursor
firstentierFacultatifPosts per page
Exemple :
12location_idchaîneObligatoireLocation ID
Exemple :
1016248898page_size_overrideentierFacultatifPage size
Exemple :
12
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-get-location-posts?location_id=1016248898' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-get-location-posts?location_id=1016248898",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-get-location-posts?location_id=1016248898", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.008/success, frais de service inclus.