POST /v1/creators/content/search
Influencer post search API: search captions, brand tags and collabs
Send a caption query and filters for platform, niche, country, date, likes and paid partnership, and get matching posts with their likes, caption mentions, tagged brands and the author's profile id. collabBrands and collabOf return the posts of a brand collab, and searchAfter pages past offset 10,000. It reads the stored index only and never starts a crawl.
- Price
- $0.0010 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl -X POST 'https://api.virev.ai/v1/creators/content/search' \
-H "Authorization: Bearer $VIREV_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"query":"skincare","limit":2}'import os
import requests
response = requests.request(
"POST",
"https://api.virev.ai/v1/creators/content/search",
json={
"query": "skincare",
"limit": 2,
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Request body
{
"query": "skincare",
"limit": 2
}Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
{
"data": {
"items": [
{
"id": "instagram:3753932230511935811",
"platform": "instagram",
"platformPostId": "3753932230511935811",
"profileId": 4555749,
"caption": "Unboxing my new skincare obsession โ the Pixel Pure Glow Cleansing Serum Pad! ๐\nIt gently cleanses, hydrates, and makes your skin instantly glow ๐ธ\nIf youโre chasing that dewy, fresh, โno-filterโ glow, this is your sign ๐ซ\n\n๐ง Step into thโฆ",
"likes": 224,
"comments": null,
"postedAt": null,
"contentType": "Image",
"postUrl": "https://www.instagram.com/p/DQYpXl2jcFD/",
"imageUrl": "https://instagram.ficn4-1.fna.fbcdn.net/v/t51.71878-15/573678845_1881811249353128_117388876448030865_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=109&_nc_map=urlgen_bucketless&ig_cache_key=Mzc1MzkzMjIzMDUxMTkzNTgxMTExODYyMDEwODY3MDgyNTk%3D.3-ccb7-5&ccโฆ",
"videoUrl": null,
"plays": null,
"shares": null,
"engagementScore": 224,
"isVideo": false,
"username": "glowwithuzma1",
"profilePicUrl": null,
"profilePicCdnUrl": null,
"fullName": null,
"profileFollowers": null,
"profileIsVerified": false,
"captionMentions": [
"pixelpure.official",
"skincare"
],
"isPaidPartnership": false,
"taggedBrands": [
"pixelpure_official"
],
"taggedBrandHandles": [
"pixelpure_official"
]
},
{
"id": "youtube:_4_RVxjm5hU",
"platform": "youtube",
"platformPostId": "_4_RVxjm5hU",
"profileId": 211981,
"caption": "[ASMR] Detox Sticky, scalp massage, Korean Skincare Asmr (No talking)\n์๋
ํ์ธ์ ๋ฉ๋์ปฌ ์คํจ์ผ์ด '์์ค์'์
๋๋ค\n์ค๋์ ๋ํก์คํฐํค +๋ํผ ๋ง์ฌ์ง ASMR ์์์
๋๋ค โ๐ค\n์๋ฆฌ๋ฅผ ๋ค์ผ๋ฉด์~\n์์์ ๋ณด๋ฉด์~\n์ง์ ๊ด๋ฆฌ๋ฅผ ๋ฐ๋ ๋ฏํ ๋๋์ ๋ฐ์๋ณด์ธ์โค๏ธ\n\n\n๐์์ค์ ASMR๐\n\n[ASMR] ์ ์ด ์์ ์ค๋ ํผ๋ถ ๊ด๋ฆฌ Korean Skincare Massage Asmr (โฆ",
"likes": 145,
"comments": null,
"postedAt": 1615789172000,
"contentType": "Video",
"postUrl": "https://www.youtube.com/watch?v=_4_RVxjm5hU",
"imageUrl": "https://i.ytimg.com/an_webp/_4_RVxjm5hU/mqdefault_6s.webp?du=3000&sqp=CLiGt9UG&rs=AOn4CLBhU8CI53C1I23XNH0tbeAQULYhgQ",
"videoUrl": null,
"plays": 9600,
"shares": null,
"engagementScore": 145,
"isVideo": true,
"username": "ahohaw1001",
"profilePicUrl": null,
"profilePicCdnUrl": null,
"fullName": "AHOHWA์์ค์",
"profileFollowers": 1110,
"profileIsVerified": false,
"captionMentions": [
"skincare",
"ahohaw"
],
"isPaidPartnership": false,
"taggedBrands": [],
"taggedBrandHandles": []
}
],
"total": 1000,
"degraded": false,
"nextSearchAfter": [
34.062366,
145
]
},
"meta": {
"cost": "$0.0010",
"balance": "$9.9875",
"request_id": "req_f7b1e1311e9d6b7d8800f405bad2409b"
}
}How it works
Post search over captions with platform, niche, country, date, likes and paid partnership filters, and brand collab retrieval through collabBrands or collabOf. Page past offset 10000 with searchAfter. With mode: "preview", the answer is the newest posts per profile in itemsByProfileId.
Stored index only, never a crawl. total is the exact number of matches, counted at most 2 minutes ago, with totalExact true. The first call of a broad search can take a few seconds longer while its count runs. If the count fails, total is the 10,000 floor and totalExact is false. A profile or creator page read with searchAfter carries no total. If the index does not answer in time, the page comes back empty with degraded: true and costs $0; retry the call. Custom AI column fields (userFields, userScores, userLevels) belong to other accounts and are never accepted or returned. Rows carry no contact data: emails, phones, contact blocks, linked social accounts and bio links are removed, and contact filters return 400. Find contacts with /v1/contacts/find.
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. |