API allows you to access our tools from the command line or from your scripts.
Command | Result |
---|---|
$ curl https://nettools.club/api/ip | 216.73.216.33 |
$ curl https://nettools.club/api/ipall | ip: 216.73.216.33 isp: Amazon.com org: Anthropic, PBC hostname: latitude: 39.9612 longitude: -82.9988 postal_code: city: Columbus country_code: US country_name: United States continent_code: NA continent_name: North America region: Ohio district: timezone_name: America/New_York connection_type: Corporate asn_number: 16509 asn_org: Amazon.com, Inc. asn: AS16509 - Amazon.com, Inc. currency_code: USD currency_name: United States Dollar language_code: en language_name: English success: True premium: False is_vpn: False is_datacenter: True |
$ curl https://nettools.club/api/ipall.json | {'ip': '216.73.216.33', 'isp': 'Amazon.com', 'org': 'Anthropic, PBC', 'hostname': '', 'latitude': 39.9612, 'longitude': -82.9988, 'postal_code': '', 'city': 'Columbus', 'country_code': 'US', 'country_name': 'United States', 'continent_code': 'NA', 'continent_name': 'North America', 'region': 'Ohio', 'district': '', 'timezone_name': 'America/New_York', 'connection_type': 'Corporate', 'asn_number': 16509, 'asn_org': 'Amazon.com, Inc.', 'asn': 'AS16509 - Amazon.com, Inc.', 'currency_code': 'USD', 'currency_name': 'United States Dollar', 'language_code': 'en', 'language_name': 'English', 'success': True, 'premium': False, 'is_vpn': False, 'is_datacenter': True} |
$ curl https://nettools.club/api/mac=MA:CA:DD:RE:SS:00 *mac address format: MA:CA:DD:RE:SS:00 MA-CA-DD-RE-SS-00 maca.ddre.ss00 macadd *case insensitive. |
{ "name": "Vendor Name" "address": "Vendor Address" } |