Discover/whatismyip.com API
live

whatismyip.com APIwhatismyip.com

Retrieve your public IPv4 address plus ISP, city, region, coordinates, ASN, and timezone via the WhatIsMyIP.com API. Two endpoints, no inputs required.

Endpoints
2
Updated
3mo ago
Try it

No input parameters required.

api.parse.bot/scraper/bea20acb-8855-42e1-b494-fb8d3b1eb80b/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/bea20acb-8855-42e1-b494-fb8d3b1eb80b/get_my_ip' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Returns the public IP address of the requesting connection as seen by external servers.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "ip": "string, the public IPv4 address"
  },
  "sample": {
    "data": {
      "ip": "172.59.185.175"
    },
    "status": "success"
  }
}

About the whatismyip.com API

The WhatIsMyIP.com API exposes two endpoints that return the public IPv4 address and geolocation details of the requesting connection. The get_my_ip endpoint returns just the IP address, while get_my_ip_info returns 10 fields including ASN, ISP name, city, region, postal code, latitude, longitude, and UTC timezone offset — useful for diagnosing how a connection appears to external services.

Endpoints Overview

The API has two endpoints, both requiring no input parameters. get_my_ip returns a single field — ip — containing the public IPv4 address as seen by external servers. This is useful for quick connectivity checks or IP logging without the overhead of a full geolocation lookup.

Full IP Info Endpoint

get_my_ip_info returns the same ip field plus nine additional fields: asn (autonomous system number), isp (provider name), city, region, regionCode, postalCode, latitude, longitude, and timeZone (expressed as a UTC offset string). All fields are derived from the same requesting connection — there are no inputs to supply and no target IP to specify.

Practical Behavior

Because both endpoints reflect the IP of the connection making the request, the returned data changes depending on where the API call originates. Calling from a datacenter, a residential network, or a VPN exit node will produce different isp, asn, and geolocation values. This makes the API well-suited for verifying proxy or VPN identity, checking geolocation consistency, and auditing what metadata a given outbound connection exposes.

Coverage Notes

The API covers IPv4 addresses. The geolocation data resolves to city-level precision and includes both coordinates (latitude, longitude) and a postal code where available. Timezone is returned as a UTC offset rather than an IANA timezone name.

Common use cases
  • Verify the exit IP and geolocation of a VPN or proxy connection using isp and city fields.
  • Audit what ASN and ISP name an outbound server connection exposes to external services.
  • Check the postalCode and regionCode returned for a connection to validate geotargeting behavior.
  • Log the public ip of a client connection for network diagnostics or access records.
  • Confirm the UTC offset in timeZone aligns with the expected geographic region of a server.
  • Cross-reference latitude and longitude against expected datacenter coordinates to detect routing anomalies.
  • Test how different cloud or residential IP ranges are classified by isp and asn.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does WhatIsMyIP.com have an official developer API?+
WhatIsMyIP.com does not publish a documented public developer API. The Parse API provides structured access to the IP address and geolocation data the site surfaces.
What does `get_my_ip_info` return beyond just the IP address?+
get_my_ip_info returns 10 fields: ip, asn, isp, city, region, regionCode, postalCode, latitude, longitude, and timeZone. The timeZone field is a UTC offset string, not an IANA zone name. All fields reflect the connection making the API request — no target IP is accepted as input.
Can I look up geolocation data for an arbitrary IP address rather than my own connection?+
Not currently. Both endpoints — get_my_ip and get_my_ip_info — reflect the IP of the requesting connection only; neither accepts an IP address as an input parameter. You can fork this API on Parse and revise it to add an endpoint that accepts a target IP and returns its geolocation data.
Does the API return IPv6 addresses?+
The ip field returns an IPv4 address. IPv6 address detection is not currently covered by either endpoint. You can fork this API on Parse and revise it to add IPv6 support if your environment routes over IPv6.
How current is the geolocation data for a given IP?+
Each request reflects the state of the geolocation database at the time the call is made. ISP assignments and city-level geolocation data for IP ranges can lag real-world changes by days to weeks, which is typical of IP geolocation databases generally. Postal code and city fields may be absent or approximate for some IP ranges, particularly datacenter or mobile allocations.
Page content last updated . Spec covers 2 endpoints from whatismyip.com.
Related APIs in Maps GeoSee all →
angieslist.com API
Search for home service professionals on Angi and access their detailed profiles including reviews, contact information, and photos to find the right contractor for your project. Quickly compare multiple service providers by viewing their ratings, customer feedback, and verified business details all in one place.
yellowpages-uae.com API
Search and discover UAE businesses with instant access to contact details, locations, and branch information from the Yellow Pages UAE directory. Find companies by name, get detailed business profiles, explore multiple branches, and browse available cities all in one place.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
58.com Housing API
Access real-time housing market data from 58.com (58同城), China's largest classifieds platform. Search house price trends across 31+ major Chinese cities at city, district, and neighborhood levels, and browse hot new property developments with prices, floor plans, and location details.
x-kom.pl API
Access product data from x-kom.pl, a major Polish electronics retailer. Search products by keyword or category, retrieve detailed product pages, customer reviews, Q&A, promotions, flash deals, and physical store locations.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
zapimoveis.com.br API
Search and filter real estate listings across Brazil on ZAP Imóveis — the country's largest property portal. Retrieve listings for sale or rent with detailed attributes including price, location, size, bedrooms, bathrooms, parking, and amenities. Supports location autocomplete, property type discovery, and full listing detail retrieval.