search_popular_media
instagram.comSearches keyword-based popular content on https://www.instagram.com and returns up to 12 trending media records from Instagram’s public popular search page. Results are mostly reels and include available media, creator, and engagement fields, with some metrics null when the search surface omits them.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_popular_media?
Searches keyword-based popular content on https://www.instagram.com and returns up to 12 trending media records from Instagram’s public popular search page. Results are mostly reels and include available media, creator, and engagement fields, with some metrics null when the search surface omits them. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, limit and get the result back without maintaining a scraper.
Response
{
"media": [
{}
],
"query": "<string>",
"source_url": "<string>",
"result_count": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/11d6ca9f-1d53-4a64-99cf-d497d1e2f50e/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "11d6ca9f-1d53-4a64-99cf-d497d1e2f50e",
"variables": {
"query": "travel",
"limit": 12
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="11d6ca9f-1d53-4a64-99cf-d497d1e2f50e") — the "search_popular_media" function, which searches keyword-based popular content on https://www.instagram.com and returns up to 12 trending media records from Instagram’s public popular search page. Results are mostly reels and include available media, creator, and engagement fields, with some metrics null when the search surface omits them.. It takes query (str), limit (int). Return the result as structured JSON.