Developers can check API Specification here:
curl -H "Authorization: Bearer <API_KEY>" https://api.maltiverse.com/ip/122.172.142.220
import requests
import json
url = 'https://api.maltiverse.com/ip/122.172.142.220'
response = requests.get(url)
print(json.dumps(response.json(), indent=4, sort_keys=True))
$url = 'https://api.maltiverse.com/ip/122.172.142.220'
$headers = @{Authorization=("Bearer {0}" -f "<API_KEY>")}
$response = Invoke-RestMethod $url -Headers $headers
Write-Output $response
{
"address": "Bharti Airtel Ltd.",
"as_name": "AS24560 Bharti Airtel Ltd Telemedia Services",
"as_number": "24560",
"asn_cidr": "122.172.128.0/19",
"asn_country_code": "IN",
"asn_date": "2006-12-19 00:00:00",
"asn_registry": "apnic",
"blacklist": [
{
"count": 1,
"description": "SSH Attacker",
"first_seen": "2021-01-13 19:48:57",
"labels": [
"malicious-activity"
],
"last_seen": "2021-01-16 11:14:57",
"source": "Blocklist.de"
},
{
"count": 1,
"description": "Mail Spammer",
"first_seen": "2021-01-13 19:48:57",
"last_seen": "2021-01-13 19:48:57",
"source": "Barracuda"
}
],
"cidr": [
"122.172.128.0/18"
],
"city": "Bengaluru",
"classification": "suspicious",
"country_code": "IN",
"creation_time": "2021-01-13 19:48:57",
"email": [
"dsl.noctn@in.airtel.com",
"shankar.B@airtel.com",
"dsltac2north.unoc@airtel.com",
"ang.ipadmin@airtel.com",
"Dsl.noctn@airtel.com"
],
"ip_addr": "122.172.142.220",
"ip_version": 4,
"is_cdn": false,
"is_cnc": false,
"is_distributing_malware": false,
"is_hosting": false,
"is_iot_threat": false,
"is_known_attacker": false,
"is_known_scanner": false,
"is_mining_pool": false,
"is_open_proxy": false,
"is_sinkhole": false,
"is_tor_node": false,
"is_vpn_node": false,
"location": {
"lat": 12.9833,
"lon": 77.5833
},
"modification_time": "2021-01-16 11:14:57",
"number_of_blacklisted_domains_resolving": 0,
"number_of_domains_resolving": 0,
"number_of_offline_malicious_urls_allocated": 0,
"number_of_online_malicious_urls_allocated": 0,
"number_of_whitelisted_domains_resolving": 0,
"registrant_name": "ABTS (Karnataka),\nBharti Airtel Limited 1106/10/11 Garvebhavipalaya,\n7th Mile Hosur Rd,\nBangalore\nKarnataka\nIndia\nContact Person:K R Narasimhan\nEmail: dsl.noctn@in.airtel.com\nPhone:044 42100479\nDate of allocation:17-jul-07",
"tag": [
"ssh",
"bruteforce",
"bot"
],
"type": "ip"
}