获取 API 密钥
Domain purchases

GET /api/domains/purchases/renewals/:domainId/quote

GET https://api.iagenify.com/api/domains/purchases/renewals/DOMAIN_ID/quote

Get the current one-year renewal quote for a domain registered through IaGenify.

authenticated accountIaGenify-registered domains only
curl "https://api.iagenify.com/api/domains/purchases/renewals/DOMAIN_ID/quote" \
  -H "Authorization: Bearer $IAGENIFY_SESSION"
domainIdstringrequired

IaGenify domain record ID, not the domain name.

A successful response is { ok: true, quote }. The quote contains domainId, domain, years, currency, customerAmountCents and renewalEnabled. Amounts are live integer cents; do not hardcode an example price.

The amount is integer cents, before any checkout tax. Renewal is limited to a domain registered through IaGenify and still reported as renewable by the registrar. Use this amount unchanged in the renewal checkout request.

StatusCodeMeaning
401unauthorizedThe authentication credential is missing, expired, or invalid.
404domain_not_renewable_hereThis account does not own an eligible IaGenify-registered domain with this ID.
409registrar_domain_unavailableThe registrar does not currently report the domain as renewable.
503domain_purchases_disabled · renewal_price_unavailableRenewals are closed or a supported USD renewal price is unavailable.