GET /v1/creators/autocomplete
Creator autocomplete API: handle suggestions for a search box
Send the start of a handle in q (2 characters or more) and get the stored accounts whose handle starts with it, across platforms, largest first. Each suggestion carries the platform, display name, follower count, niche and the profile id that the creator profile endpoint reads. Suggestions carry no email.
- Price
- $0.0002 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/creators/autocomplete?q=natg&limit=3' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/creators/autocomplete",
params={
"q": "natg",
"limit": "3",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
q required | query | string | Start of a handle, 2 characters or more. |
limit | query | integer | Suggestions to return. |
Example response
The example response of the API reference.
{
"data": [
{
"id": 1274,
"platform": "instagram",
"username": "natgeo",
"fullName": "National Geographic",
"profilePicUrl": null,
"profilePicCdnUrl": null,
"followers": 267423693,
"primaryNiche": "outdoors",
"identity": {
"displayName": "National Geographic",
"displayHandle": "natgeo",
"stableId": null,
"stableIdType": "instagram_id",
"externalUrl": "https://www.instagram.com/natgeo/"
},
"isAccount": true,
"kind": "brand",
"accountRole": "media",
"categoryIds": [
"P18"
],
"lastPostedAt": "2026-11-25T02:00:02+00:00"
},
{
"id": 1274,
"platform": "facebook",
"username": "NatGeoEstonia",
"fullName": "National Geographic",
"profilePicUrl": null,
"profilePicCdnUrl": null,
"followers": 82000000,
"primaryNiche": "outdoors",
"identity": {
"displayName": "National Geographic",
"displayHandle": "NatGeoEstonia",
"stableId": null,
"stableIdType": "facebook_user_id",
"externalUrl": "https://www.facebook.com/NatGeoEstonia"
},
"isAccount": true,
"kind": "brand",
"accountRole": "media",
"categoryIds": [
"P18"
],
"lastPostedAt": null
},
{
"id": 1274,
"platform": "facebook",
"username": "NatGeoFR",
"fullName": "National Geographic",
"profilePicUrl": null,
"profilePicCdnUrl": null,
"followers": 82000000,
"primaryNiche": "outdoors",
"identity": {
"displayName": "National Geographic",
"displayHandle": "NatGeoFR",
"stableId": null,
"stableIdType": "facebook_user_id",
"externalUrl": "https://www.facebook.com/NatGeoFR"
},
"isAccount": true,
"kind": "brand",
"accountRole": "media",
"categoryIds": [
"P18"
],
"lastPostedAt": null
}
],
"meta": {
"cost": "$0.0002",
"balance": "$326.8448",
"request_id": "req_d1070af8f34bd0cd6593f2e9d9f01a42"
}
}How it works
Handle suggestions for a search box: accounts whose handle starts with q, largest first, across platforms. followers is null for an account we have not read yet, and those come last. Each suggestion carries the profile id that /v1/creators/profile reads, and isAccount: true for the account of a brand or a page, false for a person who makes content, null before we judged it. An empty list costs $0. Suggestions carry no email; find contacts with /v1/contacts/find/fast or /v1/contacts/find/thorough.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
429 | Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |