tagstringbắt buộc
Hashtag keyword (without #)
https://api.sandbase.ai/v1/api/instagram/v3/hashtag-postsRetrieves public posts associated with a specified hashtag. Supports pagination cursors to browse through historical content feeds.
[
{
"data": {
"count": 27,
"items": [
{
"caption_text": "ℙ𝕚𝕟𝕥𝕠 𝔹𝕖𝕒𝕟 & 𝕊𝕨𝕖𝕖𝕥 ℙ𝕠𝕥𝕒𝕥𝕠 𝕊𝕜𝕚𝕝𝕝𝕖𝕥\n\n𝔼𝕒𝕤𝕪 ✅\n𝔻𝕖𝕝𝕚𝕔𝕚𝕠𝕦𝕤😋\nℂ𝕣𝕦𝕖𝕝𝕥𝕚𝕖𝕤𝕤 𝕗𝕣𝕖𝕖🐮\n\n𝕀𝕟𝕘𝕣𝕖𝕕𝕚𝕖𝕟𝕥𝕤 🌱\n4ᴏᴢ ʀᴇᴅ ᴘᴇᴘᴘᴇʀ & ᴏɴɪᴏɴ\n4ᴏᴢ ꜱᴡᴇᴇᴛ ᴘᴏᴛᴀᴛᴏ\n1/2 ᴄᴜᴘ Qᴜɪɴᴏᴀ\n2 ᴛᴀᴘ ᴠᴇɢᴇᴛᴀʙʟᴇ ʙʀᴏᴛʜ ᴄᴏɴᴄᴇɴᴛʀᴀᴛᴇ\n1 ᴄᴀɴ ᴏꜰ ʙʟᴀᴄᴋ ᴏʀ ᴘɪɴᴛᴏ ʙᴇᴀɴꜱ, ᴅʀᴀɪɴᴇᴅ ᴀɴᴅ ʀɪɴsᴇᴅ\n3ᴏᴢ ᴍᴏᴊᴏ ʀᴏᴊᴏ ꜱᴀᴜᴄᴇ\n2ᴏᴢ ᴅᴀɪʀʏ-ꜰʀᴇᴇ ꜱᴏᴜʀ ᴄʀᴇᴀᴍ\n2ᴏᴢ ᴘɪᴄᴋʟᴇᴅ ᴊᴀʟᴀᴘᴇÑᴏꜱ\nꜱᴀʟᴛ ᴀɴᴅ ᴘᴇᴘᴘᴇʀ ᴛᴏ ᴛᴀꜱᴛᴇ \n1 ᴛʙꜱᴘ ᴏꜰ ᴏʟɪᴠᴇ ᴏɪʟ\n\n𝔻𝕚𝕣𝕖𝕔𝕥𝕚𝕠𝕟𝕤 👩🍳\n1.) ᴀᴅᴅ ᴏɪʟ ᴛᴏ ᴀ ꜱᴛɪᴄᴋ-ʙʀᴇᴀᴋ ᴇᴡᴏꜱᴋ ᴏᴠᴇʀ ᴍᴇᴅɪᴜᴍ ʜᴇᴀᴛ. ᴀᴅᴅ ᴘᴇᴘᴘᴇʀꜱ, ᴏɴɪᴏɴ, ꜱᴡᴇᴇᴛ ᴘᴏᴛᴀᴛᴏᴇꜱ, ᴀɴᴅ ᴀ ᴘɪɴᴄʜ ᴏꜟ ꜱᴀʟᴛ & ᴘᴇᴘᴘᴇʀ. ᴄᴏᴏʟ 1-2 ᴍɪɴᴜᴛᴇꜱ.\n2.) ᴀᴅᴅ Qᴜɪɴᴏᴀ, ᴠᴇɢᴇᴛᴀʙʟᴇ ʙʀᴏᴛʜ…",
"code": "Dd7iHgWMvsL",
"comment_count": 1,
"id": "3997939143571340043_27565475186",
"is_video": false,
"like_count": 0,
"media_type": 1,
"owner": {
"full_name": "Penny Butler",
"is_verified": false,
"pk": "27565475186",
"username": "pennybbutler"
},
"pk": "3997939143571340043",
"shortcode": "Dd7iHgWMvsL",
"taken_at": null,
"thumbnail_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.82787-15/830695235_18114571699915187_1623693421258350017_n.webp?_nc_cat=103&ig_cache_key=Mzk5NzkzOTE0MzU3MTM0MDA0Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=ZTNyNQbFPkgQ7kNvwEDZiDi&_nc_oc=AdoVL5NrUNB8Q4Gnny-K14bgrj9eSrVfwrVAIflTkHlj1gLjsu0YaIbO1ru-hS-6o-I&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_gid=fTiXNchnnawRBXF1LmBLEQ&_nc_ss=7a3ba&oh=00_AQPPFrBS3jpoYEM03rEWh_SIOXyUbW6sAgHYN99iFw5NKg&oe=6AC37B05",
"video_url": null,
"view_count": 0
},
{
"caption_text": "ℙ𝕠𝕟𝕫𝕦 ℕ𝕠𝕠𝕕𝕝𝕖𝕤 & ℂ𝕣𝕚𝕤𝕡𝕪 𝕂𝕒𝕝𝕖\n•\n•\nTasty and light for a perfect summer night! Thank you, purplecarrotxo, for this inspiration!\n\n𝕀𝕟𝕘𝕣𝕖𝕕𝕚𝕖𝕟𝕥𝕤🌱\n6 oz Lacinato kale \n6 oz cherry tomatoes \n1 lemon \n1 navel orange \n1 tbsp tamari \n1 tbsp sesame oil \n6 oz udon \n1 tbsp sesame seeds \n¼ cup panko breadcrumbs \n2 tsp olive oil \nSalt to taste \n\n𝕀𝕟𝕤𝕥𝕣𝕦𝕔𝕥𝕚𝕠𝕟𝕤 ⏲ \n1.) Preheat the oven to 375°F. Bring a large pot of salted water to a boil for the udon. \n2.) Destem the kale and tear the leaves into pieces. Halve the cherry tomatoes. Zest and juice the lemon, then halve and …",
"code": "Dd7iBDmMWQN",
"comment_count": 0,
"id": "3997938700384297997_27565475186",
"is_video": false,
"like_count": 0,
"media_type": 1,
"owner": {
"full_name": "Penny Butler",
"is_verified": false,
"pk": "27565475186",
"username": "pennybbutler"
},
"pk": "3997938700384297997",
"shortcode": "Dd7iBDmMWQN",
"taken_at": null,
"thumbnail_url": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/830325282_18114571384915187_6464488779367341868_n.webp?_nc_cat=100&ig_cache_key=Mzk5NzkzODcwMDM4NDI5Nzk5Nw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=RVKvJc3sk74Q7kNvwEv-Vdg&_nc_oc=AdrsVspHssqnnMOVFoDlUwvKy9BbDevSR0nH0wzr5IjFMdhQoV7LoUpeiWFs2-V2JyA&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-iad6-1.cdninstagram.com&_nc_gid=fTiXNchnnawRBXF1LmBLEQ&_nc_ss=7a3ba&oh=00_AQN1RTFBA9QUKvGRRmD0_yWLcOIOsHEelpJe1WbcieExag&oe=6AC37BB2",
"video_url": null,
"view_count": 0
},
{
"caption_text": "Much love to @torre.washington @badassvegan and @domzthompson for hanging out in the kitchen with me. 🌱\n\nEveryone was in town to support Torre at the @mrolympiallc competition, where he made history as the first fully vegan, all-natural bodybuilder to compete. \n\nThis was my first time attending a bodybuilding competition, and it was incredible to witness Torre compete alongside some of the best athletes in the world. \nAt 52 years young, Torre showed us what’s possible when you take care of your body, mind and spirit.\n\nBefore the competition, we got in the kitchen to cook some of Torre’s favor…",
"code": "Dd7ivp3GTcO",
"comment_count": 4,
"id": "3997941902566045454_275172571",
"is_video": false,
"like_count": 3,
"media_type": 8,
"owner": {
"full_name": "Chef Stacey Dougan",
"is_verified": false,
"pk": "275172571",
"username": "chefstaceydougan"
},
"pk": "3997941902566045454",
"shortcode": "Dd7ivp3GTcO",
"taken_at": null,
"thumbnail_url": null,
"video_url": null,
"view_count": 0
},
"… 24 more items in the full response"
],
"more_available": true,
"next_max_id": "WyJRVkZFYmxOVWNtWTJORXRJVXpGeFZXNHdVR2R0WDBrelNFNVpMVkY2TkhFMldsOUZWMWx2VUVOVVdXSm1XbGRwYldSaE5YWXhia2hCYUZkb2VFTlJka0ZyWkRaS01GTnRNbEZ0U3pOeWNGTnliV1pEV1RCNU9RPT0iLCBbMzk5NzgxMzAxNzA0MzM5Njg2Ml1d",
"status": "ok"
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns a page of public Instagram posts that use a given hashtag. Each post includes its caption, like and comment counts, media type, thumbnail, and owner details. The only required input is tag, the hashtag without the #.
next_max_id to build a sample of posts on one topic.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/hashtag-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tag": "cat"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
tag | string | Yes | Hashtag keyword (without #) |
max_id | string | No | Pagination cursor from previous response, omit for first request |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"count": 21,
"items": [
{
"caption_text": "#igcats #meow #cat #Catsofinstagram\n#貓",
"code": "DfRWVkaSnmE",
"comment_count": 0,
"id": "4022094181446613380_562740540",
"is_video": false,
"like_count": 2,
"media_type": 1,
"owner": {
"full_name": "Takano",
"is_verified": false,
"pk": "562740540",
"username": "takano.snapshot"
},
"pk": "4022094181446613380",
"shortcode": "DfRWVkaSnmE",
"taken_at": null,
"thumbnail_url": "https://scontent-sjc3-1.cdninstagram.com/v/t51.82787-15/888724102_18641860837052…"
}
],
"more_available": true,
"next_max_id": "WyJRVkZCVjFkVkxXVXpiemR1Wm1jNFR6UkZZMUU0V0dFMFIwTmtWSE5uUm5NMVdXRkhiVGxVUWpWeFpU…",
"status": "ok"
}
| Field | Meaning |
|---|---|
items[] | List of posts returned for the hashtag on this page. |
items[].caption_text | Caption of the post, including its hashtags and mentions. |
items[].code / items[].shortcode | Short code of the post. Both keys hold the same value in the sample, for example DfRWVkaSnmE. |
items[].id / items[].pk | Identifiers of the post. id joins the post pk and the owner pk with an underscore. |
items[].like_count / items[].comment_count / items[].view_count | Number of likes, comments and views on the post. |
items[].media_type / items[].is_video | is_video tells you if the post is a video. media_type is a numeric type code; the sample shows 1 and 8. |
items[].thumbnail_url / items[].video_url | URL of the thumbnail image and of the video file. Either one can be null. |
items[].owner.username / items[].owner.full_name | Username and display name of the account that posted. |
items[].owner.pk / items[].owner.is_verified | Numeric ID of the account as a string, and whether the account is verified. |
more_available / next_max_id | more_available says if more results exist. next_max_id is the cursor for the next page. |
tag without the # symbol, for example cat.next_max_id value from the response as max_id. Omit max_id on the first request.taken_at was null in the sample, so do not rely on it for post dates.$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Send tag without the # sign and omit max_id for the first page. The public schema example is cat; the full saved October 7 reference instead used veganrecipes and returned 27 items. The shortened README's cat example is separate evidence. Do not combine their counts, captions or dates into one run, and do not promise 27 posts for every request.
The selected post payload has status ok and an items array directly inside outputs[0].data. Check both before storing the page; a completed outer envelope does not turn a malformed or non-ok business response into success. An empty valid array is different from missing items. Preserve string pk, composite id and code/shortcode as distinct fields. The composite id includes post and owner identifiers; it is not a shortcode for another route.
The saved page has taken_at null for every item. This does not establish newest-first order or a recent time window. Store observation time independently, and do not infer posting dates from the display order. like_count, comment_count and view_count are different counters, not interchangeable engagement scores; preserve null, missing and zero distinctly. A numeric replies count is not retrieved comment text, and repeated owners in one page do not identify the most frequent posters across the hashtag.
The response offers more_available and next_max_id. A separately chosen next request uses the exact full next_max_id as max_id with the same tag. Do not use search rank_token here, trim or decode the opaque cursor, reuse a clipped README token, or claim the next page was tested. Detect repeated cursors/IDs and define a page/call budget before any later collection; this first request makes no continuation call.
Media type, is_video and owner flags are source fields, not proof of media rights or independently verified identity. Captions can contain untrusted text and links; retain them as data. thumbnail_url and video_url are references, not completed downloads. Selecting post details by shortcode or comments is an additional task and request, not automatic enrichment.
Choose keyword-to-tag discovery or a first page for a tag you already selected. Share the setup Skill, Markdown quickstart, selected endpoint and desired result. Keep SANDBASE_API_KEY locally; use POST /v1/api/ with Bearer authentication. Validate completed SandBase status and an object at outputs[0].data before applying the selected route's business checks.
Pricing checked on November 8, 2026 lists $0.008 per call for each selected route, with 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility does not reveal remaining allowance. Start with one request and inspect it before choosing another. No new business request, next-page roundtrip or paid media retrieval was made for this revision. The Instagram hashtag Python guide separates historical examples, current references and offline validation.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/hashtag-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tag": "veganrecipes"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
tagstringbắt buộcHashtag keyword (without #)
max_idstringPagination cursor from previous response, omit for first request
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"count": 27,
"items": [
{
"caption_text": "ℙ𝕚𝕟𝕥𝕠 𝔹𝕖𝕒𝕟 & 𝕊𝕨𝕖𝕖𝕥 ℙ𝕠𝕥𝕒𝕥𝕠 𝕊𝕜𝕚𝕝𝕝𝕖𝕥\n\n𝔼𝕒𝕤𝕪 ✅\n𝔻𝕖𝕝𝕚𝕔𝕚𝕠𝕦𝕤😋\nℂ𝕣𝕦𝕖𝕝𝕥𝕚𝕖𝕤𝕤 𝕗𝕣𝕖𝕖🐮\n\n𝕀𝕟𝕘𝕣𝕖𝕕𝕚𝕖𝕟𝕥𝕤 🌱\n4ᴏᴢ ʀᴇᴅ ᴘᴇᴘᴘᴇʀ & ᴏɴɪᴏɴ\n4ᴏᴢ ꜱᴡᴇᴇᴛ ᴘᴏᴛᴀᴛᴏ\n1/2 ᴄᴜᴘ Qᴜɪɴᴏᴀ\n2 ᴛᴀᴘ ᴠᴇɢᴇᴛᴀʙʟᴇ ʙʀᴏᴛʜ ᴄᴏɴᴄᴇɴᴛʀᴀᴛᴇ\n1 ᴄᴀɴ ᴏꜰ ʙʟᴀᴄᴋ ᴏʀ ᴘɪɴᴛᴏ ʙᴇᴀɴꜱ, ᴅʀᴀɪɴᴇᴅ ᴀɴᴅ ʀɪɴsᴇᴅ\n3ᴏᴢ ᴍᴏᴊᴏ ʀᴏᴊᴏ ꜱᴀᴜᴄᴇ\n2ᴏᴢ ᴅᴀɪʀʏ-ꜰʀᴇᴇ ꜱᴏᴜʀ ᴄʀᴇᴀᴍ\n2ᴏᴢ ᴘɪᴄᴋʟᴇᴅ ᴊᴀʟᴀᴘᴇÑᴏꜱ\nꜱᴀʟᴛ ᴀɴᴅ ᴘᴇᴘᴘᴇʀ ᴛᴏ ᴛᴀꜱᴛᴇ \n1 ᴛʙꜱᴘ ᴏꜰ ᴏʟɪᴠᴇ ᴏɪʟ\n\n𝔻𝕚𝕣𝕖𝕔𝕥𝕚𝕠𝕟𝕤 👩🍳\n1.) ᴀᴅᴅ ᴏɪʟ ᴛᴏ ᴀ ꜱᴛɪᴄᴋ-ʙʀᴇᴀᴋ ᴇᴡᴏꜱᴋ ᴏᴠᴇʀ ᴍᴇᴅɪᴜᴍ ʜᴇᴀᴛ. ᴀᴅᴅ ᴘᴇᴘᴘᴇʀꜱ, ᴏɴɪᴏɴ, ꜱᴡᴇᴇᴛ ᴘᴏᴛᴀᴛᴏᴇꜱ, ᴀɴᴅ ᴀ ᴘɪɴᴄʜ ᴏꜟ ꜱᴀʟᴛ & ᴘᴇᴘᴘᴇʀ. ᴄᴏᴏʟ 1-2 ᴍɪɴᴜᴛᴇꜱ.\n2.) ᴀᴅᴅ Qᴜɪɴᴏᴀ, ᴠᴇɢᴇᴛᴀʙʟᴇ ʙʀᴏᴛʜ…",
"code": "Dd7iHgWMvsL",
"comment_count": 1,
"id": "3997939143571340043_27565475186",
"is_video": false,
"like_count": 0,
"media_type": 1,
"owner": {
"full_name": "Penny Butler",
"is_verified": false,
"pk": "27565475186",
"username": "pennybbutler"
},
"pk": "3997939143571340043",
"shortcode": "Dd7iHgWMvsL",
"taken_at": null,
"thumbnail_url": "https://scontent-iad3-2.cdninstagram.com/v/t51.82787-15/830695235_18114571699915187_1623693421258350017_n.webp?_nc_cat=103&ig_cache_key=Mzk5NzkzOTE0MzU3MTM0MDA0Mw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=ZTNyNQbFPkgQ7kNvwEDZiDi&_nc_oc=AdoVL5NrUNB8Q4Gnny-K14bgrj9eSrVfwrVAIflTkHlj1gLjsu0YaIbO1ru-hS-6o-I&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-iad3-2.cdninstagram.com&_nc_gid=fTiXNchnnawRBXF1LmBLEQ&_nc_ss=7a3ba&oh=00_AQPPFrBS3jpoYEM03rEWh_SIOXyUbW6sAgHYN99iFw5NKg&oe=6AC37B05",
"video_url": null,
"view_count": 0
},
{
"caption_text": "ℙ𝕠𝕟𝕫𝕦 ℕ𝕠𝕠𝕕𝕝𝕖𝕤 & ℂ𝕣𝕚𝕤𝕡𝕪 𝕂𝕒𝕝𝕖\n•\n•\nTasty and light for a perfect summer night! Thank you, purplecarrotxo, for this inspiration!\n\n𝕀𝕟𝕘𝕣𝕖𝕕𝕚𝕖𝕟𝕥𝕤🌱\n6 oz Lacinato kale \n6 oz cherry tomatoes \n1 lemon \n1 navel orange \n1 tbsp tamari \n1 tbsp sesame oil \n6 oz udon \n1 tbsp sesame seeds \n¼ cup panko breadcrumbs \n2 tsp olive oil \nSalt to taste \n\n𝕀𝕟𝕤𝕥𝕣𝕦𝕔𝕥𝕚𝕠𝕟𝕤 ⏲ \n1.) Preheat the oven to 375°F. Bring a large pot of salted water to a boil for the udon. \n2.) Destem the kale and tear the leaves into pieces. Halve the cherry tomatoes. Zest and juice the lemon, then halve and …",
"code": "Dd7iBDmMWQN",
"comment_count": 0,
"id": "3997938700384297997_27565475186",
"is_video": false,
"like_count": 0,
"media_type": 1,
"owner": {
"full_name": "Penny Butler",
"is_verified": false,
"pk": "27565475186",
"username": "pennybbutler"
},
"pk": "3997938700384297997",
"shortcode": "Dd7iBDmMWQN",
"taken_at": null,
"thumbnail_url": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/830325282_18114571384915187_6464488779367341868_n.webp?_nc_cat=100&ig_cache_key=Mzk5NzkzODcwMDM4NDI5Nzk5Nw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkZFRUQueHBpZHMuMTQ0MC5zZHIucmVndWxhcl9waG90by5DMyJ9&_nc_ohc=RVKvJc3sk74Q7kNvwEv-Vdg&_nc_oc=AdrsVspHssqnnMOVFoDlUwvKy9BbDevSR0nH0wzr5IjFMdhQoV7LoUpeiWFs2-V2JyA&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-iad6-1.cdninstagram.com&_nc_gid=fTiXNchnnawRBXF1LmBLEQ&_nc_ss=7a3ba&oh=00_AQN1RTFBA9QUKvGRRmD0_yWLcOIOsHEelpJe1WbcieExag&oe=6AC37BB2",
"video_url": null,
"view_count": 0
},
{
"caption_text": "Much love to @torre.washington @badassvegan and @domzthompson for hanging out in the kitchen with me. 🌱\n\nEveryone was in town to support Torre at the @mrolympiallc competition, where he made history as the first fully vegan, all-natural bodybuilder to compete. \n\nThis was my first time attending a bodybuilding competition, and it was incredible to witness Torre compete alongside some of the best athletes in the world. \nAt 52 years young, Torre showed us what’s possible when you take care of your body, mind and spirit.\n\nBefore the competition, we got in the kitchen to cook some of Torre’s favor…",
"code": "Dd7ivp3GTcO",
"comment_count": 4,
"id": "3997941902566045454_275172571",
"is_video": false,
"like_count": 3,
"media_type": 8,
"owner": {
"full_name": "Chef Stacey Dougan",
"is_verified": false,
"pk": "275172571",
"username": "chefstaceydougan"
},
"pk": "3997941902566045454",
"shortcode": "Dd7ivp3GTcO",
"taken_at": null,
"thumbnail_url": null,
"video_url": null,
"view_count": 0
},
"… 24 more items in the full response"
],
"more_available": true,
"next_max_id": "WyJRVkZFYmxOVWNtWTJORXRJVXpGeFZXNHdVR2R0WDBrelNFNVpMVkY2TkhFMldsOUZWMWx2VUVOVVdXSm1XbGRwYldSaE5YWXhia2hCYUZkb2VFTlJka0ZyWkRaS01GTnRNbEZ0U3pOeWNGTnliV1pEV1RCNU9RPT0iLCBbMzk5NzgxMzAxNzA0MzM5Njg2Ml1d",
"status": "ok"
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Instagram Hashtag Posts (V3)API này Instagram | $0.008 mỗi lần gọi | JSON |
Instagram | $0.008 mỗi lần gọi | JSON |
Instagram | $0.008 mỗi lần gọi | JSON |
Instagram | $0.008 mỗi lần gọi | JSON |
Instagram | $0.002 mỗi lần gọi | JSON |
Instagram | $0.008 mỗi lần gọi | JSON |
Hướng dẫn:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v3/hashtag-posts với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.008 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: tag (string). Tùy chọn: max_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Instagram Hashtag Posts (V3) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Instagram.
Kiểm tra status ok và mảng items trong payload phẳng đã chọn sau envelope SandBase hoàn tất. Giữ riêng string pk, composite id và code/shortcode. items bị thiếu hoặc sai định dạng không phải là một trang thành công rỗng, và composite id không phải là shortcode của bài đăng.
Không. Mọi giá trị taken_at trong trang đã lưu được chọn đều là null. Một trang không xác lập khung thời gian, thứ tự mới nhất trước, tổng hoạt động của tác giả hay hiệu quả chiến dịch. Hãy giữ nguyên từng tên chỉ số, các giá trị chưa biết và thời điểm quan sát thay vì suy ra ngày tháng hoặc điểm phổ biến.
Hashtag Posts trả về next_max_id, được truyền nguyên trạng dưới dạng max_id với cùng tag nếu chọn một continuation riêng. Search rank_token là một trường khác. Đừng phát lại cursor rút gọn trong README; bản sửa đổi này chưa kiểm tra trang khác hoặc tự động tìm nạp bài đăng, bình luận hay media.