Search Instagram posts by hashtag — caption, engagement
scrapecreators.x.v1-instagram-search-hashtagFinds public Instagram posts for a hashtag using Google Search, then returns post details such as caption, play count when available, like count, comment count, owner, and post time.
- Price
- $0.00188/callAu 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/scrapecreators.x.v1-instagram-search-hashtag?hashtag=makeupPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
cursor | chaîne | Facultatif | The cursor returned by the previous response. It is the next Google results page number and cannot exceed 11; cursor 12 or greater returns a 400 response. | 2 |
hashtag | chaîne | Obligatoire | The hashtag to search for. Include or omit the #. | makeup |
media_type | chaîne | Facultatif | Use all to search public posts and reels, or reels to only return reels. Defaults to all. | all |
date_posted | chaîne | Facultatif | Only return Google-indexed posts found in this relative window. | last-week |
- Paramètres de requête
cursorchaîneFacultatifThe cursor returned by the previous response. It is the next Google results page number and cannot exceed 11; cursor 12 or greater returns a 400 response.
Exemple :
2hashtagchaîneObligatoireThe hashtag to search for. Include or omit the #.
Exemple :
makeupmedia_typechaîneFacultatifUse all to search public posts and reels, or reels to only return reels. Defaults to all.
Exemple :
alldate_postedchaîneFacultatifOnly return Google-indexed posts found in this relative window.
Exemple :
last-week
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-instagram-search-hashtag?hashtag=makeup' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-instagram-search-hashtag?hashtag=makeup",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-instagram-search-hashtag?hashtag=makeup", {
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.00188/call, frais de service inclus.