API Documentation
Free REST API for IP geolocation, DNS lookups and Whois queries. JSON format, no API key required.
Overview
Base URL
https://meine-ip.info/api
Format
JSON
Authentication
No API key required
Rate Limit
5 requests/minute
GET
/api/ip
Returns IP address, version, hostname, geolocation and ASN data.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Optional | IP address to query. Without parameter, returns the caller's own IP. |
Try it out
curl https://meine-ip.info/api/ip
GET
/api/dns/{domain}
Returns DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA) for a domain.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | The domain to query (e.g. example.com). |
Try it out
curl https://meine-ip.info/api/dns/example.com
GET
/api/whois/{query}
Returns Whois data for a domain or IP address.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Domain or IP address for the Whois lookup. |
Try it out
curl https://meine-ip.info/api/whois/example.com
Error Codes
| HTTP Code | Meaning |
|---|---|
200 | Success |
400 | Invalid request (e.g. invalid domain) |
404 | No data found |
429 | Rate limit exceeded |
Attribution
The API is free for personal and commercial use. We appreciate a link to meine-ip.info when you use our API.
<a href="https://meine-ip.info">IP data by meine-ip.info</a>
IP Widget for Your Website
Want to display the IP address directly on your website? Use our free embeddable widget.
Configure Widget