---
title: "Hosting Checker"
method: GET
path: "/v1/domains/checker/hosting"
tags: ["domains"]
---

# Hosting Checker

`GET /v1/domains/checker/hosting`

## Request

- Base URL: `https://api.karma.domains`
- URL: `https://api.karma.domains/v1/domains/checker/hosting`
- Auth: HTTP bearer

Hosting/CDN hints from DNS, geo on resolved IPs, and Server header. Domain or public IP. Costs 1 credit from spendable balance for Pro (8 for agent accounts); cache hits free.

## Query parameters

- `domain` string, required: Domain name (percent-encode non-ASCII)

## Response `200`

Successful Response

- HostingCheckerResultSchema: Hosting / DNS / mail hints for one domain.
  - `domain` string, required: Normalized domain or IP checked
  - `input_type` 'domain' | 'ip': Whether the query was a hostname or a pasted IP
  - `status` 'ok' | 'nxdomain' | 'no_addresses' | 'error', required: Overall lookup status
  - `hosting_provider` string, nullable: Likely network/hosting operator from ASN/org
  - `dns_provider_hint` string, nullable: Heuristic DNS operator from NS records
  - `mail_provider_hint` string, nullable: Heuristic mail operator from MX records
  - `cdn_note` string, nullable: CDN / origin caveat when edge hosting is likely
  - `ns_hosts` string[]: NS hostnames
  - `mx_hosts` string[]: MX hostnames
  - `addresses` IpAddressEnrichmentSchema[]: Enriched A/AAAA targets
    - `ip` string, required: IP address
    - `family` 'IPv4' | 'IPv6', required: Address family
    - `country_code` string, nullable
    - `country_name` string, nullable
    - `region` string, nullable
    - `city` string, nullable
    - `postal_code` string, nullable
    - `latitude` number, nullable
    - `longitude` number, nullable
    - `asn` integer, nullable
    - `organization` string, nullable
    - `ptr` string, nullable
    - `note` string, nullable: Soft CDN hint when org/ASN matches known edge networks
  - `server_header` string, nullable: HTTP Server response header from HTTPS when available

## Other responses

- `402`: Payment required — x402 agent credits. Read PAYMENT-REQUIRED header (base64 JSON) and retry same URL with PAYMENT-SIGNATURE and optional X-Karma-Plan-Id.
- `422`: Validation Error

## Changes

- **2026-11-11** `1eae46c0dec4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/karma/apis/karma-domains-public-api/changes/v1/domains/checker/hosting/get.md)

---

[API](https://skmtc.dev/karma/apis/karma-domains-public-api.md) - [All operations](https://skmtc.dev/karma/apis/karma-domains-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/karma/apis/karma-domains-public-api/revisions/a86fc0bfa15d?raw)
