47ch Geo Lookup

The lookup result will be displayed here.

API Usage

The endpoint /geo.php accepts both GET and POST requests and returns JSON.

1. Lookup Specific IP (POST)

curl -X POST -d "ip=194.116.227.160" https://geo.47ch.net/geo.php

2. Lookup Specific IP (GET)

curl "https://geo.47ch.net/geo.php?ip=194.116.227.160"

3. Lookup Client's Own IP (No parameters)

curl https://geo.47ch.net/geo.php

Response Schema:

{
  "status": "success",
  "ip": "194.116.227.160",
  "ip_version": "IPv4",
  "country_code": "JP",
  "country_name": "Japan",
  "region_name": "Tokyo",
  "city_name": "Tokyo"
}