API Description

Instagram Search API — Search Instagram content by keyword and return matching results.

Authenticate with your Pangolinfo API Key to receive structured JSON data.

Request URL

POST https://scrapeapi.pangolinfo.com/api/v1/social/instagram-search

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Collection takes up to approximately 75 seconds. Set your client timeout to 90 seconds.

Request Parameters

ParameterRequiredTypeDescription
targetYesstringTarget URL, supported ID or search keyword for this operation.
optionsNoobjectOptional collection settings, described below.

options Parameters

ParameterRequiredTypeDescription
maxPagesNointegerPages to collect. Default: 1; values above 5 are capped at 5. Must be a positive integer.
Default: 1
Minimum: 1
Maximum: 5
cursorNostring | nullContinuation cursor from the previous response. Pass the value unchanged.

Only the request parameters listed on this page are used; other fields are ignored. Pass pagination cursors back unchanged, without encoding, decoding or conversion.

One page by default, capped at five per request. Page counts must be positive integers; higher values are capped at five.

Searches public Reels only; authenticated search pages are unsupported.

Response Fields

FieldTypeDescription
codeintegerStatus code; 0 indicates success.
messagestringResponse message; ok on success.
pointCostnumberPoints charged for this request.
dataobjectCollected data, with fields described below.
metaobjectRequest identifier and duration in milliseconds.
billingobjectCharged units, unit price and billing rule version.

data Fields

FieldTypeDescription
querystringQuery
relatedKeywordsstring[]Related keywords
itemsobject[]Result items.
paginationobjectContinuation cursor and whether more results are available.

data.items[] Fields

FieldTypeDescription
idstringRecord identifier.
shortcodestring | nullShortcode
typenamestring | nullTypename
captionstring | nullCaption
playCountnumber | nullPlay count
publishedAtobject | nullPublication time.
displayUristring | nullDisplay uri
userobjectUser details.
videoVersionsobject[]Video versions
urlstring | nullContent URL.

data.items[].publishedAt Fields

FieldTypeDescription
textstring | nullText value.
valuenumber | nullParsed value.

data.items[].user Fields

FieldTypeDescription
pkstring | number | nullPk
idstring | nullRecord identifier.
usernamestring | nullUsername
fullNamestring | nullFull name
isVerifiedbooleanIs verified
isPrivatebooleanIs private
profilePicUrlstring | nullProfile pic url

data.items[].videoVersions[] Fields

FieldTypeDescription
typenumber | nullResult type.
widthnumber | nullWidth
heightnumber | nullHeight
urlstringContent URL.

data.pagination Fields

FieldTypeDescription
cursorstring | nullContinuation cursor from the previous response. Pass the value unchanged.
hasMorebooleanWhether more results are available.

Request Example

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/instagram-search \
  --header 'Authorization: Bearer YOUR_PANGOLINFO_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "landscape"
}'

Response Example

This excerpt shows the first item of each list. Long text and URLs are shortened; pointCost is the charge for the complete response. The playground contains the full schema.

{
  "code": 0,
  "message": "ok",
  "pointCost": 4.0,
  "data": {
    "query": "landscape",
    "items": [
      {
        "id": "3860769882443121455",
        "shortcode": "DWUNcC6jIMv",
        "typename": "XIGPolarisVideoMedia",
        "caption": "Welcome to the street that everyone forgot. 🏡✨\n⠀\nMost people saw crumbling walls and abandoned facades, but I saw a story worth saving. I’ve spent months res...",
        "playCount": null,
        "publishedAt": {
          "text": "2026-03-25T17:27:36.526Z",
          "value": 1774459656526
        },
        "displayUri": "https://scontent.cdninstagram.com/v/t51.82787-15/656856502_18029422424636389_8421175381176501592_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_nc_cat=105&ccb=7-5&_nc_s...",
        "user": {
          "pk": "49136228388",
          "username": "volos.bushcraft",
          "fullName": null,
          "isVerified": false,
          "isPrivate": false,
          "profilePicUrl": "https://scontent.cdninstagram.com/v/t51.82787-19/642222268_18023317358636389_3739283683078552504_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=103&ig_cache_key=GLyI...",
          "id": "17841449091662028"
        },
        "videoVersions": [
          {
            "type": null,
            "width": null,
            "height": null,
            "url": "https://instagram.fdac7-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQN2nFwXNYapdl5eAzMHhsPu6gnnGPhcR0dcUP_wS_AGLvyQ8xCKkqZhfQUS-LQlCcREy5ngdJoUS3tYSpWoNKrU78hRKzPvcXbj69..."
          }
        ],
        "url": "https://www.instagram.com/reel/DWUNcC6jIMv/"
      }
    ],
    "relatedKeywords": [
      "fjord landscapes of norway"
    ],
    "pagination": {
      "cursor": null,
      "hasMore": true
    }
  },
  "meta": {
    "requestId": "pg-audit-r1-instagram-search-1793954249762353700",
    "durationMs": 7445
  },
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 5,
    "pointCost": 4.0
  }
}

Points Usage

0.8 points per primary result.

Empty results and failed requests are not charged. Duplicate IDs are counted once within a response. Separate calls and pages are billed separately. See Social Media Reviews API billing.

Try it