Skip to main content

domain_prices

Creates, updates, deletes, gets or lists a domain_prices resource.

Overview

Namedomain_prices
TypeResource
Idvercel.domains_registrar.domain_prices

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
purchase_pricenumber (wire: purchasePrice)
renewal_pricenumber (wire: renewalPrice)
transfer_pricenumber (wire: transferPrice)
yearsnumber

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomainyears, team_idGet price data for a specific domain

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domainstring
team_idstring (wire: teamId)
yearsstringThe number of years to get the price for. If not provided, the minimum number of years for the TLD will be used.

SELECT examples

Get price data for a specific domain

SELECT
purchase_price,
renewal_price,
transfer_price,
years
FROM vercel.domains_registrar.domain_prices
WHERE domain = '{{ domain }}' -- required
AND years = '{{ years }}'
AND team_id = '{{ team_id }}'
;