ASN Lookup avatar

ASN Lookup

Pricing

$1.00 / 1,000 requests

Go to Apify Store
ASN Lookup

ASN Lookup

Retrieve comprehensive information about Autonomous System Numbers (ASNs) including organization details, country, contact information, and IP prefixes. Ideal for network analysis, infrastructure research, and security investigations.

Pricing

$1.00 / 1,000 requests

Rating

0.0

(0)

Developer

Greip

Greip

Maintained by Community

Actor stats

0

Bookmarked

5

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Greip's ASN Lookup

A robust Apify Actor that retrieves comprehensive information about Autonomous System Numbers (ASNs) using the Greip ASN Lookup API v2. This tool helps analyze network infrastructure, organization details, and IP prefixes associated with any ASN for network analysis, troubleshooting, and security assessments.

Features

  • Complete ASN Information: Get detailed data about any Autonomous System Number
  • Organization Details: Retrieve contact information, domain, and registration data
  • IP Prefix Analysis: Access IPv4 and IPv6 prefixes associated with the ASN
  • Network Classification: Identify organization types (ISP, hosting, business, education, government)
  • Registry Information: Get registration details and creation dates
  • Structured Output: Clean, well-formatted JSON results stored in datasets
  • Test mode: Optional mode=test returns deterministic fake data without consuming API quota

API endpoint

The Actor calls Greip API v2:

GET https://v2.greipapi.com/lookup/asn/{asn}?source=Apify

Optional query: mode=live (default) or mode=test.

Authentication uses the GREIP_API_KEY environment variable as a Bearer token (never sent as a query parameter).

Input Parameters

ParameterTypeRequiredDefaultDescription
asnstringYesAutonomous System Number (e.g., "AS6167" or "6167")
modestringNolivelive for real data, test for fake test data

Output Format

The Actor outputs comprehensive information about each ASN (camelCase keys unchanged from v1):

{
"asn": "AS6167",
"name": "Cellco Partnership DBA Verizon Wireless",
"country": "US",
"org": "Cellco Partnership DBA Verizon Wireless",
"phone": "+1-908-306-7000",
"email": "abuse@verizonwireless.com",
"domain": "verizonwireless.com",
"status": "active",
"created": "1999-11-04",
"type": "isp",
"registry": "arin",
"prefixes": {
"ipv4": ["69.78.0.0/16", "70.195.0.0/16"],
"ipv6": ["2600:1000::/28"],
"total": 250
},
"totalPrefixes": 250,
"ipv4Prefixes": ["69.78.0.0/16", "70.195.0.0/16"],
"ipv6Prefixes": ["2600:1000::/28"],
"timestamp": "2026-01-14T10:30:00.000Z"
}

v2 field mapping (API to dataset)

Dataset outputGreip v2 data fieldv1 data field (legacy)
asnnumberasn
countrycountry_codecountry
namenamename
orgorgorg
phonephonephone
emailemailemail
domaindomaindomain
statusstatusstatus
createdcreatedcreated
typetypetype
registryregistryregistry
prefixesprefixesprefixes

Output Field Descriptions

Core ASN Information:

  • asn: Autonomous System Number being looked up (e.g., "AS6167")
  • name: Name of the organization that owns the ASN
  • country: Country code of the organization (ISO 3166-1 alpha-2 format)
  • org: Organization name associated with the ASN
  • phone: Phone contact for the organization
  • email: Email contact for the organization
  • domain: Domain associated with the organization
  • status: Current status of the ASN registration
  • created: Date when the ASN was created/registered
  • type: Type of organization ("isp", "hosting", "business", "education", or "government")
  • registry: Registration authority (e.g., "arin", "ripe", "apnic", "lacnic", "afrinic")

IP Prefix Information:

  • totalPrefixes: Total number of IP prefixes associated with the ASN
  • ipv4Prefixes: Array of IPv4 network prefixes allocated to the ASN
  • ipv6Prefixes: Array of IPv6 network prefixes allocated to the ASN
  • timestamp: Timestamp when the data was retrieved

Use Cases

This ASN lookup tool is essential for various network analysis and security applications:

  • Network Infrastructure Analysis: Understand the organization behind IP addresses and network blocks
  • Security Investigations: Identify the source of network traffic for threat analysis
  • Multi-accounting Detection: Detect coordinated activities from the same network infrastructure
  • Compliance Monitoring: Verify network ownership for regulatory compliance
  • Network Troubleshooting: Diagnose routing issues and network connectivity problems
  • Fraud Prevention: Analyze network patterns to identify suspicious activities

Your feedback

We're always working on improving the performance of our Actors. If you have any technical feedback for ASN lookup scraper or found a bug, please create an issue in the Issues tab.