Use this IP api to visualise this in a nice way in dashbaord
GET: https://ipapi.co/json
Response Example:
{
"ip": "58.146.123.228",
"network": "58.146.112.0/20",
"version": "IPv4",
"city": "Mumbai",
"region": "Maharashtra",
"region_code": "MH",
"country": "IN",
"country_name": "India",
"country_code": "IN",
"country_code_iso3": "IND",
"country_capital": "New Delhi",
"country_tld": ".in",
"continent_code": "AS",
"in_eu": false,
"postal": "400017",
"latitude": 19.0748,
"longitude": 72.8856,
"timezone": "Asia/Kolkata",
"utc_offset": "+0530",
"country_calling_code": "+91",
"currency": "INR",
"currency_name": "Rupee",
"languages": "en-IN,hi,bn,te,mr,ta,ur,gu,kn,ml,or,pa,as,bh,sat,ks,ne,sd,kok,doi,mni,sit,sa,fr,lus,inc",
"country_area": 3287590.0,
"country_population": 1352617328,
"asn": "AS24554",
"org": "Microscan Internet Limited"
}
I'll create a dashboard that visualizes IP geolocation data from the ipapi.co API with a clean, modern interface featuring a map and organized data cards.
This dashboard provides a comprehensive visualization of IP geolocation data with the following features:
Organized Data Cards:
The dashboard fetches data from the ipapi.co API and handles loading states and error messages appropriately. It's built with Next.js, React, Tailwind CSS, and shadcn/ui components for a modern, clean interface.