# Hostname to IPs with Hosting Attribution

> Hostname to IPs with Hosting Attribution is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Resolves a hostname to all its IPv4 and IPv6 addresses, with ASN, network owner, country, and cloud/hosting provider attribution for each IPv4.

## Facts

- Endpoint: GET https://intel.rallylive.ca/host/ips
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hostname-to-ips-with-hosting-attribution-da23343d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2wbYE6YWsW7Zf45XnYC_L

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hostname-to-ips-with-hosting-attribution-da23343d
```

Example prompt: Where is example.com hosted? I need all its IP addresses along with the ASN, network owner, country, and whether it's on a known cloud provider like AWS or Cloudflare.

## When to prefer this

Use this endpoint when you need a single-call answer to 'where is this site hosted?' combining DNS resolution with ASN, network ownership, country, and cloud provider attribution. Prefer it over plain DNS resolvers when hosting intelligence (cloud provider, ASN, country) is needed alongside IP addresses, and over WHOIS tools when you specifically want infrastructure/hosting details rather than registrant data.

## Known failure modes

- Hostname does not resolve (NXDOMAIN) — returns empty or error response
- Hostname resolves only to IPv6 addresses — ASN/hosting data may be absent for those
- Unknown hosting provider — IP may not map to a recognized cloud/CDN
- Rate limiting or payment failure — x402 payment required per call
- Hostname behind a CDN may show CDN IPs rather than origin server IPs

## How this service works

Hostname to IPs with hosting attribution: all IPv4 and IPv6 addresses for a hostname, and for each IPv4 the ASN, network owner, country and detected cloud/hosting provider. Where is this site hosted, in one call. $0.01 per hostname.

## Output

Returns all IPv4 and IPv6 addresses for the given hostname, and for each IPv4: the ASN number and name, network owner, country of hosting, and detected cloud or hosting provider (e.g. AWS, Cloudflare, DigitalOcean).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hostname-to-ips-with-hosting-attribution-da23343d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
