데이터 API / Instagram / Search
Search Hashtag
Finds public posts carrying a hashtag through Google, returning hashtag, media_type, cursor and posts in the same normalised shape as get_instagram_reels_search: shortcode, url, caption, like_count, comment_count, video_play_count, video_view_count, owner, location and taken_at. The leading # is optional. Set media_type=reels to narrow to reels, or all for posts and reels together. Note that cursor here is the next Google results page number rather than an Instagram cursor. To search caption keywords rather than a hashtag, use get_instagram_reels_search.
파라미터
쿼리
hashtagstring필수The hashtag to search for. Include or omit the #.
date_postedstring선택허용 값: last-hour · last-day · last-week · last-month · last-year
Only return Google-indexed posts found in this relative window.
media_typestring선택허용 값: all · reels
Use all to search public posts and reels, or reels to only return reels. Defaults to all.
cursorstring선택The cursor returned by the previous response. In this version, it is the next Google results page number.
요청 예시
curl -G "https://openapi.felo.ai/v1/beta/instagram/search/hashtag" \
--data-urlencode "hashtag=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"응답
응답 예시
{
"success": true,
"credits_remaining": 49997308058,
"hashtag": "funnydogs",
"media_type": "all",
"posts": [
{
"id": "3714950709444987377",
"__typename": "XDTGraphVideo",
"shortcode": "DOOJ_zSjcnx",
"url": "https://www.instagram.com/reel/DOOJ_zSjcnx/",
"caption": "Well we tried to be subtle… #funnydogs #funny #whiteboxer #australianshepherd",
"thumbnail_src": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/542212527_18130644664455761_8262846918103190683_n.jpg?stp=c0.509.1312.1312a_dst-jpg_e35_s640x640_sh2.08_tt6&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=eV6SPEh2O88Q7kNvwHcNeFx&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af6BLCF7O_laTkSuoqn5Ebg8ZWg57JkaXtBAb6nH0KapPg&oe=6A1D1BB2&_nc_sid=d885a2",
"display_url": "https://scontent-ord5-2.cdninstagram.com/v/t51.82787-15/542212527_18130644664455761_8262846918103190683_n.jpg?stp=dst-jpg_e35_p1080x1080_sh2.08_tt6&_nc_ht=scontent-ord5-2.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2gGAVcFN0K6MoOopK41K4dWjOeZZaT9xgOadaLiAbdnmQSVNlQgD_lz8yQLaXrtvYeY&_nc_ohc=eV6SPEh2O88Q7kNvwHcNeFx&_nc_gid=tAUZdiRnIdGjcNvGfTjMvg&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_Af6TdnB6cfe_BkRBRYP65isRGJfDrp2evUQY9O_ReUHv2g&oe=6A1D1BB2&_nc_sid=d885a2",일부만 표시했습니다. 전체 예시는 API 레퍼런스에 있습니다.
응답 필드
successboolean선택credits_remaininginteger선택hashtagstring선택media_typestring선택postsobject[]선택cursor선택