Parameters
1 query
Query parameters
· 1asstringRequiredAutonomous System number, with or without the "AS" prefix.
AS16019Returns everything the platform knows about an Autonomous System (ASN): registered organisation, aggregated statistics across all IPs the platform has ever indexed under that AS (countries, cities, ISPs, timezones, connection-flag percentages), a detected country/city when ≥ 80 % of the indexed IPs agree, and up to 50 example IPs.
1 query
asstringRequiredAutonomous System number, with or without the "AS" prefix.
AS160191 status code documented
asNumberstringRequiredCanonical AS number.
AS16019asNamestringRequiredAS name as published by the RIR / MaxMind.
organizationstringRequiredOrganisation that operates the AS.
ipCountnumberRequiredTotal IPs indexed by the platform under this AS.
detectedCountryobjectOptionalPresent only when a single country accounts for ≥ 80 % of the indexed IPs under this AS.
codestringRequiredISO-3166 alpha-2 country code.
CZconfidencePercentnumberRequiredShare of indexed IPs that resolve to this country (0–100).
detectedCityobjectOptionalPresent only when a single city accounts for ≥ 80 % of the indexed IPs under this AS.
citystringRequiredCity name.
countrystringRequiredISO-3166 alpha-2 country code of the city.
confidencePercentnumberRequiredShare of indexed IPs that resolve to this city (0–100).
countriesobject[]RequiredTop countries by indexed IP count (up to 20).
countrystringRequiredISO-3166 alpha-2 country code.
countnumberRequiredIPs under this AS resolving to this country.
percentnumberRequiredShare of all indexed IPs (0–100).
citiesobject[]RequiredTop cities by indexed IP count (up to 20).
citystringRequiredCity name.
countrystringRequiredISO-3166 alpha-2 country code of the city.
countnumberRequiredIPs under this AS resolving to this city.
percentnumberRequiredShare of all indexed IPs (0–100).
ispsobject[]RequiredTop ISPs seen under this AS (up to 10).
ispstringRequiredISP name.
countnumberRequiredIPs under this AS reporting this ISP.
organisationsobject[]RequiredTop block-owner organisations seen under this AS (up to 10).
organisationstringRequiredIP block owner organisation name.
countnumberRequiredIPs under this AS reporting this organisation.
timezonesobject[]RequiredTop timezones seen under this AS (up to 10).
timezonestringRequiredIANA timezone identifier.
Europe/PraguecountnumberRequiredIPs under this AS resolving to this timezone.
connectionFlagsobjectRequiredAggregate connection-type signal for the AS.
mobilePercentnumberRequiredShare of indexed IPs flagged as mobile (0–100).
proxyPercentnumberRequiredShare of indexed IPs flagged as proxy/VPN (0–100).
hostingPercentnumberRequiredShare of indexed IPs flagged as hosting/DC (0–100).
torPercentnumberRequiredShare of indexed IPs flagged as Tor exit (0–100).
examplesobject[]RequiredUp to 50 example IPs indexed under this AS, most-recently-updated first. Each item is a valid target for the IP-lookup endpoint.
ipstringRequiredAccepted formats:
1.1.1.1 (4 octets, 0–255, no leading zeros).2001:0db8:0000:0000:0000:0000:0000:0001, zero-compressed 2001:db8::1, IPv4-mapped ::ffff:1.2.3.4, or scoped literals. Both upper- and lower-case hex are accepted.Server-side canonicalization (ipNormalize in core/src/lib/network/ipNormalize.ts):
::ffff:X.X.X.X is unwrapped to plain IPv4 (RFC 4291 §2.5.5.2) so 1.2.3.4 and ::ffff:1.2.3.4 share one brj__geo_ip row.::1, 0.0.0.0, localhost, empty string) collapse to 127.0.0.1.127.0.0.1 (loopback).On the wire: every response returns the canonicalized form — clients can safely rely on lowercase IPv6 and the plain-IPv4 unwrap when de-duping or joining. Server-originated writers (activity log, session log, ban list) resolve the visitor IP via resolveClientIp / resolveClientIpOrNull — always native IPv6 on Vercel Edge (there is no auto-mapping to ::ffff:X.X.X.X).
Enrichment: the system resolves reverse DNS, geolocation, ASN, mobile/proxy/hosting/Tor flags via our VikiTron GEO/IP resolver for both address families. Learn more
1.1.1.12001:4860:4860::8888hostnamestring | nullRequiredReverse DNS hostname of the IP.
citystring | nullRequiredCity name.
countrystring | nullRequiredISO-3166 alpha-2 country code.
countryRegionstring | nullRequiredRegion / state within the country.
ispstring | nullRequiredISP name for this specific IP.
organisationstring | nullRequiredBlock owner organisation for this IP.
mobilebooleanRequiredWhether this IP is flagged as mobile.
proxybooleanRequiredWhether this IP is flagged as proxy/VPN.
hostingbooleanRequiredWhether this IP is flagged as hosting/DC.
torbooleanRequiredWhether this IP is a known Tor exit node.
heNetUrlstringRequiredExternal BGP report on HE.net for this AS.
https://bgp.he.net/AS16019{
"asNumber": "AS16019",
"asName": "example_asName",
"organization": "example_organization",
"ipCount": 0,
"detectedCountry": {
"code": "CZ",
"confidencePercent": 0
},
"detectedCity": {
"city": "example_city",
"country": "example_country",
"confidencePercent": 0
},
"countries": [
{
"country": "example_country",
"count": 0,
"percent": 0
}
],
"cities": [
{
"city": "example_city",
"country": "example_country",
"count": 0,
"percent": 0
}
],
"isps": [
{
"isp": "example_isp",
"count": 0
}
],
"organisations": [
{
"organisation": "example_organisation",
"count": 0
}
],
"timezones": [
{
"timezone": "Europe/Prague",
"count": 0
}
],
"connectionFlags": {
"mobilePercent": 0,
"proxyPercent": 0,
"hostingPercent": 0,
"torPercent": 0
},
"examples": [
{
"ip": "1.1.1.1",
"mobile": false,
"proxy": false,
"hosting": false,
"tor": false
}
],
"heNetUrl": "https://bgp.he.net/AS16019"
}GET /api/v1/vikitron/as-lookup
curl -X GET "https://api.bizkithub.com/api/v1/vikitron/as-lookup?as=AS16019" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.