---
title: "Instagram General Search API (V1)"
description: "Performs a general search on Instagram by keyword with token-based pagination. Use it to discover matching results, research topics, and continue through subsequent result pages."
aiUsagePrompt: true
---

# Instagram General Search API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/instagram/general-search/v1\"")'
  :summary='JSON.parse("\"General Search (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/instagram/general-search-v1-en.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Access token for the API service.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"keyword\",\"in\":\"query\",\"description\":\"The keyword to search for on Instagram.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"paginationToken\",\"in\":\"query\",\"description\":\"Pagination token from the previous response. Omit it for the first page.\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":[\"object\",\"null\"],\"description\":\"Instagram general search results and continuation, when returned.\",\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"Results returned for the current search page.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"Number of items reported for this search page.\"},\"items\":{\"type\":\"array\",\"description\":\"Media results returned on this search page.\",\"items\":{\"type\":\"object\",\"description\":\"One reported Instagram media result. Fields can vary by media type.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifier returned for the Instagram media result.\"},\"code\":{\"type\":\"string\",\"description\":\"Shortcode returned for the Instagram post, when available.\"},\"taken_at\":{\"type\":\"integer\",\"description\":\"Post time as a Unix timestamp in seconds.\"},\"taken_at_date\":{\"type\":\"string\",\"description\":\"Post time as a date and time string.\"},\"media_type\":{\"type\":\"integer\",\"description\":\"Instagram media type code for this post.\"},\"product_type\":{\"type\":\"string\",\"description\":\"Reported Instagram product type for the media.\"},\"media_format\":{\"type\":\"string\",\"description\":\"Reported media format label.\"},\"is_video\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the media as video.\"},\"is_pinned\":{\"type\":\"boolean\",\"description\":\"Whether Instagram reports the post as pinned.\"},\"is_paid_partnership\":{\"type\":\"boolean\",\"description\":\"Whether the post is marked as a paid partnership.\"},\"original_width\":{\"type\":\"integer\",\"description\":\"Reported width of the original media.\"},\"original_height\":{\"type\":\"integer\",\"description\":\"Reported height of the original media.\"},\"like_count\":{\"type\":\"integer\",\"description\":\"Reported like count for the post.\"},\"comment_count\":{\"type\":\"integer\",\"description\":\"Reported comment count for the post.\"},\"share_count\":{\"type\":[\"integer\",\"null\"],\"description\":\"Reported share count for the post, which can be null.\"},\"repost_count\":{\"type\":[\"integer\",\"null\"],\"description\":\"Reported repost count for the post, which can be null.\"},\"play_count\":{\"type\":[\"integer\",\"null\"],\"description\":\"Reported play count for the post, which can be null.\"},\"ig_like_count\":{\"type\":\"integer\",\"description\":\"Instagram-specific like count, when provided separately.\"},\"fb_like_count\":{\"type\":[\"integer\",\"null\"],\"description\":\"Facebook-specific like count, when reported.\"},\"fb_play_count\":{\"type\":[\"integer\",\"null\"],\"description\":\"Facebook-specific play count, when reported.\"},\"caption_is_edited\":{\"type\":\"boolean\",\"description\":\"Whether the caption is marked as edited.\"},\"caption\":{\"type\":\"object\",\"description\":\"Caption information returned for the post.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifier of the caption, returned as text.\"},\"text\":{\"type\":\"string\",\"description\":\"Caption text for the post.\"},\"created_at\":{\"type\":\"integer\",\"description\":\"Caption creation time as a Unix timestamp in seconds.\"},\"created_at_utc\":{\"type\":\"integer\",\"description\":\"Caption creation timestamp in UTC, in Unix seconds.\"},\"content_type\":{\"type\":\"string\",\"description\":\"Content type label reported for the caption.\"},\"text_translation\":{\"type\":[\"string\",\"null\"],\"description\":\"Translated caption text, when available.\"},\"hashtags\":{\"type\":\"array\",\"description\":\"Hashtags found in the caption.\",\"items\":{\"type\":\"string\",\"description\":\"One hashtag from the caption.\"}},\"mentions\":{\"type\":\"array\",\"description\":\"Account mentions found in the caption.\",\"items\":{\"type\":\"string\",\"description\":\"One account mention from the caption.\"}},\"user\":{\"type\":\"object\",\"description\":\"Account information returned with the caption.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Instagram account identifier returned as text.\"},\"username\":{\"type\":\"string\",\"description\":\"Instagram username reported for the account.\"},\"full_name\":{\"type\":\"string\",\"description\":\"Display name reported for the Instagram account.\"},\"is_private\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as private.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as verified.\"},\"profile_pic_id\":{\"type\":\"string\",\"description\":\"Identifier of the Instagram profile image.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"Profile image URL returned for the account.\"},\"follower_count\":{\"type\":\"integer\",\"description\":\"Reported Instagram follower count for this account.\"}}}}},\"user\":{\"type\":\"object\",\"description\":\"Instagram account information returned for the media author.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Instagram account identifier returned as text.\"},\"username\":{\"type\":\"string\",\"description\":\"Instagram username reported for the account.\"},\"full_name\":{\"type\":\"string\",\"description\":\"Display name reported for the Instagram account.\"},\"is_private\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as private.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as verified.\"},\"profile_pic_id\":{\"type\":\"string\",\"description\":\"Identifier of the Instagram profile image.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"Profile image URL returned for the account.\"},\"follower_count\":{\"type\":\"integer\",\"description\":\"Reported Instagram follower count for this account.\"}}},\"coauthor_producers\":{\"type\":\"array\",\"description\":\"Public profile summaries for the post&#39;s reported coauthors.\",\"items\":{\"type\":\"object\",\"description\":\"One reported coauthor profile.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Instagram account identifier returned as text.\"},\"username\":{\"type\":\"string\",\"description\":\"Instagram username reported for the account.\"},\"full_name\":{\"type\":\"string\",\"description\":\"Display name reported for the Instagram account.\"},\"is_private\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as private.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as verified.\"},\"profile_pic_id\":{\"type\":\"string\",\"description\":\"Identifier of the Instagram profile image.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"Profile image URL returned for the account.\"}}}},\"tagged_users\":{\"type\":[\"array\",\"null\"],\"description\":\"Accounts tagged in the media, when returned.\",\"items\":{\"type\":\"object\",\"description\":\"One account tag on the media.\",\"properties\":{\"user\":{\"type\":\"object\",\"description\":\"Profile information for the tagged account.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Instagram account identifier returned as text.\"},\"username\":{\"type\":\"string\",\"description\":\"Instagram username reported for the account.\"},\"full_name\":{\"type\":\"string\",\"description\":\"Display name reported for the Instagram account.\"},\"is_private\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as private.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as verified.\"},\"profile_pic_id\":{\"type\":\"string\",\"description\":\"Identifier of the Instagram profile image.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"Profile image URL returned for the account.\"}}}}}},\"location\":{\"type\":[\"object\",\"null\"],\"description\":\"Public place tag returned for the post, when present.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifier of the place tag, returned as text.\"},\"name\":{\"type\":\"string\",\"description\":\"Display name of the tagged place.\"},\"short_name\":{\"type\":\"string\",\"description\":\"Short display name of the tagged place.\"},\"city\":{\"type\":\"string\",\"description\":\"City reported for the tagged place.\"}}},\"ai_label_info\":{\"type\":[\"object\",\"null\"],\"description\":\"AI attribution display information returned for the media.\",\"properties\":{\"attribution_label_text\":{\"type\":[\"string\",\"null\"],\"description\":\"Displayed AI attribution label, when provided.\"},\"subtitle_text\":{\"type\":\"string\",\"description\":\"Subtitle text returned with the AI attribution label.\"}}},\"thumbnail_url\":{\"type\":\"string\",\"description\":\"Thumbnail URL returned for the media.\"},\"image_versions\":{\"type\":\"object\",\"description\":\"Image versions available for this media.\",\"properties\":{\"items\":{\"type\":\"array\",\"description\":\"Image candidates returned for this media.\",\"items\":{\"type\":\"object\",\"description\":\"One candidate image returned for the media.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL returned for this image version.\"},\"width\":{\"type\":\"integer\",\"description\":\"Reported width of this image version.\"},\"height\":{\"type\":\"integer\",\"description\":\"Reported height of this image version.\"}}}},\"additional_items\":{\"type\":[\"object\",\"null\"],\"description\":\"Additional named image variants for this media.\",\"properties\":{\"first_frame\":{\"type\":\"object\",\"description\":\"Image version reported for the video first frame.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL returned for this image version.\"},\"width\":{\"type\":\"integer\",\"description\":\"Reported width of this image version.\"},\"height\":{\"type\":\"integer\",\"description\":\"Reported height of this image version.\"}}},\"igtv_first_frame\":{\"type\":\"object\",\"description\":\"First-frame image version labeled IGTV in the response.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL returned for this image version.\"},\"width\":{\"type\":\"integer\",\"description\":\"Reported width of this image version.\"},\"height\":{\"type\":\"integer\",\"description\":\"Reported height of this image version.\"}}}}}}},\"has_audio\":{\"type\":[\"boolean\",\"null\"],\"description\":\"Whether the media is reported as having audio.\"},\"video_url\":{\"type\":\"string\",\"description\":\"Video playback URL returned for the media.\"},\"video_duration\":{\"type\":[\"number\",\"null\"],\"description\":\"Reported video duration as a number, which can be null.\"},\"video_codec\":{\"type\":[\"string\",\"null\"],\"description\":\"Video codec label returned for the media.\"},\"video_versions\":{\"type\":[\"array\",\"null\"],\"description\":\"Video versions returned for the media.\",\"items\":{\"type\":\"object\",\"description\":\"One available video version in the result.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifier of the video version, returned as text.\"},\"type\":{\"type\":\"integer\",\"description\":\"Type code reported for this video version.\"},\"url\":{\"type\":\"string\",\"description\":\"URL returned for this video version.\"},\"width\":{\"type\":\"integer\",\"description\":\"Reported width of this video version.\"},\"height\":{\"type\":\"integer\",\"description\":\"Reported height of this video version.\"}}}},\"video_subtitles_enabled\":{\"type\":[\"boolean\",\"null\"],\"description\":\"Whether subtitles are reported as enabled for this video.\"},\"video_subtitles_locale\":{\"type\":[\"string\",\"null\"],\"description\":\"Locale reported for the video&#39;s subtitles.\"},\"video_subtitles_uri\":{\"type\":[\"string\",\"null\"],\"description\":\"Subtitle URI returned for this video, when provided.\"},\"carousel_media_count\":{\"type\":[\"integer\",\"null\"],\"description\":\"Reported number of media entries in the carousel.\"},\"carousel_media\":{\"type\":[\"array\",\"null\"],\"description\":\"Media entries returned for a carousel post.\",\"items\":{\"type\":\"object\",\"description\":\"One media entry in the carousel.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifier of the carousel media entry, returned as text.\"},\"carousel_parent_id\":{\"type\":\"string\",\"description\":\"Parent carousel identifier reported for the entry.\"},\"media_type\":{\"type\":\"integer\",\"description\":\"Reported media type code of the carousel entry.\"},\"is_video\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the carousel entry as video.\"},\"original_width\":{\"type\":\"integer\",\"description\":\"Reported original width of the carousel entry.\"},\"original_height\":{\"type\":\"integer\",\"description\":\"Reported original height of the carousel entry.\"},\"thumbnail_url\":{\"type\":\"string\",\"description\":\"Thumbnail URL returned for the carousel entry.\"},\"image_versions\":{\"type\":\"object\",\"description\":\"Image versions returned for the carousel entry.\",\"properties\":{\"items\":{\"type\":\"array\",\"description\":\"Image candidates returned for the carousel entry.\",\"items\":{\"type\":\"object\",\"description\":\"One image candidate for this carousel entry.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL returned for this image version.\"},\"width\":{\"type\":\"integer\",\"description\":\"Reported width of this image version.\"},\"height\":{\"type\":\"integer\",\"description\":\"Reported height of this image version.\"}}}}}}}}},\"clips_metadata\":{\"type\":[\"object\",\"null\"],\"description\":\"Clip metadata returned with some media results.\",\"properties\":{\"audio_type\":{\"type\":\"string\",\"description\":\"Audio type label reported for this clip.\"},\"audio_canonical_id\":{\"type\":\"string\",\"description\":\"Audio identifier returned in the clip information.\"},\"original_sound_info\":{\"type\":[\"object\",\"null\"],\"description\":\"Original audio information returned for the clip.\",\"properties\":{\"audio_id\":{\"type\":\"string\",\"description\":\"Identifier of the original audio, returned as text.\"},\"original_audio_title\":{\"type\":\"string\",\"description\":\"Display title of the original audio.\"},\"original_media_id\":{\"type\":\"string\",\"description\":\"Identifier of the original media reported with this audio.\"},\"duration_in_ms\":{\"type\":\"integer\",\"description\":\"Original audio duration in milliseconds.\"},\"is_explicit\":{\"type\":\"boolean\",\"description\":\"Whether the original audio has an explicit-content label.\"},\"time_created\":{\"type\":\"integer\",\"description\":\"Original audio creation time as a Unix timestamp in seconds.\"},\"progressive_download_url\":{\"type\":\"string\",\"description\":\"Audio media URL returned for the original sound.\"},\"ig_artist\":{\"type\":\"object\",\"description\":\"Instagram artist profile returned for the original audio.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Instagram account identifier returned as text.\"},\"username\":{\"type\":\"string\",\"description\":\"Instagram username reported for the account.\"},\"full_name\":{\"type\":\"string\",\"description\":\"Display name reported for the Instagram account.\"},\"is_private\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as private.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as verified.\"},\"profile_pic_id\":{\"type\":\"string\",\"description\":\"Identifier of the Instagram profile image.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"Profile image URL returned for the account.\"}}}}},\"music_info\":{\"type\":[\"object\",\"null\"],\"description\":\"Catalog music information returned for the clip.\",\"properties\":{\"music_asset_info\":{\"type\":\"object\",\"description\":\"Reported catalog music asset information.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Identifier of the catalog music asset.\"},\"audio_id\":{\"type\":\"string\",\"description\":\"Audio identifier for the catalog music asset.\"},\"artist_id\":{\"type\":[\"string\",\"null\"],\"description\":\"Artist identifier for the catalog music, when provided.\"},\"title\":{\"type\":\"string\",\"description\":\"Title reported for the catalog music.\"},\"subtitle\":{\"type\":\"string\",\"description\":\"Subtitle returned with the catalog music information.\"},\"display_artist\":{\"type\":\"string\",\"description\":\"Display name of the catalog music artist.\"},\"ig_username\":{\"type\":[\"string\",\"null\"],\"description\":\"Instagram username reported for the music artist.\"},\"duration_in_ms\":{\"type\":\"integer\",\"description\":\"Catalog music asset duration in milliseconds.\"},\"has_lyrics\":{\"type\":\"boolean\",\"description\":\"Whether lyrics are reported for this music asset.\"},\"is_explicit\":{\"type\":\"boolean\",\"description\":\"Whether the catalog music has an explicit-content label.\"},\"cover_artwork_uri\":{\"type\":\"string\",\"description\":\"Cover artwork URI for the catalog music.\"},\"cover_artwork_thumbnail_uri\":{\"type\":\"string\",\"description\":\"Cover artwork thumbnail URI for the catalog music.\"},\"progressive_download_url\":{\"type\":\"string\",\"description\":\"Audio media URL returned for the catalog music.\"},\"fast_start_progressive_download_url\":{\"type\":\"string\",\"description\":\"Audio URL reported for fast-start playback of the catalog music.\"},\"highlight_start_times_in_ms\":{\"type\":\"array\",\"description\":\"Highlight start offsets returned for the music asset.\",\"items\":{\"type\":\"integer\",\"description\":\"One highlight start offset in milliseconds.\"}}}},\"music_consumption_info\":{\"type\":\"object\",\"description\":\"Details about the portion of catalog music used in the clip.\",\"properties\":{\"audio_asset_start_time_in_ms\":{\"type\":[\"integer\",\"null\"],\"description\":\"Start offset in the music asset, in milliseconds.\"},\"overlap_duration_in_ms\":{\"type\":[\"integer\",\"null\"],\"description\":\"Reported duration of music overlap with the clip, in milliseconds.\"},\"ig_artist\":{\"type\":[\"object\",\"null\"],\"description\":\"Instagram artist profile returned with the catalog music use.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Instagram account identifier returned as text.\"},\"username\":{\"type\":\"string\",\"description\":\"Instagram username reported for the account.\"},\"full_name\":{\"type\":\"string\",\"description\":\"Display name reported for the Instagram account.\"},\"is_private\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as private.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Whether Instagram marks the account as verified.\"},\"profile_pic_id\":{\"type\":\"string\",\"description\":\"Identifier of the Instagram profile image.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"Profile image URL returned for the account.\"}}}}}}}}}}}}}},\"pagination_token\":{\"type\":\"string\",\"description\":\"Opaque continuation value for the search. If provided, send it as paginationToken with the same keyword to request the next page.\"}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"Invalid request parameters or body\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"Invalid or inactive access token\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"Permission denied\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"Request rate or daily quota limit exceeded\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"Internal server error\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"Service temporarily unavailable\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"Global production API (default)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/instagram/general-search/v1\"")' />

<p>Performs a general search on Instagram by keyword with token-based pagination. Use it to discover matching results, research topics, and continue through subsequent result pages.</p>

## Parameters

<div class="api-doc-table api-doc-table--params">

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Yes | - | Access token for the API service. |
| <code>keyword</code> | query | <code>string</code> | Yes | - | The keyword to search for on Instagram. |
| <code>paginationToken</code> | query | <code>string</code> | No | <code></code> | Pagination token from the previous response. Omit it for the first page. |

</div>

## Code Samples

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/instagram/general-search/v1?token=YOUR_API_KEY&keyword=VALUE'
```

```text [🤖 AI Prompt]
I want to use the "General Search (V1)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/instagram/general-search/v1?token=YOUR_API_KEY&keyword=VALUE
API Endpoint: BASE_URL + /api/instagram/general-search/v1?token=YOUR_API_KEY&keyword=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/instagram/general-search-v1-en.json

Parameters:
- token (query): Access token for the API service. (Required)
- keyword (query): The keyword to search for on Instagram. (Required)
- paginationToken (query): Pagination token from the previous response. Omit it for the first page.

Return format: safely handle JSON or text according to the actual Content-Type.

Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
   - 0: Success
   - 100: Invalid or Inactive Token
   - 301: Collection Failed. Please Retry.
   - 302: Rate Limit Exceeded
   - 303: Daily Quota Exceeded
   - 400: Invalid Parameters
   - 500: Internal Server Error
   - 600: Permission Denied
   - 601: Insufficient Balance
   - 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.

Please help me write a script in my preferred programming language to call this API and handle the response.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Provided by OpenAPI servers

url = BASE_URL + "/api/instagram/general-search/v1?token=YOUR_API_KEY&keyword=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/instagram/general-search/v1?token=YOUR_API_KEY&keyword=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
        final String url = BASE_URL + "/api/instagram/general-search/v1?token=YOUR_API_KEY&keyword=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/instagram/general-search/v1?token=YOUR_API_KEY&keyword=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/instagram/general-search/v1?token=YOUR_API_KEY&keyword=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/instagram/general-search-v1-en.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI Definition (JSON)]</a>
</div>

## Response Fields

Key fields in a successful response (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| Field path | Type | Description |
| --- | --- | --- |
| <code>data</code> | <code>object &#124; null</code> | Instagram general search results and continuation, when returned. |
| <code>data.data</code> | <code>object</code> | Results returned for the current search page. |
| <code>data.data.count</code> | <code>integer</code> | Number of items reported for this search page. |
| <code>data.data.items</code> | <code>array</code> | Media results returned on this search page. |
| <code>data.data.items[]</code> | <code>object</code> | One reported Instagram media result. Fields can vary by media type. |
| <code>data.data.items[].id</code> | <code>string</code> | Identifier returned for the Instagram media result. |
| <code>data.data.items[].code</code> | <code>string</code> | Shortcode returned for the Instagram post, when available. |
| <code>data.data.items[].taken_at</code> | <code>integer</code> | Post time as a Unix timestamp in seconds. |
| <code>data.data.items[].taken_at_date</code> | <code>string</code> | Post time as a date and time string. |
| <code>data.data.items[].media_type</code> | <code>integer</code> | Instagram media type code for this post. |
| <code>data.data.items[].product_type</code> | <code>string</code> | Reported Instagram product type for the media. |
| <code>data.data.items[].media_format</code> | <code>string</code> | Reported media format label. |
| <code>data.data.items[].is_video</code> | <code>boolean</code> | Whether Instagram marks the media as video. |
| <code>data.data.items[].is_pinned</code> | <code>boolean</code> | Whether Instagram reports the post as pinned. |
| <code>data.data.items[].is_paid_partnership</code> | <code>boolean</code> | Whether the post is marked as a paid partnership. |
| <code>data.data.items[].original_width</code> | <code>integer</code> | Reported width of the original media. |
| <code>data.data.items[].original_height</code> | <code>integer</code> | Reported height of the original media. |
| <code>data.data.items[].like_count</code> | <code>integer</code> | Reported like count for the post. |
| <code>data.data.items[].comment_count</code> | <code>integer</code> | Reported comment count for the post. |
| <code>data.data.items[].share_count</code> | <code>integer &#124; null</code> | Reported share count for the post, which can be null. |
| <code>data.data.items[].repost_count</code> | <code>integer &#124; null</code> | Reported repost count for the post, which can be null. |
| <code>data.data.items[].play_count</code> | <code>integer &#124; null</code> | Reported play count for the post, which can be null. |
| <code>data.data.items[].ig_like_count</code> | <code>integer</code> | Instagram-specific like count, when provided separately. |
| <code>data.data.items[].fb_like_count</code> | <code>integer &#124; null</code> | Facebook-specific like count, when reported. |
| <code>data.data.items[].fb_play_count</code> | <code>integer &#124; null</code> | Facebook-specific play count, when reported. |
| <code>data.data.items[].caption_is_edited</code> | <code>boolean</code> | Whether the caption is marked as edited. |
| <code>data.data.items[].caption</code> | <code>object</code> | Caption information returned for the post. |
| <code>data.data.items[].caption.id</code> | <code>string</code> | Identifier of the caption, returned as text. |
| <code>data.data.items[].caption.text</code> | <code>string</code> | Caption text for the post. |
| <code>data.data.items[].caption.created_at</code> | <code>integer</code> | Caption creation time as a Unix timestamp in seconds. |
| <code>data.data.items[].caption.created_at_utc</code> | <code>integer</code> | Caption creation timestamp in UTC, in Unix seconds. |
| <code>data.data.items[].caption.content_type</code> | <code>string</code> | Content type label reported for the caption. |
| <code>data.data.items[].caption.text_translation</code> | <code>string &#124; null</code> | Translated caption text, when available. |
| <code>data.data.items[].caption.hashtags</code> | <code>array</code> | Hashtags found in the caption. |
| <code>data.data.items[].caption.hashtags[]</code> | <code>string</code> | One hashtag from the caption. |
| <code>data.data.items[].caption.mentions</code> | <code>array</code> | Account mentions found in the caption. |
| <code>data.data.items[].caption.mentions[]</code> | <code>string</code> | One account mention from the caption. |
| <code>data.data.items[].caption.user</code> | <code>object</code> | Account information returned with the caption. |
| <code>data.data.items[].caption.user.id</code> | <code>string</code> | Instagram account identifier returned as text. |
| <code>data.data.items[].caption.user.username</code> | <code>string</code> | Instagram username reported for the account. |
| <code>data.data.items[].caption.user.full_name</code> | <code>string</code> | Display name reported for the Instagram account. |
| <code>data.data.items[].caption.user.is_private</code> | <code>boolean</code> | Whether Instagram marks the account as private. |
| <code>data.data.items[].caption.user.is_verified</code> | <code>boolean</code> | Whether Instagram marks the account as verified. |
| <code>data.data.items[].caption.user.profile_pic_id</code> | <code>string</code> | Identifier of the Instagram profile image. |
| <code>data.data.items[].caption.user.profile_pic_url</code> | <code>string</code> | Profile image URL returned for the account. |
| <code>data.data.items[].caption.user.follower_count</code> | <code>integer</code> | Reported Instagram follower count for this account. |
| <code>data.data.items[].user</code> | <code>object</code> | Instagram account information returned for the media author. |
| <code>data.data.items[].user.id</code> | <code>string</code> | Instagram account identifier returned as text. |
| <code>data.data.items[].user.username</code> | <code>string</code> | Instagram username reported for the account. |
| <code>data.data.items[].user.full_name</code> | <code>string</code> | Display name reported for the Instagram account. |
| <code>data.data.items[].user.is_private</code> | <code>boolean</code> | Whether Instagram marks the account as private. |
| <code>data.data.items[].user.is_verified</code> | <code>boolean</code> | Whether Instagram marks the account as verified. |
| <code>data.data.items[].user.profile_pic_id</code> | <code>string</code> | Identifier of the Instagram profile image. |
| <code>data.data.items[].user.profile_pic_url</code> | <code>string</code> | Profile image URL returned for the account. |
| <code>data.data.items[].user.follower_count</code> | <code>integer</code> | Reported Instagram follower count for this account. |
| <code>data.data.items[].coauthor_producers</code> | <code>array</code> | Public profile summaries for the post's reported coauthors. |
| <code>data.data.items[].coauthor_producers[]</code> | <code>object</code> | One reported coauthor profile. |
| <code>data.data.items[].coauthor_producers[].id</code> | <code>string</code> | Instagram account identifier returned as text. |
| <code>data.data.items[].coauthor_producers[].username</code> | <code>string</code> | Instagram username reported for the account. |
| <code>data.data.items[].coauthor_producers[].full_name</code> | <code>string</code> | Display name reported for the Instagram account. |
| <code>data.data.items[].coauthor_producers[].is_private</code> | <code>boolean</code> | Whether Instagram marks the account as private. |
| <code>data.data.items[].coauthor_producers[].is_verified</code> | <code>boolean</code> | Whether Instagram marks the account as verified. |
| <code>data.data.items[].coauthor_producers[].profile_pic_id</code> | <code>string</code> | Identifier of the Instagram profile image. |
| <code>data.data.items[].coauthor_producers[].profile_pic_url</code> | <code>string</code> | Profile image URL returned for the account. |
| <code>data.data.items[].tagged_users</code> | <code>array &#124; null</code> | Accounts tagged in the media, when returned. |
| <code>data.data.items[].tagged_users[]</code> | <code>object</code> | One account tag on the media. |
| <code>data.data.items[].tagged_users[].user</code> | <code>object</code> | Profile information for the tagged account. |
| <code>data.data.items[].tagged_users[].user.id</code> | <code>string</code> | Instagram account identifier returned as text. |
| <code>data.data.items[].tagged_users[].user.username</code> | <code>string</code> | Instagram username reported for the account. |
| <code>data.data.items[].tagged_users[].user.full_name</code> | <code>string</code> | Display name reported for the Instagram account. |
| <code>data.data.items[].tagged_users[].user.is_private</code> | <code>boolean</code> | Whether Instagram marks the account as private. |
| <code>data.data.items[].tagged_users[].user.is_verified</code> | <code>boolean</code> | Whether Instagram marks the account as verified. |
| <code>data.data.items[].tagged_users[].user.profile_pic_id</code> | <code>string</code> | Identifier of the Instagram profile image. |
| <code>data.data.items[].tagged_users[].user.profile_pic_url</code> | <code>string</code> | Profile image URL returned for the account. |
| <code>data.data.items[].location</code> | <code>object &#124; null</code> | Public place tag returned for the post, when present. |
| <code>data.data.items[].location.id</code> | <code>string</code> | Identifier of the place tag, returned as text. |
| <code>data.data.items[].location.name</code> | <code>string</code> | Display name of the tagged place. |
| <code>data.data.items[].location.short_name</code> | <code>string</code> | Short display name of the tagged place. |
| <code>data.data.items[].location.city</code> | <code>string</code> | City reported for the tagged place. |
| <code>data.data.items[].ai_label_info</code> | <code>object &#124; null</code> | AI attribution display information returned for the media. |
| <code>data.data.items[].ai_label_info.attribution_label_text</code> | <code>string &#124; null</code> | Displayed AI attribution label, when provided. |
| <code>data.data.items[].ai_label_info.subtitle_text</code> | <code>string</code> | Subtitle text returned with the AI attribution label. |
| <code>data.data.items[].thumbnail_url</code> | <code>string</code> | Thumbnail URL returned for the media. |
| <code>data.data.items[].image_versions</code> | <code>object</code> | Image versions available for this media. |
| <code>data.data.items[].image_versions.items</code> | <code>array</code> | Image candidates returned for this media. |
| <code>data.data.items[].image_versions.items[]</code> | <code>object</code> | One candidate image returned for the media. |
| <code>data.data.items[].image_versions.items[].url</code> | <code>string</code> | URL returned for this image version. |
| <code>data.data.items[].image_versions.items[].width</code> | <code>integer</code> | Reported width of this image version. |
| <code>data.data.items[].image_versions.items[].height</code> | <code>integer</code> | Reported height of this image version. |
| <code>data.data.items[].image_versions.additional_items</code> | <code>object &#124; null</code> | Additional named image variants for this media. |
| <code>data.data.items[].image_versions.additional_items.first_frame</code> | <code>object</code> | Image version reported for the video first frame. |
| <code>data.data.items[].image_versions.additional_items.first_frame.url</code> | <code>string</code> | URL returned for this image version. |
| <code>data.data.items[].image_versions.additional_items.first_frame.width</code> | <code>integer</code> | Reported width of this image version. |
| <code>data.data.items[].image_versions.additional_items.first_frame.height</code> | <code>integer</code> | Reported height of this image version. |
| <code>data.data.items[].image_versions.additional_items.igtv_first_frame</code> | <code>object</code> | First-frame image version labeled IGTV in the response. |
| <code>data.data.items[].image_versions.additional_items.igtv_first_frame.url</code> | <code>string</code> | URL returned for this image version. |
| <code>data.data.items[].image_versions.additional_items.igtv_first_frame.width</code> | <code>integer</code> | Reported width of this image version. |
| <code>data.data.items[].image_versions.additional_items.igtv_first_frame.height</code> | <code>integer</code> | Reported height of this image version. |
| <code>data.data.items[].has_audio</code> | <code>boolean &#124; null</code> | Whether the media is reported as having audio. |
| <code>data.data.items[].video_url</code> | <code>string</code> | Video playback URL returned for the media. |
| <code>data.data.items[].video_duration</code> | <code>number &#124; null</code> | Reported video duration as a number, which can be null. |
| <code>data.data.items[].video_codec</code> | <code>string &#124; null</code> | Video codec label returned for the media. |
| <code>data.data.items[].video_versions</code> | <code>array &#124; null</code> | Video versions returned for the media. |
| <code>data.data.items[].video_versions[]</code> | <code>object</code> | One available video version in the result. |
| <code>data.data.items[].video_versions[].id</code> | <code>string</code> | Identifier of the video version, returned as text. |
| <code>data.data.items[].video_versions[].type</code> | <code>integer</code> | Type code reported for this video version. |
| <code>data.data.items[].video_versions[].url</code> | <code>string</code> | URL returned for this video version. |
| <code>data.data.items[].video_versions[].width</code> | <code>integer</code> | Reported width of this video version. |
| <code>data.data.items[].video_versions[].height</code> | <code>integer</code> | Reported height of this video version. |
| <code>data.data.items[].video_subtitles_enabled</code> | <code>boolean &#124; null</code> | Whether subtitles are reported as enabled for this video. |
| <code>data.data.items[].video_subtitles_locale</code> | <code>string &#124; null</code> | Locale reported for the video's subtitles. |
| <code>data.data.items[].video_subtitles_uri</code> | <code>string &#124; null</code> | Subtitle URI returned for this video, when provided. |
| <code>data.data.items[].carousel_media_count</code> | <code>integer &#124; null</code> | Reported number of media entries in the carousel. |
| <code>data.data.items[].carousel_media</code> | <code>array &#124; null</code> | Media entries returned for a carousel post. |
| <code>data.data.items[].carousel_media[]</code> | <code>object</code> | One media entry in the carousel. |
| <code>data.data.items[].carousel_media[].id</code> | <code>string</code> | Identifier of the carousel media entry, returned as text. |
| <code>data.data.items[].carousel_media[].carousel_parent_id</code> | <code>string</code> | Parent carousel identifier reported for the entry. |
| <code>data.data.items[].carousel_media[].media_type</code> | <code>integer</code> | Reported media type code of the carousel entry. |
| <code>data.data.items[].carousel_media[].is_video</code> | <code>boolean</code> | Whether Instagram marks the carousel entry as video. |
| <code>data.data.items[].carousel_media[].original_width</code> | <code>integer</code> | Reported original width of the carousel entry. |
| <code>data.data.items[].carousel_media[].original_height</code> | <code>integer</code> | Reported original height of the carousel entry. |
| <code>data.data.items[].carousel_media[].thumbnail_url</code> | <code>string</code> | Thumbnail URL returned for the carousel entry. |
| <code>data.data.items[].carousel_media[].image_versions</code> | <code>object</code> | Image versions returned for the carousel entry. |
| <code>data.data.items[].carousel_media[].image_versions.items</code> | <code>array</code> | Image candidates returned for the carousel entry. |
| <code>data.data.items[].carousel_media[].image_versions.items[]</code> | <code>object</code> | One image candidate for this carousel entry. |
| <code>data.data.items[].carousel_media[].image_versions.items[].url</code> | <code>string</code> | URL returned for this image version. |
| <code>data.data.items[].carousel_media[].image_versions.items[].width</code> | <code>integer</code> | Reported width of this image version. |
| <code>data.data.items[].carousel_media[].image_versions.items[].height</code> | <code>integer</code> | Reported height of this image version. |
| <code>data.data.items[].clips_metadata</code> | <code>object &#124; null</code> | Clip metadata returned with some media results. |
| <code>data.data.items[].clips_metadata.audio_type</code> | <code>string</code> | Audio type label reported for this clip. |
| <code>data.data.items[].clips_metadata.audio_canonical_id</code> | <code>string</code> | Audio identifier returned in the clip information. |
| <code>data.data.items[].clips_metadata.original_sound_info</code> | <code>object &#124; null</code> | Original audio information returned for the clip. |
| <code>data.data.items[].clips_metadata.original_sound_info.audio_id</code> | <code>string</code> | Identifier of the original audio, returned as text. |
| <code>data.data.items[].clips_metadata.original_sound_info.original_audio_title</code> | <code>string</code> | Display title of the original audio. |
| <code>data.data.items[].clips_metadata.original_sound_info.original_media_id</code> | <code>string</code> | Identifier of the original media reported with this audio. |
| <code>data.data.items[].clips_metadata.original_sound_info.duration_in_ms</code> | <code>integer</code> | Original audio duration in milliseconds. |
| <code>data.data.items[].clips_metadata.original_sound_info.is_explicit</code> | <code>boolean</code> | Whether the original audio has an explicit-content label. |
| <code>data.data.items[].clips_metadata.original_sound_info.time_created</code> | <code>integer</code> | Original audio creation time as a Unix timestamp in seconds. |
| <code>data.data.items[].clips_metadata.original_sound_info.progressive_download_url</code> | <code>string</code> | Audio media URL returned for the original sound. |
| <code>data.data.items[].clips_metadata.original_sound_info.ig_artist</code> | <code>object</code> | Instagram artist profile returned for the original audio. |
| <code>data.data.items[].clips_metadata.original_sound_info.ig_artist.id</code> | <code>string</code> | Instagram account identifier returned as text. |
| <code>data.data.items[].clips_metadata.original_sound_info.ig_artist.username</code> | <code>string</code> | Instagram username reported for the account. |
| <code>data.data.items[].clips_metadata.original_sound_info.ig_artist.full_name</code> | <code>string</code> | Display name reported for the Instagram account. |
| <code>data.data.items[].clips_metadata.original_sound_info.ig_artist.is_private</code> | <code>boolean</code> | Whether Instagram marks the account as private. |
| <code>data.data.items[].clips_metadata.original_sound_info.ig_artist.is_verified</code> | <code>boolean</code> | Whether Instagram marks the account as verified. |
| <code>data.data.items[].clips_metadata.original_sound_info.ig_artist.profile_pic_id</code> | <code>string</code> | Identifier of the Instagram profile image. |
| <code>data.data.items[].clips_metadata.original_sound_info.ig_artist.profile_pic_url</code> | <code>string</code> | Profile image URL returned for the account. |
| <code>data.data.items[].clips_metadata.music_info</code> | <code>object &#124; null</code> | Catalog music information returned for the clip. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info</code> | <code>object</code> | Reported catalog music asset information. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.id</code> | <code>string</code> | Identifier of the catalog music asset. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.audio_id</code> | <code>string</code> | Audio identifier for the catalog music asset. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.artist_id</code> | <code>string &#124; null</code> | Artist identifier for the catalog music, when provided. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.title</code> | <code>string</code> | Title reported for the catalog music. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.subtitle</code> | <code>string</code> | Subtitle returned with the catalog music information. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.display_artist</code> | <code>string</code> | Display name of the catalog music artist. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.ig_username</code> | <code>string &#124; null</code> | Instagram username reported for the music artist. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.duration_in_ms</code> | <code>integer</code> | Catalog music asset duration in milliseconds. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.has_lyrics</code> | <code>boolean</code> | Whether lyrics are reported for this music asset. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.is_explicit</code> | <code>boolean</code> | Whether the catalog music has an explicit-content label. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.cover_artwork_uri</code> | <code>string</code> | Cover artwork URI for the catalog music. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.cover_artwork_thumbnail_uri</code> | <code>string</code> | Cover artwork thumbnail URI for the catalog music. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.progressive_download_url</code> | <code>string</code> | Audio media URL returned for the catalog music. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.fast_start_progressive_download_url</code> | <code>string</code> | Audio URL reported for fast-start playback of the catalog music. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.highlight_start_times_in_ms</code> | <code>array</code> | Highlight start offsets returned for the music asset. |
| <code>data.data.items[].clips_metadata.music_info.music_asset_info.highlight_start_times_in_ms[]</code> | <code>integer</code> | One highlight start offset in milliseconds. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info</code> | <code>object</code> | Details about the portion of catalog music used in the clip. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.audio_asset_start_time_in_ms</code> | <code>integer &#124; null</code> | Start offset in the music asset, in milliseconds. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.overlap_duration_in_ms</code> | <code>integer &#124; null</code> | Reported duration of music overlap with the clip, in milliseconds. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.ig_artist</code> | <code>object &#124; null</code> | Instagram artist profile returned with the catalog music use. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.ig_artist.id</code> | <code>string</code> | Instagram account identifier returned as text. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.ig_artist.username</code> | <code>string</code> | Instagram username reported for the account. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.ig_artist.full_name</code> | <code>string</code> | Display name reported for the Instagram account. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.ig_artist.is_private</code> | <code>boolean</code> | Whether Instagram marks the account as private. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.ig_artist.is_verified</code> | <code>boolean</code> | Whether Instagram marks the account as verified. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.ig_artist.profile_pic_id</code> | <code>string</code> | Identifier of the Instagram profile image. |
| <code>data.data.items[].clips_metadata.music_info.music_consumption_info.ig_artist.profile_pic_url</code> | <code>string</code> | Profile image URL returned for the account. |
| <code>data.pagination_token</code> | <code>string</code> | Opaque continuation value for the search. If provided, send it as paginationToken with the same keyword to request the next page. |

</div>

## Response Example

<ApiExampleSection :api='JSON.parse("\"/api/instagram/general-search/v1\"")' />

