Skip to main content
GET
Retrieve Domain

Yetkilendirmeler

Authorization
string
header
gerekli

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

domain:read

Başlıklar

Api-Version-Date
string

Pins the request to a dated API version.

Örnek:

"2026-11-17"

Yol Parametreleri

id
string
gerekli

Domain ID, prefixed dom_, or a hostname such as example.com; a bare name looks up .com.

Yanıt

Domain details

account_id
string | null
gerekli

ID of the account the domain belongs to, prefixed biz_.

Örnek:

"biz_xxxxxxxxxxxxxx"

apple_pay
object | null
gerekli

Offering Apple Pay at checkouts served from the domain. null when not enrolled or not visible to you.

availability
object | null
gerekli

Whether you can register the hostname and what it costs. Set only when no domain on Whop has it.

created_at
string | null
gerekli

When the domain was created, as an ISO 8601 timestamp.

Örnek:

"2026-01-01T12:00:00.000Z"

domain
string
gerekli

Normalized hostname, such as checkout.example.com.

Örnek:

"shop.com"

email
object | null
gerekli

Sending and receiving email on the domain through Whop. null when not wanted, or when the domain belongs to an account you can't read.

id
string | null
gerekli

Domain ID, prefixed dom_. null when no domain on Whop has this hostname.

Örnek:

"dom_xxxxxxxxxxxxxx"

issues
object[]
gerekli
metadata
object
gerekli

Custom string keys and values attached to this domain. Empty when the domain isn't yours.

Örnek:
owned_by
object | null
gerekli

The account that has proven it owns this hostname on Whop, which can be your own. null when no account has.

pixel
object | null
gerekli

Tracking page views on the domain with the Whop pixel. null when not tracked or not visible to you.

platform
object | null
gerekli

An address on a zone Whop runs, such as example.whop.site, that follows its app's route. null for other domains or when not visible to you.

public_record
object | null
gerekli

The domain's public registration record (RDAP), read when you retrieve it by hostname. null for domains on Whop, available domains, or a record that couldn't be read.

registration
object | null
gerekli

Buying the domain through Whop, renewing it, and running its DNS. null when not wanted or not visible to you.

stats
object | null
gerekli

Traffic on the domain. null when the domain isn't on Whop or isn't visible to you.

status
enum<string> | null
gerekli

The most pressing state of the domain's capabilities: releasing, then action_required, then pending, then ready. idle when it wants nothing.

Mevcut seçenekler:
idle,
pending,
ready,
action_required,
releasing,
null
Örnek:

"pending"

subdomain
object | null
gerekli

A subdomain of a domain this account bought through Whop, whose DNS Whop runs. Whop removes it when the account no longer holds the root domain. null for other domains or when not visible to you.

transfer
object | null
gerekli

Moving the domain to another Whop account. null when not turned on or not visible to you.

updated_at
string | null
gerekli

When the domain was last updated, as an ISO 8601 timestamp.

Örnek:

"2026-01-01T12:00:00.000Z"

verification
object | null
gerekli

Proving you control the domain's DNS with a TXT record. null when not wanted or not visible to you.

website
object | null
gerekli

Serving a Whop website on the domain. null when not wanted.