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/callAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-instagram-search-hashtag?hashtag=makeupPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
cursor | string | Optional | 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 | string | Required | The hashtag to search for. Include or omit the #. | makeup |
media_type | string | Optional | Use all to search public posts and reels, or reels to only return reels. Defaults to all. | all |
date_posted | string | Optional | Only return Google-indexed posts found in this relative window. | last-week |
- Query parameters
cursorstringOptionalThe 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.
Example:
2hashtagstringRequiredThe hashtag to search for. Include or omit the #.
Example:
makeupmedia_typestringOptionalUse all to search public posts and reels, or reels to only return reels. Defaults to all.
Example:
alldate_postedstringOptionalOnly return Google-indexed posts found in this relative window.
Example:
last-week
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the 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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.