Data API / Instagram / Reels
Search Reels
Searches reels by keyword through Google rather than Instagram's login-gated search, returning reels with shortcode, url, caption, video_url, video_duration, video_play_count, video_view_count, like_count, comment_count, owner, location and taken_at, plus next_page. Because the index is Google's, coverage is what Google has indexed publicly, not everything on Instagram, and date_posted narrows to a relative window. Use get_instagram_search_hashtag to search a specific hashtag, and get_instagram_reels_trending for what is popular right now with no query at all.
Параметры
запрос
querystringОбязательныйThe keyword to search for
date_postedstringНеобязательныйДопустимые значения: last-hour · last-day · last-week · last-month · last-year
Optional Google-search date filter. Runtime confirmed with
last-hour; omit this parameter if a provider search window is unavailable.pagenumberНеобязательныйThe page number to return.
Пример запроса
curl -G "https://openapi.felo.ai/v1/beta/instagram/reels/search" \
--data-urlencode "query=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"Ответ
Пример ответа
{
"success": true,
"credits_remaining": 33929349,
"reels": [
{
"id": "3723045213787686915",
"__typename": "XDTGraphVideo",
"shortcode": "DOq6eV6iIgD",
"url": "https://www.instagram.com/reel/DOq6eV6iIgD/",
"caption": "Dogs are family 💙\n\nI met Rocco, a little rescue Chihuahua all the way from Mexico 🇲🇽🐾 \n\nHe’s looked after by a lovely lady who’s always had dogs, but when she lost her last one, she thought that was it, the loss is too painful to go through again. But babysitting Rocco gives her her “dog fix” and keeps her connected to the love only dogs can bring 🥰\n\nShe’s originally from Los Angeles, but now a New Yorker, and knows Central Park inside out from years of walking dogs there 🌳🐕 \n\nShe told me how dogs are family, and people who don’t love animals will never fully understand it, and I completely agree! ❤️\n\n#dogphotography #rescuedog #chihuahua #dogportrait #dogphotographer",
"thumbnail_src": "https://scontent-sjc3-1.cdninstagram.com/v/t51.2885-15/550186015_17890754136343371_4563383710172988045_n.jpg?stp=c0.280.720.720a_dst-jpg_e15_s640x640_tt6&_nc_ht=scontent-sjc3-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2QEgFUe8Hj_UR-Af4n8brIqO2O_yZfoRHnHjM_VSEqFgfOpJoZ-_uIv8BVvGuSnLWQw&_nc_ohc=d5Wmai9i7L0Q7kNvwH6u4n-&_nc_gid=rIrCBBTCedpkbi2BFdOeJA&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AfkaB2Nw4i5OiJscl0BtYIQRdenm5DyobWgTmjiq98BkcQ&oe=695A1764&_nc_sid=d885a2",
"display_url": "https://scontent-sjc3-1.cdninstagram.com/v/t51.2885-15/550186015_17890754136343371_4563383710172988045_n.jpg?stp=dst-jpg_e15_tt6&_nc_ht=scontent-sjc3-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2QEgFUe8Hj_UR-Af4n8brIqO2O_yZfoRHnHjM_VSEqFgfOpJoZ-_uIv8BVvGuSnLWQw&_nc_ohc=d5Wmai9i7L0Q7kNvwH6u4n-&_nc_gid=rIrCBBTCedpkbi2BFdOeJA&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AflECyxYDTLWJ-OPnPag49aqgx6CniLKmOaUAGMGXrkDxg&oe=695A1764&_nc_sid=d885a2",Показана часть. Полный пример — в справочнике API.
Поля ответа
successbooleanНеобязательныйcredits_remainingintegerНеобязательныйreelsobject[]НеобязательныйcursorНеобязательный