.se
API Commands
Section titled “API Commands”Please find in the following a set of the most commonly used standard API commands in order to register, modify, renew, and transfer a domain name.
Domain Registration
Section titled “Domain Registration”(API Command reference » AddDomain)
command = AddDomaindomain = yourdomain.seperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)X-NICSE-IDNUMBER = (TEXT)X-NICSE-VATID = (TEXT)Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
Change of Registrant
Section titled “Change of Registrant”command = TradeDomaindomain = yourdomain.seownercontact0 = (CONTACT)X-NICSE-IDNUMBER = (TEXT)X-NICSE-VATID = (TEXT)The owner change process has adapted the FoA procedure, where an email will be sent to the current and future owner of the domain, who have to approve the owner change. If no agreement is given, the trade request expires after 10 days.
Domain Renewal
Section titled “Domain Renewal”(API Command reference » RenewDomain)
command = RenewDomaindomain = yourdomain.seperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
COMMAND = DeleteDomainDOMAIN = yourdomain.seDomain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
command = TransferDomaindomain = yourdomain.seaction = REQUESTauth = (TEXT)Authorization Codes
Section titled “Authorization Codes”command = ModifyDomaindomain = yourdomain.sex-request-authcode = 1Starting June 1st, 2024, auth-codes can only be set by the registry. To request a new auth-code, please submit a ModifyDomain command with x-request-authcode = 1. Afterwards you can retrieve the new auth-code via a StatusDomain command.
New auth-codes have the format detailed below:
TLD-expire date-registrar-unique token
SE-230506-TESTAB-8fb1afcd-fc92-4809-a77f-b8641b7723ab
Domain Restore
Section titled “Domain Restore”(API Command reference » RestoreDomain)
command = RestoreDomaindomain = yourdomain.seDomain Extensions
Section titled “Domain Extensions”| X-NICSE-IDNUMBER | NIC-SE requires an organisation number for companies (e.g. the 8-digit KVK number for Dutch companies) or a personal ID number for individuals (e.g. Civic registration number, id card / passport number, or the equivalent; for Norway the fødselsnummer). For Swedish citizens please use the social security number (Personnummer). |
|---|---|
| X-NICSE-VATID | Optional. If a VAT ID is submitted, it must be correct. |
Domain Restrictions
Section titled “Domain Restrictions”- A valid organisation number (companies) or personal ID number (individuals) is required and must be provided in the X-NICSE-IDNUMBER parameter.
- ID numbers need to be provided in their respectively correct formatting. This may vary by type and origin.
- The VAT ID (X-NICSE-VATID parameter) is optional. If submitted, it must be correct.
IDN Information
Section titled “IDN Information”Further details about the supported characters can be found on the registry website.
Supported IDN Scripts
Section titled “Supported IDN Scripts”The following IDN scripts are supported by .se.
Provide the LANGUAGE TAG corresponding to your desired IDN within the AddDomain command as X-IDN-LANGUAGE extension.
| Latin | LAT |
|---|---|
| Swedish | SE |
Get more information of “IDN tables”, which represent permitted code points (letters) allowed for Internationalised Domain Name registrations in particular registries on IANA Repository of IDN Practices.
