API ReferenceInstagram
Discover content
Search Instagram content by keyword or hashtag. Maps to a hashtag-media search. No plain-keyword search exists on this endpoint, only hashtag-based, so a leading # is optional and stripped.
This is content search. search is Instagram account search. Searching cats returns posts tagged #cats, not a keyword match across captions.
Returns the first page only; pagination isn't exposed yet.
Cost: 1 credit per successful call.
Authorization
ApiKeyAuth X-API-Key<token>
Required on every request. Keys are issued manually during early access, see Authentication.
In: header
Query Parameters
query*string
Keyword or #hashtag to search for.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/instagram/discover?query=cats"{ "success": true, "platform": "instagram", "data": [ { "id": "3990060425716807185", "text": "Throwback to the day I brought Phoebe home 🥲", "likes": 976, "comments": 15 } ], "meta": { "credits_used": 1 }}