Skip to content

.com.pt

Registration terms: 1–5 years. Transfers in are supported with an authorisation code. 2 extra registry fields (0 required).

  • This extension has extra registry fields — see Extra fields below. Which ones you must send can depend on the value of another field.
Property Value
Registration terms 1–5 years
Renewal terms 1–10 years
Transfer in Supported · authorisation code required · pre-transfer check not available
Transfer lock Not available
Extra registry fields 2 — see below
Registry documents Not required
Trustee service Not available
WHOIS privacy Available
DNSSEC Supported
IDN (non-ASCII names) Supported
Name servers under the domain Not allowed
Contact change by handle Not available — send full details
Registry checks name servers No
Test environment Available

What each property means and which error you get if you ignore it: TLD catalogue.

In calendar days. — means the registry does not publish the period.

Period Days What happens
Add grace — Deleting a new registration within this window is refunded.
Auto-renew grace — After expiry the registry renews automatically; a second renewal in this window is refused with 10020.
Redemption — After deletion, POST /api/v1/domains/restore still works.
Deletion hold — After redemption, before the name is released to the public. Nothing can be done.

Send these as a flat key/value object named tldAttributes on register requests. See Extra registry fields.

Key Required Type Description Allowed values
X-PT-TECH-IDENTIFICATION optional Text Fiscal Identification Nr (Tech) Free text
X-PT-OWNER-IDENTIFICATION optional Text Fiscal Identification Nr (Owner) Free text

Each request below is built from this extension’s catalogue entry. Replace the domain, the handles and any value in <angle brackets>.

POST /api/v1/domains/register with contact handles you created with POST /api/v1/contacts. To send contact details inline instead, use POST /api/v1/domains/register-with-contacts with the same tldAttributes.

tldAttributes lists every field this extension defines. Send the ones that apply: the table above says which are required, and some become required only for a particular value of another field.

{
"domainName": "apiname.com.pt",
"period": 1,
"nameServers": [
"tr.apiname.com",
"eu.apiname.com"
],
"handles": [
{ "contactType": "Registrant", "handle": "D-174829301847" },
{ "contactType": "Admin", "handle": "D-174829301847" },
{ "contactType": "Tech", "handle": "D-174829301847" },
{ "contactType": "Billing", "handle": "D-174829301847" }
],
"tldAttributes": {
"X-PT-TECH-IDENTIFICATION": "<Fiscal Identification Nr (Tech)>",
"X-PT-OWNER-IDENTIFICATION": "<Fiscal Identification Nr (Owner)>"
}
}

POST /api/v1/domains/renew — call POST /api/v1/domains/renew/check with the same body first. See Renew a domain.

{
"domainName": "apiname.com.pt",
"period": 1
}

POST /api/v1/domains/transfer. This registry has no pre-transfer check, so call it directly. See Transfer a domain in.

{
"domainName": "apiname.com.pt",
"authCode": "aB3!xY9-kL2pQ7",
"period": 1
}

From the TLD catalogue on 2026-11-02. For live values call GET /api/v1/products/tlds?filterText=com.pt.