# dklyIPdatabase > Free IP geolocation API and lookup site. For any IPv4 or IPv6 address it returns approximate location (country, region, city, coordinates), network (ISP, organisation, ASN, route), connection type, time zone, currency and security signals (VPN, proxy, Tor, hosting/cloud, known abuser). It is a free, non-commercial hobby project at https://ipinfo.dkly.net — no subscriptions or payments. Key facts: - REST endpoint: `GET https://ipinfo.dkly.net/api/?ip={ip}` with header `X-API-Key: ` (or `?key=` query parameter). Omit `ip` to get the caller's own IP. - Bulk endpoint: `POST https://ipinfo.dkly.net/api/bulk` with JSON `{"ips": [...]}` (or `GET /api/bulk?ips=a,b`), up to 10 IPs per request; each IP counts as one request. - DNS endpoint: `GET https://ipinfo.dkly.net/api/dns?q={domain-or-ip}` (or `/api/dns/{domain-or-ip}`, optional `types=A,MX,TXT`) with the same key: DNS records for a domain, or PTR + forward-confirmation for an IP; one request per call. - Responses are JSON. Errors use `{"code","message","resolution"}` with HTTP 400/401/403/405/429/500/503. - Free API keys: sign up at https://ipinfo.dkly.net/dashboard/register.php. Each plan has a monthly quota and per-minute rate limit. - Geolocation is approximate (network/city level), never a street address or a person. ## Docs - [API documentation](https://ipinfo.dkly.net/documentation/): authentication, endpoint, parameters, response fields, error codes, code samples (cURL, PHP, Python, JavaScript) - [OpenAPI 3.1 spec](https://ipinfo.dkly.net/openapi.json): machine-readable API description (also as [YAML](https://ipinfo.dkly.net/openapi.yaml)) - [Postman collection](https://ipinfo.dkly.net/dkly-ipdatabase.postman_collection.json): Postman Collection v2.1 with example requests and saved responses - [Use cases with code](https://ipinfo.dkly.net/use-cases): fraud checks, localisation, analytics, access control, with sample integrations - [API FAQ](https://ipinfo.dkly.net/documentation/#faq): short answers on cost (free), authentication, rate limits, IPv6, location precision and error format - [Full LLM reference](https://ipinfo.dkly.net/llms-full.txt): everything an assistant needs to write an integration ## Learn - [Learn: all articles](https://ipinfo.dkly.net/learn): short, answer-first guides to IP addressing and geolocation - [What is an ASN?](https://ipinfo.dkly.net/learn/what-is-an-asn): autonomous systems, BGP, RIRs/IANA, 16- vs 32-bit ASNs, how to look one up - [CIDR notation explained](https://ipinfo.dkly.net/learn/cidr-explained): prefix lengths, a table of IPv4 block sizes, IPv6 /48 /56 /64 - [IPv4 vs IPv6](https://ipinfo.dkly.net/learn/ipv4-vs-ipv6): address size, notation, NAT/CGNAT, adoption, how to check which one you use - [How accurate is IP geolocation?](https://ipinfo.dkly.net/learn/ip-geolocation-accuracy): country ~95-99%, city varies widely; why, and what an IP can never reveal - [How VPN and proxy detection works](https://ipinfo.dkly.net/learn/vpn-proxy-detection): detection signals, false positives, and the meaning of each `security` field - [What is an IP address?](https://ipinfo.dkly.net/learn/what-is-an-ip-address): public vs private, static vs dynamic, who assigns addresses, what an IP reveals and does not - [What is IPv4?](https://ipinfo.dkly.net/learn/what-is-ipv4): 32-bit dotted decimal, classes to CIDR, RFC 1918 and special ranges, exhaustion, NAT/CGNAT (100.64.0.0/10) - [What is IPv6?](https://ipinfo.dkly.net/learn/what-is-ipv6): 128-bit hex notation and `::` rules (RFC 5952), /64 subnets, SLAAC and privacy addresses, fe80::/10, ULA fc00::/7 - [Public vs private IP addresses](https://ipinfo.dkly.net/learn/public-vs-private-ip): RFC 1918 ranges, NAT and CGNAT, how to find your public and local address - [Subnet masks explained](https://ipinfo.dkly.net/learn/what-is-a-subnet-mask): how a mask splits network and host, mask-to-CIDR conversion table, usable hosts - [What is a domain name?](https://ipinfo.dkly.net/learn/what-is-a-domain-name): labels, TLDs and SLDs, registries vs registrars, ICANN, IDNs and punycode, domain vs hostname vs URL - [How DNS works](https://ipinfo.dkly.net/learn/what-is-dns): resolvers, root/TLD/authoritative servers, caching and TTL, A/AAAA/CNAME/MX/NS/TXT/SOA/CAA records - [Reverse DNS and PTR records](https://ipinfo.dkly.net/learn/what-is-reverse-dns): in-addr.arpa and ip6.arpa, forward-confirmed reverse DNS (FCrDNS), email deliverability, why many IPs have no PTR - [What is NAT and CGNAT?](https://ipinfo.dkly.net/learn/what-is-nat): port translation, carrier-grade NAT, side effects (no inbound, shared reputation), how to detect CGNAT, NAT64 - [What is BGP?](https://ipinfo.dkly.net/learn/what-is-bgp): how ASNs announce prefixes, AS paths and route selection, transit and peering, hijacks, leaks and RPKI - [What is an ISP?](https://ipinfo.dkly.net/learn/what-is-an-isp): residential, mobile, business and hosting providers; how `connection.type` and `carrier` in the API reflect them - [What is a VPN and what does it hide?](https://ipinfo.dkly.net/learn/what-is-a-vpn): what changes in an IP lookup, what a VPN does not hide, DNS/IPv6/WebRTC leaks - [Proxies vs Tor](https://ipinfo.dkly.net/learn/what-is-a-proxy-and-tor): HTTP, SOCKS and residential proxies, Tor's three relays, comparison with VPNs, detection - [What is a WebRTC leak?](https://ipinfo.dkly.net/learn/what-is-webrtc-leak): STUN and ICE candidates, why extensions leak, mDNS for local IPs, how to test (/check) and fix it - [What is IP geolocation and how is it built?](https://ipinfo.dkly.net/learn/what-is-ip-geolocation): data sources (RIR records, BGP, RFC 8805 geofeeds, latency, corrections) and the location fields the API returns ## Tools - [What is my IP?](https://ipinfo.dkly.net/me): the visitor's own public IP with location, ISP and VPN check - [Look up an IP](https://ipinfo.dkly.net/ip): lookup page; results live at `https://ipinfo.dkly.net/{ip}`, e.g. https://ipinfo.dkly.net/8.8.8.8 - [DNS & reverse DNS lookup](https://ipinfo.dkly.net/dns): A, AAAA, CNAME, MX, NS, TXT (SPF/DMARC), SOA and CAA records for a domain, or PTR with forward-confirmation (FCrDNS) for an IP; results at `https://ipinfo.dkly.net/dns/{domain-or-ip}`, JSON at `https://ipinfo.dkly.net/dns/{query}.json` - [Privacy check](https://ipinfo.dkly.net/check): browser-side WebRTC leak test, VPN/proxy detection, time zone and language mismatch check and browser fingerprint overview; test results are not stored - [ISP & ASN directory](https://ipinfo.dkly.net/asn): every autonomous system, e.g. https://ipinfo.dkly.net/AS15169; each network page links its IP prefix (route) pages ## Optional - [System status](https://ipinfo.dkly.net/status) and [status JSON](https://ipinfo.dkly.net/status.json) - [Privacy Policy](https://ipinfo.dkly.net/privacy) - [Terms of Service](https://ipinfo.dkly.net/terms)