> ## Documentation Index
> Fetch the complete documentation index at: https://getanyapi.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram Suggested Profiles

> Sell instagram.suggested_profiles on AnyAPI: the request your endpoint receives, the response it must return, and what the real-request check judges.

List the full set of accounts Instagram suggests as similar to a public profile, the list its app shows, with each account's handle, display name, verified flag, private flag and avatar. For the shorter related-profiles list Instagram's website shows, at a lower price, use instagram.similar\_profiles.

This page is the seller-facing summary of one catalog API, `instagram.suggested_profiles`. The transport rules that apply to every API a seller serves - signed requests, the response envelope, timeouts, and body limits - are on [the operator endpoint contract](https://getanyapi.com/docs/sell/operator-endpoint-contract.md).

## The price you compete with

AnyAPI publishes this API from **\$2.20 per 1,000 requests**. That is the price a buyer sees today, so it is the price your endpoint has to come in under to win traffic.

## The request your endpoint receives

| Field | Type | Required | What it means |
| - | - | - | - |
| `handle` | string | yes | Instagram username without the leading @. |

> [accordion] Full input JSON Schema
>
> ```json theme={"dark"}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "$id": "https://getanyapi.com/schemas/instagram.suggested_profiles.input.json",
>   "example": {
>     "handle": "nasa"
>   },
>   "title": "Instagram Suggested Profiles input",
>   "type": "object",
>   "additionalProperties": false,
>   "x-aliases": {
>     "username": "handle"
>   },
>   "required": [
>     "handle"
>   ],
>   "properties": {
>     "handle": {
>       "type": "string",
>       "description": "Instagram username without the leading @."
>     }
>   }
> }
> ```

## The response your endpoint must return

| Field | Type | Always present | What it means |
| - | - | - | - |
| `data` | null or object | yes | |
| `data.profiles` | array | yes | Accounts Instagram suggests as similar to the requested profile. |
| `data.profiles[].avatarUrl` | string | yes | Profile picture URL, as Instagram's CDN serves it. |
| `data.profiles[].displayName` | string | yes | Account display name. |
| `data.profiles[].private` | boolean or null | yes | Whether the account is private. Null when the source does not report it. |
| `data.profiles[].userId` | string | yes | Instagram's numeric account id, as a string. |
| `data.profiles[].username` | string | yes | Instagram username without the leading @. |
| `data.profiles[].verified` | boolean | yes | Whether the account carries Instagram's verified badge. |
| `found` | boolean | yes | |

Extra fields are kept, missing declared fields fail.

> [accordion] Full output JSON Schema
>
> ```json theme={"dark"}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "$id": "https://getanyapi.com/schemas/instagram.suggested_profiles.output.json",
>   "title": "Instagram Suggested Profiles output",
>   "type": "object",
>   "additionalProperties": false,
>   "required": [
>     "found",
>     "data"
>   ],
>   "properties": {
>     "found": {
>       "type": "boolean"
>     },
>     "data": {
>       "oneOf": [
>         {
>           "type": "null"
>         },
>         {
>           "type": "object",
>           "additionalProperties": false,
>           "required": [
>             "profiles"
>           ],
>           "properties": {
>             "profiles": {
>               "x-anyapi-must-populate": true,
>               "type": "array",
>               "description": "Accounts Instagram suggests as similar to the requested profile.",
>               "items": {
>                 "type": "object",
>                 "required": [
>                   "username",
>                   "userId",
>                   "displayName",
>                   "verified",
>                   "private",
>                   "avatarUrl"
>                 ],
>                 "properties": {
>                   "username": {
>                     "x-anyapi-must-populate": true,
>                     "type": "string",
>                     "description": "Instagram username without the leading @."
>                   },
>                   "userId": {
>                     "type": "string",
>                     "description": "Instagram's numeric account id, as a string."
>                   },
>                   "displayName": {
>                     "type": "string",
>                     "description": "Account display name."
>                   },
>                   "verified": {
>                     "type": "boolean",
>                     "description": "Whether the account carries Instagram's verified badge."
>                   },
>                   "private": {
>                     "type": [
>                       "boolean",
>                       "null"
>                     ],
>                     "description": "Whether the account is private. Null when the source does not report it."
>                   },
>                   "avatarUrl": {
>                     "x-anyapi-domain": [
>                       "fbcdn.net",
>                       "cdninstagram.com"
>                     ],
>                     "type": "string",
>                     "format": "uri",
>                     "description": "Profile picture URL, as Instagram's CDN serves it."
>                   }
>                 }
>               }
>             }
>           }
>         }
>       ]
>     }
>   }
> }
> ```

## Fields that must never come back empty

* `profiles`
* `username`

The repository marks these fields as ones every source must be able to fill. An empty value is only correct when the entity itself genuinely has nothing there.

## Not found, and how it differs from empty

When the entity does not exist, answer 2xx with the not-found shape:

```json theme={"dark"}
{
  "found": false,
  "data": null
}
```

An empty list is not a not-found: when the entity exists and has nothing to return, answer 2xx with `found: true` and an empty `profiles` array.

This output schema declares no `reason` field, so `found: false` is the whole not-found answer.

## Example request

```json theme={"dark"}
{
  "handle": "nasa"
}
```

The registration tests send this example to your endpoint, with the API's other test inputs. After that, the real-request check sends your endpoint real past customer inputs, and an AI reviewer compares each answer with AnyAPI's own answer to the same input.

## Next

* [The operator endpoint contract](https://getanyapi.com/docs/sell/operator-endpoint-contract.md) for signing, budgets, and the real-request check.
* [Every API open to sellers](https://getanyapi.com/docs/sell/apis/index.md).
* Want to sell an API that is not on that list? Email [support@getanyapi.com](mailto:support@getanyapi.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.