Topic Posts
Returns the posts on Instagram's own topic page for a word: the page title, total media count, description and suggested related terms, then 12 posts per call, each with id, shortcode, URL, type, caption, image and video URL, play count and owner. Pass the returned `cursor` with the same `query` to fetch the next 12. This matches Instagram's topic pages, so single words work best: a multi-word phrase often has no page, which returns 404 and is not charged. Useful for trend research and content inspiration.
What you get
Each call returns up to 12 posts, plus a cursor for the next 12.
Endpoint
GET /v1/instagram/topic-posts
Price
from $1.50
per 1,000 calls · from $0.0015 per call
Cost per call
1 credit
Failed calls never charged
Parameters
A topic, matched against Instagram's own topic pages. Single words work best; a multi-word phrase often has no page and returns 404, not charged.
Maximum records to return, capped at this service's page size (see Limits below). Omit it to receive the whole page. It shapes the response, not the price — a call costs the same either way.
Pagination cursor from a previous response. Send it with the same `query`.
Bypass cached data and force a live fetch for this one call. Use it for daily monitoring or any figure you are tracking over time. Accepts `true`, `1`, `false` or `0`; anything else returns 400 `invalid_fresh`. Defaults to false and costs exactly the same as a cached call.
One of: true, 1, false, 0
Example request
Live call. Successful calls are charged; failed and empty results are not.
curl "https://fastfetchz.com/v1/instagram/topic-posts?query=space" \
-H "X-API-Key: $FASTFETCHZ_KEY"Example response
{
"success": true,
"service": {
"platform": "Instagram",
"name": "Topic Posts",
"slug": "topic-posts"
},
"credits_charged": 1,
"credits_remaining": 99,
"latency_ms": 214,
"data": {
"items": [
{
"id": "7000496311",
"shortcode": "SAMYF",
"url": "https://example.com/instagram/nasa/496311",
"caption": "Sandbox topic posts item #1 for @nasa.",
"media_type": "image",
"like_count": 16511,
"comment_count": 416,
"view_count": 497311,
"duration_sec": 63,
"taken_at": "2026-11-30T12:36:56.296Z"
},
{
"id": "7000212990",
"shortcode": "S4KCE",
"url": "https://example.com/instagram/nasa/212990",
"caption": "Sandbox topic posts item #2 for @nasa.",
"media_type": "image",
"like_count": 13190,
"comment_count": 595,
"view_count": 213990,
"duration_sec": 62,
"taken_at": "2026-11-29T12:36:56.296Z"
}
],
"paging": {
"has_more": true,
"next_cursor": "cursor_40643"
}
}
}Getting more results
Each response includes a cursor. Pass it back as cursor to fetch the next 12 posts. Repeat until no cursor is returned.
# Call 1 — first 12 posts
curl "https://fastfetchz.com/v1/instagram/topic-posts?query=space" \
-H "X-API-Key: $FASTFETCHZ_KEY"
# -> { "data": { ... }, "cursor": "eyJwYWdlIjoyfQ" }
# Call 2 — next 12 posts
curl "https://fastfetchz.com/v1/instagram/topic-posts?query=space&cursor=eyJwYWdlIjoyfQ" \
-H "X-API-Key: $FASTFETCHZ_KEY"Limits
- Maximum per call: 12 posts.
- Minimum per call: 1 post — a target with less data returns fewer posts. A call that returns none is not charged.
- Each call fetches a full page of up to 12 and costs the same either way. Pass limit to receive fewer than that in the response.
- Larger jobs are paginated with a cursor; there is no cap on how many pages you fetch.
What this costs in practice
120,000 posts ≈ 10,000 calls × 1 credit per call = 10,000 credits
- At the Starter pack rate: $29.00
- 10,000 credits for $29.00 · $0.00290 per credit. This is the credit value used by the job, not the pack purchase price.
- At the Volume pack rate: $15.00
- 500,000 credits for $750.00 · $0.00150 per credit. This is the credit value used by the job, not the pack purchase price.