GET /v1/creators/filter-options
Influencer search filters API: countries, niches and languages
Call it with no parameters and get every country, niche, sub-niche and language in the creator index, each with the number of profiles behind it. Use these spellings in the influencer search filters.
- Price
- Free
- Batch
- No
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/creators/filter-options' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/creators/filter-options",
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
json
{
"data": {
"countries": [
{
"code": "United States",
"count": 8370
},
{
"code": "South Korea",
"count": 6208
},
{
"code": "Brazil",
"count": 4317
}
],
"niches": [
{
"niche": "beauty",
"count": 9808
},
{
"niche": "music",
"count": 3635
},
{
"niche": "fashion",
"count": 3263
}
],
"subNiches": [
{
"subNiche": "skincare",
"count": 4845
},
{
"subNiche": "makeup",
"count": 2906
},
{
"subNiche": "K-beauty",
"count": 2467
}
],
"languages": [
{
"code": "English",
"count": 23999
},
{
"code": "Korean",
"count": 5692
},
{
"code": "Portuguese",
"count": 4501
}
]
},
"meta": {
"cost": "$0.00",
"balance": "$9.9875",
"request_id": "req_1e6d54611d8e7a66235851c2b98c387a"
}
}How it works
The countries, niches, sub-niches and languages in the index, each with its profile count. Use these spellings in the search filters. Free: reference data costs nothing.
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. |