[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [Feedback](/c/feedback/8) # Autonomous System information in Geolocation function 121 views · 1 like · 3 posts Jmwample (@jmwample) · 2024-09-26 · ♥ 1 <!-- Questions that get answered the fastest are the ones with relevant info included in the original post. Be sure to include all detail needed to let others see and understand the problem! --> I am looking for a convenient way to get the ASN of the client IP that is connecting to my service. While I can import a thrid party ip-to-asn database and query via hosted sql, there should be a way to include this minimal extra information in the provided [@vercel/geoloation](https://vercel.com/docs/functions/vercel-functions-package#geolocation) function to save on compute and network usage, limit dependencies, and simplify deployment. ### Current versus Expected behavior ``` import { geolocation } from '@vercel/functions'; export function GET(request) { const details = geolocation(request); return Response.json(details); } ``` ``` { "city": "New York", "country": "US", "flag": "🇺🇸", "countryRegion": "NY", "region": "dev1", "latitude": "40.7128", "longitude": "-74.0060" + "asn": "7922", + "as": "Comcast Cable Communications, LLC", } ``` Pauline P. Narvas (@pawlean) · 2024-10-04 Thanks for the feedback, @jmwample! I'll pass it on internally :pray: Jmwample (@jmwample) · 2025-03-17 Has there been any update on this? It seems like the documentation for the function is unchanged.