IP Reserver Lookup API Endpoint - Free Public API
Endpoint URL:
https://aisenseapi.com/services/v1/ip_reverse_lookup/151.101.65.195
Description:
This endpoint performs a reverse IP lookup, returning country, city, latitude, longitude, and time zone details for a given IP address. It’s particularly useful for location-based services, analytics, or security checks.
Response Format
-
Content-Type: application/json
-
Example Success Response: json
{
"ip": "151.101.65.195",
"country": "United States",
"city": "San Francisco",
"location": {
"lat": "37.764200",
"lng": "-122.399300"
},
"place": null,
"timezone": "America/Los_Angeles"
}
Field Explanation
| Field | Type | Description |
|---|---|---|
| ip | string | The IP address that was looked up. |
| country | string | The country associated with the IP address (e.g., “United States”). |
| city | string | The city name, if available (otherwise null). |
| location.lat | string | Approximate latitude of the IP address. |
| location.lng | string | Approximate longitude of the IP address. |
| place | string | A more specific place name, if available (otherwise null). |
| timezone | string | The local time zone identifier (e.g., “America/Los_Angeles”), if available. |
Use Cases
- Geolocation Services: Determine approximate user location for localization or targeted content.
- Analytics & Insights: Gather geographic data about user traffic and behavior.
- Security & Access Control: Restrict or permit requests based on the user’s geographic location or time zone.
How to Use
-
Send a GET request to:
https://aisenseapi.com/services/v1/ip_reverse_lookup/{IP_ADDRESS}Replace
{IP_ADDRESS}with the address you wish to look up. -
Receive JSON Data containing country, city, latitude, longitude, potential place information, and the local time zone for that IP.
No additional headers or parameters are needed; simply supply the IP address as part of the URL path.