GET /v1/crawl/komi/page
Komi scraper API: a creator's Komi page by username
Send a Komi username in user and get the creator's Komi profile: name, bio, avatar, account status and social links. A username with no Komi page returns an error and is not billed.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/crawl/komi/page?user=lizzo' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/crawl/komi/page",
params={
"user": "lizzo",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
user required | query | string | The Komi username. |
Example response
The example response of the API reference.
json
{
"data": {
"final_url": "https://api.komi.io/api/talent/usernames/lizzo",
"status": 200,
"content_type": "application/json; charset=utf-8",
"payload_kind": "json",
"response_headers": {
"content-type": "application/json; charset=utf-8",
"etag": "W/\"79d-lvSq2IJxmHnYgxwnlu6HxOxoaKs\""
},
"body": {
"id": 108138,
"username": "lizzo",
"accountStatus": "active",
"avatar": "https://komi-production-assets.s3-accelerate.amazonaws.com/photos/ZrBkc3NJWwWvRWpp8Uypj.jpg",
"talentProfile": {
"id": "c5e8a6b9-7b6c-41db-ba49-1d1508460d22",
"firstName": "Lizzo",
"lastName": " ",
"displayNameType": "IMAGE",
"displayName": "Lizzo ",
"displayNameImage": "https://komi-production-assets.s3-accelerate.amazonaws.com/photos/_uUhuXwUBSsPhLjZvoPcM.png",
"displayNameImageScale": "100%",
"showDisplayName": true,
"socialProfileLinks": [
{
"link": "https://www.instagram.com/lizzobeeating/?hl=en",
"type": "INSTAGRAM"
},
{
"link": "https://www.twitch.tv/lizzobetwitchin",
"type": "TWITCH"
},
{
"link": "https://www.facebook.com/LizzoMusic",
"type": "FACEBOOK"
}
],
"covers": null,
"instagram": null,
"youtube": null,
"website": null,
"popularity": 0,
"privacyPolicy": "https://privacy.wmg.com/atlantic/privacy-policy",
"privacyPolicyName": "WMG",
"status": "completed",
"accountStatus": "active",
"accomplishments": null,
"avatar": "https://komi-production-assets.s3-accelerate.amazonaws.com/photos/bnQNJrPhz1hywV29DUWir.jpg?tr=w-1464%2Ch-1830%2Ccm-extract%2Cx-638%2Cy-0&crp=%7B%22width%22%3A1464%2C%22height%22%3A1830%2C%22x%22%3A638%2C%22y%22%3A0%7D",
"avatarRatio": 1.25,
"avatarFilename": "JASON250037428-R1-114 M1A.jpg.jpg",
"bio": "",
"facebookPixels": [],
"fanClubName": "",
"fanClubBenefits": "",
"themeType": "DARK",
"themeColor": {
"overlayColor": "#FFFFFF",
"overlayOpacity": 0.1,
"backgroundColor": "#121212",
"typographyColor": "#FFFFFF"
},
"localizationActive": false,
"isHasFanClub": false,
"localizationId": null,
"localizationName": null,
"localizationCurrency": null,
"shopifyMerchants": {}
},
"hasBooking": false
},
"extracted": {
"values": {
"username": "lizzo",
"profile_id": "c5e8a6b9-7b6c-41db-ba49-1d1508460d22",
"name": "Lizzo ",
"bio": "",
"avatar": "https://komi-production-assets.s3-accelerate.amazonaws.com/photos/ZrBkc3NJWwWvRWpp8Uypj.jpg",
"account_status": "active",
"links": [
{
"link": "https://www.instagram.com/lizzobeeating/?hl=en",
"type": "INSTAGRAM"
},
{
"link": "https://www.twitch.tv/lizzobetwitchin",
"type": "TWITCH"
},
{
"link": "https://www.facebook.com/LizzoMusic",
"type": "FACEBOOK"
}
]
},
"errors": []
}
},
"meta": {
"cost": "$0.0005",
"balance": "$326.8445",
"request_id": "req_b630aa99bdefdc0222cf6abfb759b7df"
}
}How it works
A Komi creator profile from the JSON API the Komi page loads: name, bio, avatar, account status and social links. A username with no Komi page returns an error and is not billed.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | The page does not exist: its site answered 404 or 410 for this input. You are not charged. |
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. |