ASN Lookup API

ASN Lookup API

The ASN Lookup API allows developers to retrieve information about a specific Autonomous System Number (ASN) including the associated organization and Internet Service Provider (ISP). This API can be used to identify the network origin of IP addresses and troubleshoot connectivity issues. The API returns data in JSON format.

API description

About the API:

The ASN Lookup API is a powerful tool for developers who need to retrieve information about a specific Autonomous System Number (ASN). An ASN is a unique number assigned to a network by a regional Internet registry, such as ARIN, RIPE, or APNIC. The ASN Lookup API allows developers to query this information using an IP address or ASN number and returns data such as the associated organization and Internet Service Provider (ISP).

This API can be used for a variety of purposes, such as identifying the network origin of IP addresses. This can be useful in troubleshooting connectivity issues, determining the location of a network, and identifying potential security threats. Additionally, the API can be used to gather information about the size and scope of a network, as well as identify any upstream or downstream connections.

The data returned by the ASN Lookup API is provided in JSON format, making it easy to integrate into a wide variety of applications and systems. The API also supports batch processing, allowing developers to query multiple IP addresses or ASN numbers in a single request. With its powerful capabilities and easy-to-use interface, the ASN Lookup API is an essential tool for any developer working with IP addresses and networks.

 

What this API receives and what your API provides (input/output)?

Pass the ASN number to the API and receive information like:

  • ASN Handle. 
  • ASN Name.
  • Organization ID. 
  • Organization Name. 
  • Organization Country. 
  • ipv4_prefix. 
  • ipv6_prefix. 

 

 

What are the most common uses cases of this API?

  1. Network troubleshooting: The ASN Lookup API can be used to identify the network origin of IP addresses and troubleshoot connectivity issues by providing information about the ASN and associated organization.

  2. Geolocation: The API can be used to determine the location of a network by providing information about the associated organization.

  3. Security threat detection: By identifying the network origin of an IP address, the API can help in detecting potential security threats and protect against them.

  4. Network mapping: The API can provide information about the size and scope of a network, as well as identify any upstream or downstream connections, which can be useful for network mapping and analysis.

  5. IP address validation: The API can be used to validate an IP address by checking if it is associated with a valid ASN.

  6. Compliance: The API can be used to check if an IP address or a network is compliant with certain regulations or standards by providing information about the associated organization and ASN.

 

Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations.

API Documentation

Endpoints


Retrieve information based on AS number.



                                                                            
GET https://zylalabs.com/api/952/asn+lookup+api/773/lookup
                                                                            
                                                                        

Lookup - Endpoint Features
Object Description
asn [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"asnHandle":32934,"asnName":"FACEBOOK","orgID":"THEFA-3-ARIN","orgName":"FACEBOOK","orgCountry":"US","ipv4_prefix":["31.13.24.0/21","31.13.64.0/18","45.64.40.0/22","66.220.144.0/20","69.63.176.0/20","69.171.224.0/19","74.119.76.0/22","102.132.96.0/20","103.4.96.0/22","129.134.0.0/17","129.134.160.0/24","157.240.0.0/17","157.240.192.0/18","173.252.64.0/18","179.60.192.0/22","185.60.216.0/22","185.89.218.0/23","204.15.20.0/22"],"ipv6_prefix":["2620:0:1c00::/40","2a03:2880::/31"]}]
                                                                                                                                                                                                                    
                                                                                                    

Lookup - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/952/asn+lookup+api/773/lookup?asn=AS32934' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the ASN Lookup API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
528ms

Category:


Tags:


Related APIs