Analyze virality
curl --request POST \
--url https://api.kanarie.xyz/api/v1/data/virality \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"queries": [
"solana",
"bitcoin"
],
"search_type": "terms"
}
'const url = 'https://api.kanarie.xyz/api/v1/data/virality';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({queries: ['solana', 'bitcoin'], search_type: 'terms'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.kanarie.xyz/api/v1/data/virality"
payload = {
"queries": ["solana", "bitcoin"],
"search_type": "terms"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"error": null,
"analysis": {
"solana": {
"mention_count": 1500,
"velocity": 2.3,
"is_viral": true
}
},
"metadata": {
"lookback_days": 7
}
}{
"error": "Validation failed",
"details": [
"limit must be a number between 1 and 100"
]
}{
"error": "Missing API key. Expected Authorization: Bearer <api-key> or x-kanarie-api-key: <api-key>."
}{
"x402Version": 2,
"error": "Payment required",
"accepts": [
{}
]
}{
"error": "Invalid API key"
}{
"error": "Rate limit exceeded",
"limit": 123,
"plan": "casual",
"window": "15 minutes",
"retryAfter": 900
}{
"error": "Internal server error"
}Data
Analyze virality
Analyze mention velocity and virality for terms or project IDs. Supports API key auth or x402 fallback.
POST
https://api.kanarie.xyz
/
api
/
v1
/
data
/
virality
Analyze virality
curl --request POST \
--url https://api.kanarie.xyz/api/v1/data/virality \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"queries": [
"solana",
"bitcoin"
],
"search_type": "terms"
}
'const url = 'https://api.kanarie.xyz/api/v1/data/virality';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({queries: ['solana', 'bitcoin'], search_type: 'terms'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://api.kanarie.xyz/api/v1/data/virality"
payload = {
"queries": ["solana", "bitcoin"],
"search_type": "terms"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"error": null,
"analysis": {
"solana": {
"mention_count": 1500,
"velocity": 2.3,
"is_viral": true
}
},
"metadata": {
"lookback_days": 7
}
}{
"error": "Validation failed",
"details": [
"limit must be a number between 1 and 100"
]
}{
"error": "Missing API key. Expected Authorization: Bearer <api-key> or x-kanarie-api-key: <api-key>."
}{
"x402Version": 2,
"error": "Payment required",
"accepts": [
{}
]
}{
"error": "Invalid API key"
}{
"error": "Rate limit exceeded",
"limit": 123,
"plan": "casual",
"window": "15 minutes",
"retryAfter": 900
}{
"error": "Internal server error"
}Authorizations
bearerAuthkanarieApiKey
Preferred Kanarie API key authentication using Authorization: Bearer .
Body
application/json
Was this page helpful?