IP Geolocation Lookup

IP and Network Intelligence
POST /api/v1/ip/geolocation Bearer

IP Geolocation API — locate an IPv4 or IPv6 address and describe the network behind it. Returns continent, country, state, district, city, postal code and coordinates, plus country metadata (calling code, TLD, languages, flag emoji), the local currency, the full time zone with current offset and DST state, and the network's ASN and owning company. Pass lang to localise place names. ip_address is optional — omit it to look up the IP that called this API. For threat flags, reverse hostname and abuse contacts in the same call, use IP Geolocation Enrichment.

Availability

🌍 Global — Available worldwide

What IP Geolocation Lookup Is Used For

Content localisation

Localise currency, language and place names using continent through city plus the local currency and time zone.

Time zone aware scheduling

Read the full time zone with current offset and DST state to schedule notifications sensibly.

Regional compliance

Apply country-specific rules using country metadata such as calling code, TLD and languages.

Network attribution

Identify the ASN and owning company behind a request.

Quick Start

1. Copy your API key from Dashboard → API Keys
2. Send a POST request to /api/v1/ip/geolocation
3. Pass the key as Authorization: Bearer <key>
4. Read the result from the data object in the JSON response

cURL

curl -X POST https://app.way2api.com/api/v1/ip/geolocation \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ip_address":"8.8.8.8"}'
🚀 Send Request
✓ Key saved

🔑 Remember API Key

One-click convenience for testing & troubleshooting — no account needed.

1

What it doesSaves your API key in this browser only using localStorage. Next time you open a docs page, the Try It panel is pre-filled automatically.

2

Auto-updatesIf you type a different key into any Try It field, the saved key is replaced instantly — only the most recent key is ever stored.

3

Uncheck to forgetUnchecking “Remember API Key” immediately deletes the stored key and clears the field. While unchecked, nothing is saved even if you type a new key.

4

Re-check to save againChecking the box again saves whatever key is currently in the Try It field.

⚠ Security note: Your key is stored only in your browser and is never sent to any server except as part of the actual API call you send. Do not use this feature on shared or public computers.