IPconf

API Documentation

Base URL: https://api.ipconf.me

Basic IP endpoints are free with no authentication. Tool endpoints require an X-Client-Key header — contact us for a key.

?lang= parameter supported on all IP endpoints: en (default) or zh
GET /api/ip

Returns the caller's IP address with geolocation info.

Example

curl https://api.ipconf.me/api/ip

Response

{
  "ip": "1.2.3.4",
  "ipv4": "1.2.3.4",
  "ipv6": null,
  "country": "United States",
  "country_code": "US",
  "region": "California",
  "city": "Mountain View",
  "isp": "Google LLC",
  "asn": "AS15169",
  "timezone": "America/Los_Angeles",
  "is_china": false
}
GET /api/ip/{ip}

Returns geolocation info for a specific IP address.

Example

curl https://api.ipconf.me/api/ip/8.8.8.8

Response

{ "ip": "8.8.8.8", "country": "United States", ... }
POST /api/tools/dns 🔑 X-Client-Key required

DNS lookup. Supports A, AAAA, MX, TXT, CNAME, NS.

Example

curl -X POST https://api.ipconf.me/api/tools/dns \
  -H "Content-Type: application/json" \
  -d '{"target": "google.com", "type": "A"}'

Response

{ "target": "google.com", "type": "A", "records": ["142.250.185.46"] }
POST /api/tools/ping 🔑 X-Client-Key required

Ping a host from our server.

Example

curl -X POST https://api.ipconf.me/api/tools/ping \
  -d '{"target": "google.com"}'

Response

{ "target": "google.com", "output": "PING google.com ..." }
POST /api/tools/ssl 🔑 X-Client-Key required

Check SSL certificate details for a domain.

Example

curl -X POST https://api.ipconf.me/api/tools/ssl \
  -d '{"target": "github.com"}'

Response

{ "target": "github.com", "issuer": {...}, "not_after": "..." }
Rate Limits: 60 requests/min for IP endpoints · 20 req/min for DNS · 10 req/min for other tools. Need higher limits? Contact us.