Traffic API
Query site traffic data by domain.
Endpoint
GET https://api.goanyapi.com/api/v1/trafficCurrent configured costs by query mode: 3 months: 2 credits; 6 months: 4 credits; 12 months: 6 credits.
Authentication
Authorization: Bearer YOUR_API_KEYRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Target domain |
month | number | No | History range: 3, 6, or 12; defaults to 3 |
Credit costs are loaded dynamically from the current API settings and vary by the selected history range.
Example
GET /api/v1/traffic?domain=mangadex.org&month=3
Authorization: Bearer YOUR_API_KEYResponse Example
{
"code": "ok",
"message": "ok",
"data": {
"endpoint": "traffic",
"remainingCredits": 79,
"query": {
"domain": "mangadex.org",
"month": "3"
},
"HistoryMonths": 3,
"Policy": 0,
"Description": "Read comics and manga online at MangaDex, with high quality images and support creators and translators!",
"Category": "",
"TopKeywords": [
{
"Name": "mangadex",
"Volume": 650050,
"Cpc": 0.63,
"EstimatedValue": 1482850
}
],
"SiteName": "mangadex.org",
"TopCountryShares": [
{
"Country": 840,
"CountryCode": "US",
"Value": 0.375511360640705
}
],
"CountryRank": {
"Country": 840,
"CountryCode": "US",
"Rank": 226
},
"Title": "MangaDex",
"Engagments": {
"BounceRate": "0.3285128562814251",
"Month": "2",
"Year": "2026",
"Visits": "48954756",
"TimeOnSite": "410.25450715662765",
"PagePerVisit": "29.548163052525982"
},
"EstimatedMonthlyVisits": {
"2025-12-01": 55855138,
"2026-01-01": 57329539,
"2026-02-01": 48954756
},
"GlobalRank": {
"Rank": 308
},
"TrafficSources": {
"Social": 0.022719871189541836,
"Mail": 0.014506298771292721,
"Referrals": 0.022612703963185977,
"Search": 0.1475054175647919,
"Direct": 0.7299583784763182,
"SocialPaid": 0.001810277557258009,
"SearchPaid": 0.02898780346576485,
"GenAI": 0.014030951740099966,
"Affiliate": 0.00005200559846789679,
"DisplayAds": 0.017816291673278476
},
"trafficSourceTrends": {
"Direct": {
"2025-12-01": 0.718,
"2026-01-01": 0.724,
"2026-02-01": 0.7299583784763182
},
"Search": {
"2025-12-01": 0.156,
"2026-01-01": 0.151,
"2026-02-01": 0.1475054175647919
}
},
"aiTraffic": {
"totalVisits": 686870,
"share": 0.014030951740099966,
"trends": [
{
"source": "ChatGPT",
"history": [
{ "date": "2025-12-01", "visits": 598000 },
{ "date": "2026-01-01", "visits": 654000 },
{ "date": "2026-02-01", "visits": 686870 }
]
}
]
},
"CategoryRank": {
"Category": "",
"Rank": "0"
},
"DateData": {
"registration": "2018-02-22T22:03:18.26Z",
"expiration": "2027-02-22T22:03:18.26Z"
}
}
}Response Fields
| Field | Description |
|---|---|
data.endpoint | Fixed value: traffic |
data.costCredits | Credits consumed by this request |
data.remainingCredits | Remaining credits after deduction |
data.query.domain | Normalized domain parameter |
data.query.month | Normalized history range |
data.HistoryMonths | History range returned by this request |
data.Policy | Policy flag |
data.Description | Site description |
data.Category | Site category |
data.TopKeywords | Top traffic keywords |
data.SiteName | Site domain |
data.TopCountryShares | Top country traffic shares |
data.CountryRank | Rank in the top country |
data.Title | Site title |
data.Engagments | Engagement metrics |
data.EstimatedMonthlyVisits | Recent monthly visits |
data.GlobalRank | Global traffic rank |
data.TrafficSources | Traffic source distribution |
data.trafficSourceTrends | Monthly traffic source trends |
data.aiTraffic | AI traffic overview and monthly history |
data.CategoryRank | Category rank |
data.DateData | Domain registration and expiration dates |
TrafficSources Fields
data.TrafficSources can include these source keys: Social, Mail, Referrals, Search, Direct, SocialPaid, SearchPaid, GenAI, Affiliate, and DisplayAds.