handlestringобязательно
Instagram username without the leading @.
https://api.sandbase.ai/v1/api/instagram/similar-profilesList the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
This API returns the accounts Instagram recommends as similar to a public profile. Send the handle of the profile, without the leading @. Each result has the account's username, display name, user ID, verified flag and avatar URL.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/similar-profiles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle": "nasa"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Instagram username without the leading @. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"profiles": [
{
"avatarUrl": "https://scontent-phl2-1.cdninstagram.com/v/t51.2885-19/265195576_626729471802765…",
"displayName": "HISTORY",
"private": null,
"userId": "1385204914",
"username": "history",
"verified": true
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.profiles[] | List of accounts Instagram recommends as similar to the requested profile. |
data.profiles[].username | Handle of the recommended account. Use it as handle in other Instagram APIs. |
data.profiles[].displayName | Public display name of the recommended account. |
data.profiles[].userId | Numeric Instagram ID of the account, returned as a string. |
data.profiles[].verified | true if the account has the verified badge, false if not. |
data.profiles[].avatarUrl | Link to the account's profile picture. The sample URLs point to a 150x150 image. |
data.profiles[].private | Whether the account is private. The sample response returns null for every account, so treat it as unknown. |
found | true when the lookup returned a result. A lookup that finds nothing returns false. |
handle is the username in the profile URL, for example nasa for instagram.com/nasa.handle. There are no pagination parameters.username to Instagram Profile or Instagram User Profile.userId instead, call Instagram User Profile by ID.Billed at the actual cost of each call, about $0.00175 for the request above. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/similar-profiles" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"handle": "nasa"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
handlestringобязательноInstagram username without the leading @.
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Instagram Similar ProfilesЭтот API Instagram | От $0.00175 за запрос | JSON |
Instagram | От $0.0011 за запрос | JSON |
Instagram | От $0.001 за запрос | JSON |
Instagram | От $0.0011 за запрос | JSON |
Instagram | От $0.0012 за запрос | JSON |
Instagram | От $0.0011 за запрос | JSON |
Руководства:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/instagram/similar-profiles, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
От $0.00175 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: handle (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Instagram Similar Profiles работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Instagram.