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
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}'
python
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

json
{
  "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.

json
{
  "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

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
429Over 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.
502The upstream fetch failed. You are not charged.
503Billing could not be confirmed, so no upstream data was returned.
504The upstream request timed out. You are not charged.

Creator search API guide