Update readme

This commit is contained in:
2025-07-31 19:22:28 +02:00
parent dfec9ba602
commit 1f22b9f898
2 changed files with 37 additions and 12 deletions
+33
View File
@@ -38,6 +38,39 @@ $ curl https://ip.albert.lol/9.9.9.9/city
}
```
### Get details about an ASN
```sh
$ curl https://ip.albert.lol/AS13335
{
"details": {
"asn": 19281,
"name": "QUAD9-AS-1"
},
"prefixes": {
"ipv4": [
"149.112.112.0/24",
"149.112.149.0/24",
"199.249.255.0/24",
"9.9.9.0/24"
],
"ipv6": [
"2001:0:909:900::/56",
"2001:0:9570:7000::/56",
"2001:0:9570:9500::/56",
"2001:0:c7f9:ff00::/56",
"2002:909:900::/40",
"2002:9570:7000::/40",
"2002:9570:9500::/40",
"2002:c7f9:ff00::/40",
"2620:fe::/48",
"::909:900/120",
"::9570:7000/120",
"::9570:9500/120",
"::c7f9:ff00/120"
]
}
}
```
## Running Locally
### With Docker