# Instagram Reels Search

Search Instagram Reels via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by anyapi, pass parameters such as query, and retrieve structured data including returned next cursor field, returned reels field, and returned found field for content research and account lookup, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/instagram/instagram-reels-search/1040bf7a-888f-45df-ab59-97c89e951be7/
API ID: 1040bf7a-888f-45df-ab59-97c89e951be7
Provider: anyapi
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/anyapi/v1/run/instagram.reels_search
Page update time: 2026-12-03T02:51:31.857Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.0024 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:51:31.234Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [
    {
      "default": "0.0024",
      "id": "max_cost_usd",
      "location": "query",
      "name": "max_cost_usd",
      "required": false,
      "type": "string"
    }
  ],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "2401",
    "max_cost_micro_usd": "2400",
    "quantities": [],
    "rounding": "ceil",
    "variants": [
      {
        "id": "capped_auto_routing",
        "label": "预算内自动选源",
        "price_micro_usd": "2400",
        "when": [
          {
            "op": "eq",
            "parameter": "max_cost_usd",
            "value": "0.0024"
          }
        ]
      }
    ]
  }
}
```

## Usage and limits
## Instagram Reels Search API

Search for Instagram Reels by keyword against Instagram's own reels search and get matching reels with view, like and comment counts, caption, creator and duration. Provide query in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Content research and account lookup**: Keep source records connected to their content and account identifiers.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `output.data.nextCursor` | Returned next cursor field |
| `output.data.reels` | Returned reels field |
| `output.found` | Returned found field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Instagram Reels Search request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "fields": {
          "type": "string",
          "description": "Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost."
        },
        "max_items": {
          "type": "integer",
          "description": "Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.",
          "minimum": 0
        },
        "summary": {
          "type": "boolean",
          "description": "Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost."
        },
        "jq": {
          "type": "string",
          "description": "Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost."
        },
        "max_cost_usd": {
          "type": "string",
          "description": "Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {
        "Idempotency-Key": {
          "type": "string",
          "description": "Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.",
          "minLength": 1,
          "maxLength": 255
        }
      }
    },
    "body": {
      "type": "object",
      "properties": {
        "cursor": {
          "type": "string",
          "description": "Pagination cursor from a previous response's nextCursor."
        },
        "ignoreSources": {
          "type": "array",
          "description": "Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.",
          "items": {
            "type": "string"
          }
        },
        "preferLatencyUnderMs": {
          "type": "integer",
          "description": "Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.",
          "minimum": 1
        },
        "query": {
          "type": "string",
          "description": "Search keyword (e.g. \"crossfit\")."
        },
        "requireFields": {
          "type": "array",
          "description": "Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `locationName`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "query"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "output": {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "nextCursor": {
              "type": "string"
            },
            "reels": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "caption": {
                    "type": "string"
                  },
                  "comments": {
                    "type": "integer"
                  },
                  "createdUtc": {
                    "type": "integer"
                  },
                  "durationSeconds": {
                    "type": "number"
                  },
                  "likes": {
                    "type": "integer"
                  },
                  "paidPartnership": {
                    "type": "boolean"
                  },
                  "shortcode": {
                    "type": "string"
                  },
                  "thumbnail": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "verified": {
                    "type": "boolean"
                  },
                  "views": {
                    "type": "integer"
                  },
                  "avatarUrl": {
                    "type": "string"
                  },
                  "displayName": {
                    "type": "string"
                  },
                  "hasAudio": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "string"
                  },
                  "productType": {
                    "type": "string"
                  },
                  "userId": {
                    "type": "string"
                  },
                  "videoUrl": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "found": {
          "type": "boolean"
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example (output fragment; HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/anyapi/v1/run/instagram.reels_search' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "query": "travel"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "output": {
    "data": {
      "nextCursor": "eyJvZmZzZXQiOjI0LCJxIjoiY29sbGFiIn0=",
      "reels": [
        {
          "caption": "Our first collab is finally here 🤝 Two creators, one kitchen, zero rules",
          "comments": 1284,
          "createdUtc": 1758201600,
          "durationSeconds": 41.5,
          "likes": 96500,
          "paidPartnership": false,
          "shortcode": "Cx4Wj2rNqKp",
          "thumbnail": "https://scontent.cdninstagram.com/v/t51.2885-15/collab_reel_1_cover.jpg",
          "url": "https://www.instagram.com/reel/Cx4Wj2rNqKp/",
          "username": "cookwithnoa",
          "verified": false,
          "views": 2140000
        },
        {
          "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/farflungtravel_150x150.jpg",
          "caption": "Collab drop with @packlight.jules: the carry-on we designed together is live, link in bio",
          "comments": 632,
          "createdUtc": 1757683200,
          "displayName": "Far Flung Travel",
          "durationSeconds": 28,
          "hasAudio": true,
          "id": "3015509827740198412",
          "likes": 41200,
          "paidPartnership": true,
          "productType": "clips",
          "shortcode": "Cy1Fp9sMabX",
          "thumbnail": "https://scontent.cdninstagram.com/v/t51.2885-15/collab_reel_2_cover.jpg",
          "url": "https://www.instagram.com/reel/Cy1Fp9sMabX/",
          "userId": "4471902358",
          "username": "farflungtravel",
          "verified": true,
          "videoUrl": "https://scontent.cdninstagram.com/v/t50.2886-16/collab_reel_2.mp4",
          "views": 890000
        },
        {
          "caption": "How I land brand collabs as a small creator (under 10k followers)",
          "comments": 415,
          "createdUtc": 1756819200,
          "durationSeconds": 55.3,
          "likes": 27800,
          "paidPartnership": false,
          "shortcode": "Cz7Km3vRstY",
          "thumbnail": "https://scontent.cdninstagram.com/v/t51.2885-15/collab_reel_3_cover.jpg",
          "url": "https://www.instagram.com/reel/Cz7Km3vRstY/",
          "username": "creatorjules",
          "verified": false,
          "views": 512000
        }
      ]
    },
    "found": true
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide query in body (string). Keep identifiers and URLs in the formats documented for this implementation.

### Which pagination or result-size inputs are exposed?
cursor is string. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

### What type does max_items use?
max_items uses the JSON type integer in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

### Which request format should I follow?
Use POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- anyapi: https://openany.si/instagram/instagram-reels-search/1040bf7a-888f-45df-ab59-97c89e951be7/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
