> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query IP Address Or Domain

Query a single **IPv4/IPv6 address** or a **domain name**.

<Note>
  External Documentation

  To learn more, visit the [IP API documentation](https://ip-api.com/docs/api:json).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                                                    |
  | --------------- | ------------------------------------------------------------------------------------------------------------------------------ |
  | Query           | A single **IPv4/IPv6 address** or a **domain name** to query. If you don't supply a query the current IP address will be used. |
  | Returned Fields | Select the data fields to return.                                                                                              |
</div>

## Example Output

```json theme={"dark"}
{
	"status": "<string>",
	"continent": "<string>",
	"continentCode": "<string>",
	"country": "<string>",
	"countryCode": "<string>",
	"region": "<string>",
	"regionName": "<string>",
	"city": "<string>",
	"district": "<string>",
	"zip": "<string>",
	"lat": 477.15,
	"lon": 660.09,
	"timezone": "<string>",
	"offset": 814,
	"currency": "<string>",
	"isp": "<string>",
	"org": "<string>",
	"as": "<string>",
	"asname": "<string>",
	"reverse": "<string>",
	"mobile": false,
	"proxy": false,
	"hosting": false,
	"query": "<string>"
}
```

## Workflow Library Example

[Query Ip Address or Domain with Ip Api and Send Results Via Email](https://library.blinkops.com/workflows/query-ip-address-or-domain-with-ip-api-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/query-ip-address-or-domain-with-ip-api-and-send-results-via-email/canvas" />
</div>
