高级域名API

希望获得域名API的更多功能?只需看看我们的高级域名API。该版本的API让您可以使用自己的软件和服务器操作超过50条命令,包括创建文件夹、设置Whois、设置隐私、设置电子邮件转发等等!我们的高级域名API对所有账户开放,只需按照以下指引开始即可。
需要使用API的更简单方式?查看我们的域名API页面!
现在就开始使用高级域名API吧!
Requests to our Advanced Domain API are sent to the following URL:
https://api.dynadot.com/api3.xml
请注意,请求应通过https(安全套管)发送,以确保安全。每次仅可处理1条请求,所以在发送另一条请求前,请等待您目前的请求处理完毕。请求应包含以下参数:
解释
domain_info, set_whois, set_ns, set_parking, set_forwarding, set_stealth, set_hosting, set_dns, set_dns2, set_email_forward, set_clear_domain_setting, set_folder, set_note, set_renew_option, set_privacy, tld_price, list_domain
create_cn_audit, get_cn_audit_status, create_contact, edit_contact, delete_contact, contact_list, get_contact
set_contact_eu_setting, set_contact_lv_setting, cancel_transfer, get_transfer_status, set_transfer_auth_code, authorize_transfer_away, get_transfer_auth_code
get_ns, add_ns, register_ns, set_ns_ip, delete_ns, delete_ns_by_domain, server_list, get_dns
get_listings, get_listing_item, buy_it_now
account_info, get_account_balance, set_default_whois, set_default_ns, set_default_parking, set_default_forwarding, set_default_stealth, set_default_hosting, set_default_dns, set_default_dns2, set_default_email_forward, set_clear_default_setting, set_default_renew_option
create_folder, delete_folder, set_folder_whois, set_folder_ns, set_folder_parking, set_folder_forwarding, set_folder_stealth, set_folder_hosting, set_folder_dns, set_folder_dns2, set_folder_email_forward, set_clear_folder_setting, set_folder_name, set_folder_renew_option, folder_list
add_backorder_request, delete_backorder_request, backorder_request_list
get_open_auctions, get_auction_details, get_auction_bids, place_auction_bid, get_closed_auctions
is_processing
get_open_backorder_auctions, get_backorder_auction_details, place_backorder_auction_bid, get_closed_backorder_auctions, get_expired_closeout_domains, buy_expired_closeout_domain, get_order_status
Our Advanced Domain API will return results in an XML format. The response you receive should contain 2 or 3 of the following fields:
解释
如要发送搜索命令,则需包含下面参数:
解释
解释
搜索示例
https://api.dynadot.com/api3.xml?key=mykey&command=search&domain0=mydomain.com&domain1=mydomain.net&show_price=1¤cy=USD
<Results> <SearchResponse> <SearchHeader> <SuccessCode>0</SuccessCode> <DomainName>mydomain.com</DomainName> <Available>yes</Available> <Price>77.00 in USD</Price> </SearchHeader> </SearchResponse> <SearchResponse> <SearchHeader> <SuccessCode>0</SuccessCode> <DomainName>mydomain.net</DomainName> <Available>yes</Available> <Price>44.00 in USD</Price> </SearchHeader> </SearchResponse> </Results>
https://api.dynadot.com/api3.json?key=mykey&command=search&domain0=mydomain.com&domain1=mydomain.net&show_price=1¤cy=USD
{ "SearchResponse":{ "ResponseCode":"0", "SearchResults":[ { "DomainName":"mydomain.com", "Available":"yes", "Price":"77.00 in USD" }, { "DomainName":"mydomain.net", "Available":"yes", "Price":"44.00 in USD" } ] } }
发送注册命令后将创建并处理注册订单。您账户中须由足够余额支付订单。如果发送注册命令,须包含下列参数:
解释
.AT, .BE,注册人姓名
对于.AT,您可指定为option0, option1,,或两者同时指定
解释
注册示例
https://api.dynadot.com/api3.xml?key=mykey&command=register&domain=domain1.net&duration=3¤cy=USD
<RegisterResponse> <RegisterHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </RegisterHeader> <RegisterContent> <Expiration>1458379145266</Expiration> </RegisterContent> </RegisterResponse>
https://api.dynadot.com/api3.json?key=mykey&command=register&domain=domain1.net&duration=3¤cy=USD
{ "RegisterResponse":{ "ResponseCode":"0", "Status":"success", "DomainName":"domain1.net", "Expiration":"1458379145266" } }
调用删除(delete)命令将删除仍然处于宽限期中的域名。注册费将退回至您的账户余额。已续期或已移动至新账户的域名不得通过API进行删除。如果调用删除命令,应包括以下参数:
解释
解释
删除示例
https://api.dynadot.com/api3.xml?key=mykey&command=delete&domain=domain1.com
<DeleteResponse> <DeleteHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </DeleteHeader> </DeleteResponse>
https://api.dynadot.com/api3.json?key=mykey&command=delete&domain=domain1.com
{ "DeleteResponse":{ "ResponseCode":"0", "Status":"success", "DomainName":"domain1.com", } }
调用续期(renew)命令将创建和处理续期订单。您必须具备足够的账户余额用于该订单。如果调用续期命令,应包括以下参数:
解释
解释
续费示例
https://api.dynadot.com/api3.xml?key=mykey&domain=domian1.com&command=renew&duration=1¤cy=USD&coupon=testcoupon
<RenewResponse> <RenewHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </RenewHeader> <RenewContent> <Expiration>73984579834</Expiration> </RenewContent> </RenewResponse>
https://api.dynadot.com/api3.json?key=mykey&domain=domian1.com&command=renew&duration=1¤cy=USD&coupon=testcoupon
{ "RenewResponse":{ "ResponseCode":"0", "Status":"success", "DomainName":"domian1.com", "Expiration":"73984579834" } }
调用push命令将创建和处理一个push订单。您必须为订单解锁您的域名和帐户。接收人账户必须拒绝/接受域名才能完成订单。如果调用push命令,应包含以下参数:
解释
解释
Push例子
https://api.dynadot.com/api3.xml?key=mykey&command=push&domain=domian1.com&receiver_push_username=username¤cy=USD
<PushResponse> <PushHeader> <SuccessCode>0</SuccessCode> <Status>order created</Status> </PushHeader> </PushResponse>
https://api.dynadot.com/api3.json?key=mykey&command=push&domain=domian1.com&receiver_push_username=username¤cy=USD
{ "PushResponse":{ "ResponseCode":"0", "Status":"order created" } }
调用转移命令将创建和处理转移订单。部分tld可能会要求失去域名的注册人确认后才能完成订单。如果调用转移命令,应包括以下参数:
解释
解释
转移例子
https://api.dynadot.com/api3.xml?key=mykey&command=transfer&domain=domian1.com&auth=testauth¤cy=USD&coupon=testcoupon
<TransferResponse> <TransferHeader> <SuccessCode>0</SuccessCode> <Status>order created</Status> </TransferHeader> </TransferResponse>
https://api.dynadot.com/api3.json?key=mykey&command=transfer&domain=domian1.com&auth=testauth¤cy=USD&coupon=testcoupon
{ "TransferResponse":{ "ResponseCode":"0", "Status":"order created", "DomainName":"domian1.com" } }
Calling the bulk register command will create and process registration orders. You must have enough account balance to pay for the orders. If calling the bulk register command, the following parameters should be included:
解释
解释
Bulk Register Example
https://api.dynadot.com/api3.xml?key=mykey&command=bulk_register&domain0=domain0.com&domain1=domain1.com¤cy=USD
<?xml version="1.0" encoding="UTF-8"?> <BulkRegisterResponse> <BulkRegisterHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </BulkRegisterHeader> <BulkRegisterContent> <BulkRegister> <RegisterResult> <DomainName>domain0.com</DomainName> <Expiration>1234567890</Expiration> <Result>success</Result> <Message>-</Message> </RegisterResult> <RegisterResult> <DomainName>domain1.com</DomainName> <Expiration>-</Expiration> <Result>error</Result> <Message>not_available</Message> </RegisterResult> </BulkRegister> </BulkRegisterContent> </BulkRegisterResponse>
https://api.dynadot.com/api3.json?key=mykey&command=bulk_register&domain0=domain0.com&domain1=domain1.com¤cy=USD
{ "BulkRegisterResponse": { "ResponseCode": 0, "Status": "success", "BulkRegister": [ { "DomainName": "domain0.com", "Expiration": "1234567890", "Result": "success", "Message": "-" }, { "DomainName": "domain1.com", "Expiration": "-", "Result": "error", "Message": "not_available" } ] } }
This command is only available in XML and JSON format:
解释
解释
域名信息示例
https://api.dynadot.com/api3.xml?key=mykey&command=domain_info&domain=domain1.com
<?xml version="1.0" encoding="UTF-8"?> <DomainInfoResponse> <DomainInfoHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </DomainInfoHeader> <DomainInfoContent> <Domain> <Name>domain1.com</Name> <Expiration>1361430589062</Expiration> <Registration>1234567890123</Registration> <NameServerSettings> <Type>Dynadot Parking</Type> <WithAds>Yes</WithAds> </NameServerSettings> <Whois> <Registrant> <ContactId>0</ContactId> </Registrant> <Admin> <ContactId>0</ContactId> </Admin> <Technical> <ContactId>0</ContactId> </Technical> <Billing> <ContactId>0</ContactId> </Billing> </Whois> <Locked>yes</Locked> <Disabled>no</Disabled> <UdrpLocked>no</UdrpLocked> <RegistrantUnverified>no</RegistrantUnverified> <Hold>no</Hold> <Privacy>none</Privacy> <isForSale>yes</isForSale> <RenewOption>no renew option</RenewOption> <Note/> <Folder> <FolderId>-1</FolderId> <FolderName>(no folder)</FolderName> </Folder> </Domain> </DomainInfoContent> </DomainInfoResponse>
https://api.dynadot.com/api3.json?key=mykey&command=domain_info&domain=domain1.com
{ "DomainInfoResponse": { "ResponseCode": 0, "Status": "success", "DomainInfo": { "Name": "domain1.com", "Expiration": "1361430589062", "Registration": "1234567890123", "NameServerSettings": { "Type": "Dynadot Parking", "WithAds": "Yes" }, "Whois": { "Registrant": { "ContactId": "0" }, "Admin": { "ContactId": "0" }, "Technical": { "ContactId": "0" }, "Billing": { "ContactId": "0" } }, "Locked": "yes", "Disabled": "no", "UdrpLocked": "no", "RegistrantUnverified": "no", "Hold": "no", "Privacy": "none", "isForSale": "yes", "RenewOption": "no renew option", "Note": "", "Folder": { "FolderId": "-1", "FolderName": "(no folder)" } } } }
如果设置Whois命令,则应包含以下参数:
解释
解释
设置Whois示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_whois&domain=domain4.com®istrant_contact=0&admin_contact=0&technical_contact=0&billing_contact=0
<SetWhoisResponse> <SetWhoisHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetWhoisHeader> </SetWhoisResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_whois&domain=domain4.com®istrant_contact=0&admin_contact=0&technical_contact=0&billing_contact=0
{ "SetWhoisResponse":{ "ResponseCode":"0", "Status":"success" } }
如要呼叫设置域名服务器命令,应包含下列参数:
解释
解释
设置域名服务器示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_ns&domain=domain1.com,domain2.com&ns0=ns1.hostns.com&ns1=ns2.hostns.com
<SetNsResponse> <SetNsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetNsHeader> </SetNsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_ns&domain=domain1.com,domain2.com&ns0=ns1.hostns.com&ns1=ns2.hostns.com
{ "SetNsResponse":{ "ResponseCode":"0", "Status":"success" } }
如设置停靠命令,则下列参数应包含在内:
解释
解释
设置域名停放示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_parking&domain=domain1.com&with_ads=no
<SetParkingResponse> <SetParkingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetParkingHeader> </SetParkingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_parking&domain=domain1.com&with_ads=no
{ "SetParkingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置转发命令,则须包含下列参数
解释
解释
设置转发示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_forwarding&forward_url=http%3A%2F%2Fwww.mydomain.com&domain=domain1.com,domain2.com
<SetForwardingResponse> <SetForwardingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetForwardingHeader> </SetForwardingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_forwarding&forward_url=http%3A%2F%2Fwww.mydomain.com&domain=domain1.com,domain2.com
{ "SetForwardingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置隐身命令,则须包含下列参数:
解释
解释
设置隐身示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_stealth&domain=domain1.com&stealth_title=obama's shop&stealth_url=http%3A%2F%2Fwww.obamashop.com
<SetStealthResponse> <SetStealthHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetStealthHeader> </SetStealthResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_stealth&domain=domain1.com&stealth_title=obama's shop&stealth_url=http%3A%2F%2Fwww.obamashop.com
{ "SetStealthResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置托管命令,则须包含下列参数:
解释
解释
设置托管示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_hosting&domain=domain8.com&hosting_type=advanced&mobile_view_on=yes
<SetHostingResponse> <SetHostingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetHostingHeader> </SetHostingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_hosting&domain=domain8.com&hosting_type=advanced&mobile_view_on=yes
{ "SetHostingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置域名系统命令,则须包含下列参数:
(此命令已过时,不建议使用,请使用设置DNS2命令)
解释
解释
设置域名系统示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_dns&domain=domain1.com&main_record_type=aaaa&main_record=0:0:0:0:0:0:0:1
<?xml version="1.0" encoding="UTF-8"?> <SetDnsResponse> <SetDnsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDnsHeader> </SetDnsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_dns&domain=domain1.com&main_record_type=aaaa&main_record=0:0:0:0:0:0:0:1
{ "SetDnsResponse": { "ResponseCode": "0", "Status": "success" } }
如果调用设置DNS2命令,应包含以下参数:
Please noted that calling set DNS2 command will override the current DNS setting.
解释
解释
设置DNS2示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_dns2&domain=domain1.com&main_record_type0=aaaa&main_record0=0:0:0:0:0:0:0:1&main_record_type1=mx&main_record1=mail1.myisp.com&main_recordx1=0&subdomain0=www&sub_record_type0=a&sub_record0=192.168.1.1
<?xml version="1.0" encoding="UTF-8"?> <SetDnsResponse> <SetDnsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDnsHeader> </SetDnsResponse>
https://api.dynadot.com/api3.xml?key=mykey&command=set_dns2&domain=domain1.com&main_record_type0=aaaa&main_record0=0:0:0:0:0:0:0:1&main_record_type1=mx&main_record1=mail1.myisp.com&main_recordx1=0&subdomain0=www&sub_record_type0=a&sub_record0=192.168.1.1
{ "SetDnsResponse": { "ResponseCode": "0", "Status": "success" } }
如果发送设置电子邮件转发命令,则须包含下列参数:
解释
解释
设置 电子邮件转发示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_email_forward&domain=domain1.com&forward_type=forward&username0=peter&[email protected]
<SetEmailForwardingResponse> <SetEmailForwardingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetEmailForwardingHeader> </SetEmailForwardingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_email_forward&domain=domain1.com&forward_type=forward&username0=peter&[email protected]
{ "SetEmailForwardingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置清除域名设置命令,则须包含下列参数:
解释
解释
设置清除域名设置示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_clear_domain_setting&domain=domain1.com&service=nameservers
<SetClearDomainSettingResponse> <SetClearDomainSettingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetClearDomainSettingHeader> </SetClearDomainSettingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_clear_domain_setting&domain=domain1.com&service=nameservers
{ "SetClearDomainSettingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置文件夹命令,则须包含下列参数:
解释
解释
设置文件夹示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder&domain=domian1.com&folder=folder1
<SetFolderResponse> <SetFolderHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderHeader> </SetFolderResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder&domain=domian1.com&folder=folder1
{ "SetFolderResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置续费选项命令,则须包含下列参数:
解释
解释
设置续费选项示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_renew_option&domain=domain1.com&renew_option=auto
<SetRenewOptionResponse> <SetRenewOptionHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetRenewOptionHeader> </SetRenewOptionResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_renew_option&domain=domain1.com&renew_option=auto
{ "SetRenewOptionResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置注释命令,则须包含下列参数:
解释
解释
设置注释示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_note&domain=domain1.com¬e=Do not modify any information
<SetNoteResponse> <SetNoteHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetNoteHeader> </SetNoteResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_note&domain=domain1.com¬e=Do not modify any information
{ "SetNoteResponse":{ "ResponseCode":"0", "Status":"success" } }
Set Customer Id Command (RESELLER ONLY)
If calling set customer id command, the following parameters should be included:
解释
解释
Set Customer Id Example
https://api.dynadot.com/api3.xml?key=mykey&command=set_customer_id&domain=domain1.com,domain2.com&customer_id=123456
<SetCustomerIdResponse> <SetCustomerIdHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </SetCustomerIdHeader> <SetCustomerIdContent> <SetCustomerIdSuccess> <content> <Domain>domain1.com</Domain> <CustomerId>123456</CustomerId> </content> <content> <Domain>domain2.com</Domain> <CustomerId>123456</CustomerId> </content> </SetCustomerIdSuccess> </SetCustomerIdContent> </SetCustomerIdResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_customer_id&domain=domain1.com,domain2.com&customer_id=123456
{ "SetCustomerIdResponse": { "ResponseCode": 0, "Status": "success", "SetCustomerIdSuccess": [ { "Domain": "domain1.com", "CustomerId": 123456 }, { "Domain": "domain2.com", "CustomerId": 123456 } ] } }
如果发送设置隐私保护命令,则须包含下列参数:
解释
解释
设置隐私保护示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_privacy&domain=domain1.com&option=off
<SetPrivacyResponse> <SetPrivacyHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetPrivacyHeader> </SetPrivacyResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_privacy&domain=domain1.com&option=off
{ "SetPrivacyResponse":{ "ResponseCode":"0", "Status":"success" } }
This feature is only available in XML and JSON format:
解释
解释
TLD价格示例
https://api.dynadot.com/api3.xml?key=0&command=tld_price¤cy=USD
<?xml version="1.0" encoding="UTF-8"?> <TldPriceResponse> <TldPriceResponseHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> <PriceLevel>Regular Pricing</PriceLevel> <Currency>USD</Currency> </TldPriceResponseHeader> <TldPriceContent> <TldContent> <Tld>.com</Tld> <Usage>Usage</Usage> <Price> <Unit>(Price/1 year)</Unit> <Register>99.00</Register> <Renew>60.00</Renew> <Transfer>92.00</Transfer> </Price> <Privacy>Yes</Privacy> <GracePeriod> <Unit>(Grace Period/days)</Unit> <Renew>40</Renew> <Delete>5</Delete> </GracePeriod> <IDN>Yes</IDN> <Restrictions>--</Restrictions> </TldContent> </TldPriceContent> </TldPriceResponse>
https://api.dynadot.com/api3.json?key=0&command=tld_price¤cy=USD
{ "TldPriceResponse": { "ResponseCode": 0, "Status": "success", "PriceLevel": "Regular Pricing", "Currency": "USD", "TldPrice": [ { "Tld": ".com", "Usage": "Usage", "Price": { "Unit": "(Price/1 year)", "Register": "99.00", "Renew": "60.00", "Transfer": "92.00" }, "Privacy": "Yes", "GracePeriod": { "Unit": "(Grace Period/days)", "Renew": "40", "Delete": "5" }, "IDN": "Yes", "Restrictions": "--" } ] } }
This feature is only available in XML and JSON format:
解释
解释
列出域名示例
https://api.dynadot.com/api3.xml?key=mykey&command=list_domain
<?xml version="1.0" encoding="UTF-8"?> <ListDomainInfoResponse> <ListDomainInfoHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </ListDomainInfoHeader> <ListDomainInfoContent> <DomainInfoList> <DomainInfo> <Domain> <Name>domain-exp140.com</Name> <Expiration>1361430589062</Expiration> <Registration>1234567890123</Registration> <NameServerSettings> <Type>Dynadot Parking</Type> <WithAds>Yes</WithAds> </NameServerSettings> <Whois> <Registrant> <ContactId>0</ContactId> </Registrant> <Admin> <ContactId>0</ContactId> </Admin> <Technical> <ContactId>0</ContactId> </Technical> <Billing> <ContactId>0</ContactId> </Billing> </Whois> <Locked>yes</Locked> <Disabled>no</Disabled> <UdrpLocked>no</UdrpLocked> <RegistrantUnverified>no</RegistrantUnverified> <Hold>no</Hold> <Privacy>none</Privacy> <isForSale>no</isForSale> <RenewOption>no renew option</RenewOption> <Note/> <Folder> <FolderId>-1</FolderId> <FolderName>(no folder)</FolderName> </Folder> </Domain> <Domain> <Name>domain-exp141.com</Name> <Expiration>1361430589062</Expiration> <Registration>1234567890123</Registration> <NameServerSettings> <Type>Dynadot Parking</Type> <WithAds>Yes</WithAds> </NameServerSettings> <Whois> <Registrant> <ContactId>1</ContactId> </Registrant> <Admin> <ContactId>2</ContactId> </Admin> <Technical> <ContactId>3</ContactId> </Technical> <Billing> <ContactId>4</ContactId> </Billing> </Whois> <Locked>yes</Locked> <Disabled>no</Disabled> <UdrpLocked>no</UdrpLocked> <RegistrantUnverified>no</RegistrantUnverified> <Hold>no</Hold> <Privacy>none</Privacy> <isForSale>no</isForSale> <RenewOption>no renew option</RenewOption> <Note/> <Folder> <FolderId>-1</FolderId> <FolderName>(no folder)</FolderName> </Folder> </Domain> </DomainInfo> </DomainInfoList> </ListDomainInfoContent> </ListDomainInfoResponse>
https://api.dynadot.com/api3.json?key=mykey&command=list_domain
{ "ListDomainInfoResponse": { "ResponseCode": 0, "Status": "success", "MainDomains": [ { "Name": "domain-exp140.com", "Expiration": "1361430589062", "Registration": "1234567890123", "NameServerSettings": { "Type": "Dynadot Parking", "WithAds": "Yes" }, "Whois": { "Registrant": { "ContactId": "0" }, "Admin": { "ContactId": "0" }, "Technical": { "ContactId": "0" }, "Billing": { "ContactId": "0" } }, "Locked": "yes", "Disabled": "no", "UdrpLocked": "no", "RegistrantUnverified": "no", "Hold": "no", "Privacy": "none", "isForSale": "no", "RenewOption": "no renew option", "Note": "", "Folder": { "FolderId": "-1", "FolderName": "(no folder)" } }, { "Name": "domain-exp141.com", "Expiration": "1361430589062", "Registration": "1234567890123", "NameServerSettings": { "Type": "Dynadot Parking", "WithAds": "Yes" }, "Whois": { "Registrant": { "ContactId": "1" }, "Admin": { "ContactId": "2" }, "Technical": { "ContactId": "3" }, "Billing": { "ContactId": "4" } }, "Locked": "yes", "Disabled": "no", "UdrpLocked": "no", "RegistrantUnverified": "no", "Hold": "no", "Privacy": "none", "isForSale": "no", "RenewOption": "no renew option", "Note": "", "Folder": { "FolderId": "-1", "FolderName": "(no folder)" } } ] } }
如果发送创建联系方式命令,则须包含下列参数:
解释
解释
创建联系方式示例
https://api.dynadot.com/api3.xml?key=mykey&command=create_contact&name=Webb&[email protected]&phonenum=8662623399&phonecc=1&address1=PO Box 345&city=San Mateo&state=America&zip=94401&country=US
<CreateContactResponse> <CreateContactHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </CreateContactHeader> <CreateContactContent> <ContactId>1234</ContactId> </CreateContactContent> </CreateContactResponse>
https://api.dynadot.com/api3.json?key=mykey&command=create_contact&name=Webb&[email protected]&phonenum=8662623399&phonecc=1&address1=PO Box 345&city=San Mateo&state=America&zip=94401&country=US
{ "CreateContactResponse":{ "ResponseCode":"0", "Status":"success", "CreateContactContent":{ "ContactId":"0" } } }
如果发送遍及联系方式命令,则须包含下列参数:
解释
解释
https://api.dynadot.com/api3.xml?key=mykey&command=edit_contact&contact_id=0&name=Webb&[email protected]&phonenum=8662623399&phonecc=1&address1=PO Box 345&city=San Mateo&state=U.S&zip=94401&country=US
<?xml version="1.0" encoding="UTF-8"?> <EditContactResponse> <EditContactHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </EditContactHeader> <EditContactContent> <ContactId>0</ContactId> </EditContactContent> </EditContactResponse>
https://api.dynadot.com/api3.html?key=mykey&command=edit_contact&contact_id=0&name=Webb&[email protected]&phonenum=8662623399&phonecc=1&address1=PO Box 345&city=San Mateo&state=U.S&zip=94401&country=US
ok, success, ,
https://api.dynadot.com/api3.json?key=mykey&command=edit_contact&contact_id=0&name=Webb&[email protected]&phonenum=8662623399&phonecc=1&address1=PO Box 345&city=San Mateo&state=U.S&zip=94401&country=US
{ "EditContactResponse": { "ResponseCode": "0", "Status": "success", "EditContactContent": { "ContactId": "0" } } }
Set Contact EU Setting Command
If calling set contact eu setting command, the following parameters should be included:
解释
AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IS, IE, IT, LV, LI, LT, LU, MT, NL, NO, PL, PT, RO, SK, SI, ES, SE
解释
Set Contact EU Setting Example
https://api.dynadot.com/api3.xml?key=mykey&command=set_contact_eu_setting&contact_id=0&country_of_citizenship=AT
<?xml version="1.0" encoding="UTF-8"?> <SetContactEUSettingResponse> <SetContactEUSettingHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </SetContactEUSettingHeader> <SetContactEUSettingContent> <ContactId>0</ContactId> </SetContactEUSettingContent> </SetContactEUSettingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_contact_eu_setting&contact_id=0&country_of_citizenship=AT
{ "SetContactEUSettingResponse": { "ResponseCode: ": "0", "Status": "Success", "SetContactEUSettingContent": { "ContactId: ": "0" } } }
Set Contact LV Setting Command
If calling set contact lv setting command, the following parameters should be included:
解释
- For companies and other legal entities, please enter registration number issued by the Latvian Register of Enterprises.
解释
Set Contact LV Setting Example
https://api.dynadot.com/api3.csv?key=mykey&command=set_contact_lv_setting&contact_id=0®istration_number=test_reg_number&vat_number=test_vat_number
ok,success,0
https://api.dynadot.com/api3.xml?key=mykey&command=set_contact_lv_setting&contact_id=0®istration_number=test_reg_number&vat_number=test_vat_number
<?xml version="1.0" encoding="UTF-8"?> <SetContactLvSettingResponse> <SetContactLvSettingHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </SetContactLvSettingHeader> <SetContactLvSettingContent> <ContactId>0</ContactId> </SetContactLvSettingContent> </SetContactLvSettingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_contact_lv_setting&contact_id=0®istration_number=test_reg_number&vat_number=test_vat_number
{ "SetContactLvSettingResponse": { "ResponseCode": 0, "Status": "success", "SetContactLvSettingContent": { "ContactId: ": "0" } } }
如果发送删除联系方式命令,则须包含下列参数:
解释
解释
删除联系方式示例
https://api.dynadot.com/api3.xml?key=mykey&command=delete_contact&contact_id=0
<DeleteContactResponse> <DeleteContactHeader> <SuccessCode>-1</SuccessCode> <Status>error</Status> <Error>cannot delete these contacts (Jack Slater). Because they are in use.</Error> </DeleteContactHeader> </DeleteContactResponse>
https://api.dynadot.com/api3.json?key=mykey&command=delete_contact&contact_id=0
{ "DeleteContactResponse":{ "ResponseCode":"0", "Status":"success" } }
This command is only available in XML and JSON format:
解释
解释
联系方式列表示例
https://api.dynadot.com/api3.xml?key=mykey&command=contact_list
<?xml version="1.0" encoding="UTF-8"?> <ContactListResponse> <ContactListHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </ContactListHeader> <ContactListContent> <ContactList> <Contact> <ContactId>0</ContactId> <Organization/> <Name>Jack Slater</Name> <Email>[email protected]</Email> <PhoneCc>1</PhoneCc> <PhoneNum>555.555.5233</PhoneNum> <FaxCc/> <FaxNum/> <Address1>1 Free Way</Address1> <Address2/> <City>Los Angeles</City> <State>CA</State> <ZipCode>90068</ZipCode> <Country>US</Country> <GtldVerified>no</GtldVerified> </Contact> <Contact> <ContactId>1</ContactId> <Organization/> <Name>John tester</Name> <Email>[email protected]</Email> <PhoneCc>1</PhoneCc> <PhoneNum>123.456.7890</PhoneNum> <FaxCc>1</FaxCc> <FaxNum>123.456.7890</FaxNum> <Address1>high Way first</Address1> <Address2/> <City>San Francisco</City> <State>CA</State> <ZipCode>90068</ZipCode> <Country>US</Country> <GtldVerified>yes</GtldVerified> </Contact> </ContactList> </ContactListContent> </ContactListResponse>
https://api.dynadot.com/api3.json?key=mykey&command=contact_list
{ "ContactListResponse": { "ResponseCode": 0, "Status": "success", "ContactList": [ { "ContactId": "0", "Organization": "", "Name": "Jack Slater", "Email": "[email protected]", "PhoneCc": "1", "PhoneNum": "555.555.5233", "FaxCc": "", "FaxNum": "", "Address1": "1 Free Way", "Address2": "", "City": "Los Angeles", "State": "CA", "ZipCode": "90068", "Country": "US", "GtldVerified": "no" }, { "ContactId": "1", "Organization": "", "Name": "John tester", "Email": "[email protected]", "PhoneCc": "1", "PhoneNum": "123.456.7890", "FaxCc": "1", "FaxNum": "123.456.7890", "Address1": "high Way first", "Address2": "", "City": "San Francisco", "State": "CA", "ZipCode": "90068", "Country": "US", "GtldVerified": "yes" } ] } }
This command is only available in XML and JSON format:
解释
解释
获取联络人示例
https://api.dynadot.com/api3.xml?key=mykey&command=get_contact&contact_id=10000
<?xml version="1.0" encoding="UTF-8"?> <GetContactResponse> <GetContactHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </GetContactHeader> <GetContactContent> <GetContact> <Contact> <ContactId>12345</ContactId> <Organization>org</Organization> <Name>name</Name> <Email>[email protected]</Email> <PhoneCc>1</PhoneCc> <PhoneNum>555.555.5233</PhoneNum> <FaxCc/> <FaxNum/> <Address1>address1</Address1> <Address2>address2</Address2> <City>city</City> <State>state</State> <ZipCode>zipcode</ZipCode> <Country>country</Country> <GtldVerified>no</GtldVerified> </Contact> </GetContact> </GetContactContent> </GetContactResponse>
https://api.dynadot.com/api3.json?key=mykey&command=get_contact&contact_id=10000
{ "GetContactResponse": { "ResponseCode": 0, "Status": "success", "GetContact": { "ContactId": "12345", "Organization": "org", "Name": "name", "Email": "[email protected]", "PhoneCc": "1", "PhoneNum": "555.555.5233", "FaxCc": "", "FaxNum": "", "Address1": "address1", "Address2": "address2", "City": "city", "State": "state", "ZipCode": "zipcode", "Country": "country", "GtldVerified": "no" } } }
If calling get name server command, the following parameters should be included:
解释
解释
Get Name Server Example
https://api.dynadot.com/api3.html?key=mykey&command=get_ns&domain=mydomain.com
<GetNsResponse> <GetNsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetNsHeader> <NsContent> <Host>ns1.mydomain.com</Host> <Host>ns2.mydomain.com</Host> </NsContent> </GetNsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=get_ns&domain=mydomain.com
{ "GetNsResponse":{ "ResponseCode":"0", "Status":"success", "NsContent":{ "Host":"ns1.mydomain.com", "Host":"ns2.mydomain.com" } } }
若呼叫添加域名服务器命令,则需包含以下参数:
解释
解释
添加域名服务器示例
https://api.dynadot.com/api3.xml?key=mykey&command=add_ns&host=ns1.mydomain.com
<AddNsResponse> <AddNsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </AddNsHeader> <AddNsContent> <Server> <Host>ns1.mydomain.com</Host> <ServerId>0</ServerId> </Server> </AddNsContent> </AddNsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=add_ns&host=ns1.mydomain.com
{ "AddNsResponse":{ "ResponseCode":"0", "Status":"success", "AddNsContent":{ "Server":{ "Host":"ns1.mydomain.com", "ServerId":"0" } } } }
如果呼叫注册域名服务器命令,则应包含下列参数:
解释
解释
注册域名服务器示例
https://api.dynadot.com/api3.xml?key=mykey&command=register_ns&host=domain1.com&ip=192.168.1.1
<RegisterNsResponse> <RegisterNsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </RegisterNsHeader> <RegisterNsContent> <Server> <Host>domain1.com</Host> <ServerId>0</ServerId> </Server> </RegisterNsContent> </RegisterNsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=register_ns&host=domain1.com&ip=192.168.1.1
{ "RegisterNsResponse":{ "ResponseCode":"0", "Status":"success", "RegisterNsContent":{ "Server":{ "Host":"ndomain1.com", "ServerId":"0" } } } }
若呼叫设置域名服务器IP命令,则应包含以下参数:
解释
解释
设置域名服务器IP示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_ns_ip&server_id=1&ip0=192.168.1.1
<SetNsIpResponse> <SetNsIpHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetNsIpHeader> </SetNsIpResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_ns_ip&server_id=1&ip0=192.168.1.1
{ "SetNsIpResponse":{ "ResponseCode":"0", "Status":"success" } }
如果呼叫删除域名服务器命令,则应包含下列参数:
解释
解释
删除域名服务器示例
https://api.dynadot.com/api3.xml?key=mykey&command=delete_ns&server_id=0
<DeleteNsResponse> <DeleteNsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </DeleteNsHeader> </DeleteNsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=delete_ns&server_id=0
{ "DeleteNsResponse":{ "ResponseCode":"0", "Status":"success" } }
Delete Name Server By Domain Command
If calling delete name server by domain command, the following parameters should be included:
解释
解释
Delete Name Server By Domain Example
https://api.dynadot.com/api3.xml?key=mykey&command=delete_ns_by_domain&server_domain=ns1.testnameserver.com
<DeleteNsResponse> <DeleteNsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </DeleteNsHeader> </DeleteNsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=delete_ns_by_domain&server_domain=ns1.testnameserver.com
{ "DeleteNsResponse":{ "ResponseCode":"0", "Status":"success" } }
This command is only available in XML and JSON format:
解释
解释
服务器列表示例
https://api.dynadot.com/api3.xml?key=mykey&command=server_list
<?xml version="1.0" encoding="UTF-8"?> <ServerListResponse> <ServerListHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </ServerListHeader> <ServerListContent> <NameServerList> <List> <Server> <ServerId>0</ServerId> <ServerName>ns1.com</ServerName> </Server> <Server> <ServerId>1</ServerId> <ServerName>domain1.com</ServerName> <ServerIp>192.168.1.1</ServerIp> </Server> </List> </NameServerList> </ServerListContent> </ServerListResponse>
https://api.dynadot.com/api3.json?key=mykey&command=server_list
{ "ServerListResponse": { "ResponseCode": 0, "Status": "success", "ServerList": [ { "ServerId": "0", "ServerName": "ns1.com" }, { "ServerId": "1", "ServerName": "domain1.com", "ServerIp": "192.168.1.1" } ] } }
Get Domain NameServer Settings Command
If calling get domain nameservers settings command, the following parameters should be included:
解释
解释
Get Domain Nameserver Settings Example
https://api.dynadot.com/api3.xml?key=mykey&command=get_dns&domain=mydomain.com
<?xml version="1.0" encoding="UTF-8"?> <GetDnsResponse> <GetDnsHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </GetDnsHeader> <GetDnsContent> <NameServerSettings> <Type>Dynadot Parking</Type> <WithAds>Yes</WithAds> </NameServerSettings> </GetDnsContent> </GetDnsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=get_dns&domain=mydomain.com
{ "GetDnsResponse": { "ResponseCode": 0, "Status": "success", "GetDns": { "NameServerSettings": { "Type": "Dynadot Parking", "WithAds": "Yes" } } } }
Get Transfer Auth Code Command
您必须在请求授权代码前先解锁域名和账户。
解释
解释
获取转移授权代码示例
https://api.dynadot.com/api3.xml?key=mykey&command=get_transfer_auth_code&domain=domian1.com&new_code=1&unlock_domain_for_transfer=1
<GetTransferAuthCodeResponse> <GetTransferAuthCodeHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> <AuthCode>testauthcode</AuthCode> </GetTransferAuthCodeHeader> </GetTransferAuthCodeResponse>
https://api.dynadot.com/api3.json?key=mykey&command=get_transfer_auth_code&domain=domian1.com&new_code=1&unlock_domain_for_transfer=1
{ "GetTransferAuthCodeResponse":{ "ResponseCode":"0", "Status":"success", "AuthCode":"testauthcode" } }
If calling get transfer status command, the following parameters should be included:
解释
解释
Get Transfer Status Example
https://api.dynadot.com/api3.xml?key=mykey&command=get_transfer_status&domain=domian1.com&transfer_type=in
<?xml version="1.0" encoding="UTF-8"?> <GetTransferStatusResponse> <GetTransferStatusHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetTransferStatusHeader> <GetTransferStatusContent> <TransferList> <Transfer> <OrderId>testorderid</OrderId> <TransferStatus>teststatus</TransferStatus> </Transfer> <Transfer> <OrderId>testorderid2</OrderId> <TransferStatus>teststatus2</TransferStatus> </Transfer> </TransferList> </GetTransferStatusContent> </GetTransferStatusResponse>
https://api.dynadot.com/api3.json?key=mykey&command=get_transfer_status&domain=domian1.com&transfer_type=in
{ "GetTransferStatusResponse": { "ResponseCode": 0, "Status": "success", "TransferList": [ { "OrderId": "testorderid", "TransferStatus": "teststatus" }, { "OrderId": "testorderid2", "TransferStatus": "teststatus2" } ] } }
Set Transfer Auth Code For Transfer Order Command
The command which allows you to update auth code for processing transfer orders. If calling set transfer auth code command, the following parameters should be included:
解释
解释
Set Transfer Auth Code Example
https://api.dynadot.com/api3.xml?key=mykey&command=set_transfer_auth_code&domain=domain4.com&auth_code=testauthcode
<SetTransferAuthCodeResponse> <SetTransferAuthCodeHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetTransferAuthCodeHeader> </SetTransferAuthCodeResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_transfer_auth_code&domain=domain4.com&auth_code=testauthcode
{ "SetTransferAuthCodeResponse":{ "ResponseCode":"0", "Status":"success" } }
Cancel Transfer For Order Command
The Command allows you to cancel a transfer item in the order. If calling cancel transfer command, the following parameters should be included:
解释
解释
Cancel Transfer Example
https://api.dynadot.com/api3.xml?key=mykey&command=cancel_transfer&domain=domain4.com
<CancelTransferResponse> <CancelTransferHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </CancelTransferHeader> </CancelTransferResponse>
https://api.dynadot.com/api3.json?key=mykey&command=cancel_transfer&domain=domain4.com
{ "CancelTransferResponse":{ "ResponseCode":"0", "Status":"success" } }
Authorize Transfer Away Command (RESELLER ONLY)
解释
解释
Authorize Transfer Away Example
https://api.dynadot.com/api3.xml?key=mykey&command=authorize_transfer_away&domain=domian.com&authorize=approve&order_id=123
<AuthorizeTransferAwayResponse> <AuthorizeTransferAwayHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> <Result>away_approved</Result> </AuthorizeTransferAwayHeader> </AuthorizeTransferAwayResponse>
https://api.dynadot.com/api3.json?key=mykey&command=authorize_transfer_away&domain=domian.com&authorize=approve&order_id=123
{ "AuthorizeTransferAwayResponse":{ "ResponseCode":"0", "Status":"success", "Result":"away_approved" } }
The Command allows you to create a CN audit for a contact. If calling create cn audit command, the following parameters should be included:
解释
JGZ (Officer's identity card of the People's Republic of China)
SFZ (ID card of the People's Republic of China)
HZ (Passport)
GAJMTX (Exit-Entry Permit for Travelling to and from Hong Kong and Macao)
TWJMTX (Travel passes for Taiwan Residents to Enter or Leave the Mainland)
WJLSFZ (Foreign Permanent Resident ID Card of the People's Republic of China)
GAJZZ (Residence permit for Hong Kong, Macao)
TWJZZ (Residence permit for Taiwan residents)
QT (Others)
ORG (Organization Code Certificate)
YYZZ (Business License)
TYDM (Certificate for Uniform Social Credit Code)
BDDM (Military Code Designation)
JDDWFW (Military Paid External Service License)
SYDWFR (Public Institution Legal Person Certificate)
WGCZJG (Resident Representative Offices of Foreign Enterprises Registration Form)
SHTTFR (Social Organization Legal Person Registration Certificate)
ZJCS (Religion Activity Site Registration Certificate)
MBFQY (Private Non-Enterprise Entity Registration Certificate)
JJHFR (Fund Legal Person Registration Certificate)
LSZY (Practicing License of Law Firm)
WGZHWH (Registration Certificate of Foreign Cultural Center in China)
WLCZJG (Resident Representative Office of Tourism Departments of Foreign Government Approval Registration Certificate)
SFJD (Judicial Expertise License)
JWJG (Overseas Organization Certificate)
SHFWJG (Social Service Agency Registration Certificate)
MBXXBX (Private School Permit)
YLJGZY (Medical Institution Practicing License)
GZJGZY (Notary Organization Practicing License)
BJWSXX (Beijing School for Children of Foreign Embassy Staff in China Permit)
QTTYDM (Others-Certificate for Uniform Social Credit Code)
QT (Others)
解释
Create CN Audit Example
https://api.dynadot.com/api3.xml?key=mykey&command=create_cn_audit&contact_id=testcontactid&contact_type=Enterprise&individual_id_type=SFZ&individual_license_id=testlicenseid&individual_url=url1&enterprise_id_type=ORG&enterprise_license_id=testlicenseid2&enterprise_url=url2
<CreateCnAuditResponse> <CreateCnAuditHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </CreateCnAuditHeader> </CreateCnAuditResponse>
https://api.dynadot.com/api3.json?key=mykey&command=create_cn_audit&contact_id=testcontactid&license_id=testlicenseid&url=url
{ "CreateCnAuditResponse":{ "ResponseCode":"0", "Status":"success" } }
If calling get cn audit status command, the following parameters should be included:
解释
解释
Get Cn Audit Status Example
https://api.dynadot.xml/api3.xml?key=mykey&command=get_cn_audit_status&contact_id=testcontactid
<?xml version="1.0" encoding="UTF-8"?> <GetCnAuditStatusResponse> <GetCnAuditStatusHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> <CnAuditStatus>pass</CnAuditStatus> </GetCnAuditStatusHeader> </GetCnAuditStatusResponse>
https://api.dynadot.json/api3.xml?key=mykey&command=get_cn_audit_status&contact_id=testcontactid
{ "GetCnAuditStatusResponse": { "ResponseCode": "0", "Status": "success", "CnAuditStatus": "pass" } }
This command is only available in XML and JSON format:
解释
解释
Get Account Balance Example
https://api.dynadot.com/api3.xml?key=mykey&command=get_account_balance
<?xml version="1.0" encoding="UTF-8"?> <GetAccountBalanceResponse> <GetAccountBalanceHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetAccountBalanceHeader> <GetAccountBalanceContent> <BalanceList> <Balance> <Currency>USD</Currency> <Amount>300.00</Amount> </Balance> </BalanceList> </GetAccountBalanceContent> </GetAccountBalanceResponse>
https://api.dynadot.com/api3.json?key=mykey&command=get_account_balance
{ "GetAccountBalanceResponse": { "ResponseCode": 0, "Status": "success", "BalanceList": [ { "Currency": "USD", "Amount": "300.00" } ] } }
If calling get listings command, the following parameters should be included:
解释
解释
Get Listings Example
https://api.dynadot.com/api3.xml?key=mykey¤cy=usd&command=get_listings
<?xml version="1.0" encoding="UTF-8"?> <GetListingsResponse> <GetListingsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetListingsHeader> <GetListingsContent> <Listing> <ListingId>id1</ListingId> <Domain>domain_name1</Domain> <Price>1</Price> <InboundLinks>1</InboundLinks> <Age>1</Age> <PendingSaleLocked>No</PendingSaleLocked> </Listing> <Listing> <ListingId>id2</ListingId> <Domain>domain_name2</Domain> <Price>2</Price> <InboundLinks>2</InboundLinks> <Age>2</Age> <PendingSaleLocked>No</PendingSaleLocked> </Listing> </GetListingsContent> </GetListingsResponse>
https://api.dynadot.com/api3.json?key=mykey¤cy=usd&command=get_listings
{ "GetListingsResponse": { "ResponseCode": 0, "Status": "success", "Listing": [ { "ListingId": "id1", "Domain": "domain_name1", "Price": "1", "InboundLinks": "1", "Age": "1", "PendingSaleLocked": "No" }, { "ListingId": "id2", "Domain": "domain_name2", "Price": "2", "InboundLinks": "2", "Age": "2", "PendingSaleLocked": "No" } ] } }
If calling get listing item command, the following parameters should be included:
解释
解释
Get Listing Item Example
http://api.dynadot.com/api3.xml?key=my_key&command=get_listing_item¤cy=usd&domain=domain_name
<?xml version="1.0" encoding="UTF-8"?> <GetListingsItemResponse> <GetListingsItemHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetListingsItemHeader> <GetListingsItemContent> <Listing> <ListingId>id</ListingId> <Domain>domain_name</Domain> <Price>0</Price> <InboundLinks>0</InboundLinks> <Age>0</Age> <PendingSaleLocked>No</PendingSaleLocked> </Listing> </GetListingsItemContent> </GetListingsItemResponse>
http://api.dynadot.com/api3.json?key=my_key&command=get_listing_item¤cy=usd&domain=domain_name
{ "GetListingsItemResponse": { "ResponseCode": 0, "Status": "success", "Listing": { "ListingId": "id", "Domain": "domain_name", "Price": "0", "InboundLinks": "0", "Age": "0", "PendingSaleLocked": "No" } } }
If calling buy it now command, the following parameters should be included:
解释
解释
Buy It Now Example
https://api.dynadot.com/api3.xml?key=mykey&command=buy_it_now&domain=domain¤cy=currency
<BuyItNowResponse> <BuyItNowHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </BuyItNowHeader> <Message>domain order created</Message> </BuyItNowResponse>
https://api.dynadot.com/api3.json?key=mykey&command=buy_it_now&domain=domain¤cy=currency
{ "BuyItNowResponse":{ "ResponseCode":"0", "Status":"success", "Message":"domain order created" } }
This command is only available in XML and JSON format:
解释
解释
账户信息示例
https://api.dynadot.com/api3.xml?key=mykey&command=account_info
<?xml version="1.0" encoding="UTF-8"?> <AccountInfoResponse> <AccountInfoHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </AccountInfoHeader> <AccountInfoContent> <AccountInfo> <Username>testname</Username> <ForumName>test forum name</ForumName> <Contact> <Organization/> <Name>testname test</Name> <Email>[email protected]</Email> <PhoneCc>1</PhoneCc> <PhoneNum>555.555.5233</PhoneNum> <FaxCc/> <FaxNum/> <Address1>1 test road</Address1> <Address2/> <City>Los Angeles</City> <State>CA</State> <ZipCode>90000</ZipCode> <Country>US</Country> </Contact> <CustomerSince>1364888735253</CustomerSince> <AccountLock>on</AccountLock> <TotalSpending>$0.00</TotalSpending> <PriceLevel>Regular Pricing</PriceLevel> <AccountBalance>$70.02</AccountBalance> <CustomTimeZone>PST</CustomTimeZone> <DefaultSettings> <DefaultWhois> <DefaultRegistrant> <ContactId>0</ContactId> </DefaultRegistrant> <DefaultAdmin> <ContactId>0</ContactId> </DefaultAdmin> <DefaultTechnical> <ContactId>0</ContactId> </DefaultTechnical> <DefaultBilling> <ContactId>0</ContactId> </DefaultBilling> </DefaultWhois> <DefaultNameServerSettings> <Type>Dynadot Parking</Type> <WithAds>yes</WithAds> </DefaultNameServerSettings> </DefaultSettings> </AccountInfo> </AccountInfoContent> </AccountInfoResponse>
https://api.dynadot.com/api3.json?key=mykey&command=account_info
{ "AccountInfoResponse": { "ResponseCode": 0, "Status": "success", "AccountInfo": { "Username": "testname", "ForumName": "test forum name", "Contact": { "Organization": "", "Name": "testname test", "Email": "[email protected]", "PhoneCc": "1", "PhoneNum": "555.555.5233", "FaxCc": "", "FaxNum": "", "Address1": "1 test road", "Address2": "", "City": "Los Angeles", "State": "CA", "ZipCode": "90000", "Country": "US" }, "CustomerSince": "1364888735253", "AccountLock": "on", "TotalSpending": "$0.00", "PriceLevel": "Regular Pricing", "AccountBalance": "$70.02", "CustomTimeZone": "PST", "DefaultSettings": { "DefaultWhois": { "DefaultRegistrant": { "ContactId": "0" }, "DefaultAdmin": { "ContactId": "0" }, "DefaultTechnical": { "ContactId": "0" }, "DefaultBilling": { "ContactId": "0" } }, "DefaultNameServerSettings": { "Type": "Dynadot Parking", "WithAds": "yes" } } } } }
如果呼叫设置默认Whois命令,则应包含以下参数:
解释
解释
设置默认Whois示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_whois®istrant_contact=0&admin_contact=0&technical_contact=0&billing_contact=0
<SetDefaultWhoisResponse> <SetDefaultWhoisHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultWhoisHeader> </SetDefaultWhoisResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_whois®istrant_contact=0&admin_contact=0&technical_contact=0&billing_contact=0
{ "SetDefaultWhoisResponse":{ "ResponseCode":"0", "Status":"success" } }
如果呼叫设置默认域名服务器命令,则应包含下列参数:
解释
解释
设置默认域名服务器示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_ns&ns0=ns1.hosts.com&ns1=ns2.host.com
<SetDefaultNsResponse> <SetDefaultNsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultNsHeader> <SetDefaultNsContent> <Servers> <Server> <ServerName>ns1.hosts.com</ServerName> <ServerId>0</ServerId> </Server> <Server> <ServerName>ns2.host.com</ServerName> <ServerId>1</ServerId> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> <Server> <ServerName /> <ServerId /> </Server> </Servers> </SetDefaultNsContent> </SetDefaultNsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_ns&ns0=ns1.hosts.com&ns1=ns2.host.com
{ "SetDefaultNsResponse":{ "ResponseCode":"0", "Status":"success", "SetDefaultNsContent":{ "Servers":[ { "ServerName":"ns1.hosts.com", "ServerId":"0" }, { "ServerName":"ns2.host.com", "ServerId":"1" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" } ] } } }
如果发送设置默认停放命令,则须包含下列参数:
解释
解释
设置默认停放示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_parking&folder_id=0&with_ads=no
<SetDefaultParkingResponse> <SetDefaultParkingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultParkingHeader> </SetDefaultParkingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_parking&folder_id=0&with_ads=no
{ "SetDefaultParkingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置默认转发命令,则须包含下列参数:
解释
解释
设置默认转发示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_forwarding&forward_url=http%3A%2F%2Fmydomain.com
<SetDefaultForwardingResponse> <SetDefaultForwardingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultForwardingHeader> </SetDefaultForwardingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_forwarding&forward_url=http%3A%2F%2Fmydomain.com
{ "SetDefaultForwardingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果要发送默认隐身命令,则须包含下列参数:
解释
解释
设置默认隐身示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_stealth&stealth_title=obama's shop&stealth_url=http%3A%2F%2Fwww.obamashop.com
<SetDefaultStealthResponse> <SetDefaultStealthHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultStealthHeader> </SetDefaultStealthResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_stealth&stealth_title=obama's shop&stealth_url=http%3A%2F%2Fwww.obamashop.com
{ "SetDefaultStealthResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置默认托管命令,则须包含下列参数:
解释
解释
设置默认托管示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_hosting&hosting_type=advanced
<SetDefaultHostingResponse> <SetDefaultHostingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultHostingHeader> </SetDefaultHostingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_hosting&hosting_type=advanced
{ "SetDefaultHostingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置默认域名系统命令,则须包含下列参数:
(该命令已过时,不建议使用,请使用Set Default DNS2命令)
解释
解释
设置默认域名系统示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_dns&main_record_type=aaaa&main_record=0:0:0:0:0:0:0:1
<SetDefaultDnsResponse> <SetDefaultDnsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultDnsHeader> </SetDefaultDnsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_dns&main_record_type=aaaa&main_record=0:0:0:0:0:0:0:1
{ "SetDefaultDnsResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置默认域名系统命令,则须包含下列参数:
解释
解释
设置默认DNS2示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_dns2&main_record_type0=aaaa&main_record0=0:0:0:0:0:0:0:1
<SetDefaultDnsResponse> <SetDefaultDnsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultDnsHeader> </SetDefaultDnsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_dns2&main_record_type0=aaaa&main_record0=0:0:0:0:0:0:0:1
{ "SetDefaultDnsResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置默认电子邮件转发命令,则须包含下列参数:
解释
解释
设置默认电子邮件转发示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_email_forward&forward_type=forward&username0=peter&[email protected]
<SetDefaultEmailForwardingResponse> <SetDefaultEmailForwardingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultEmailForwardingHeader> </SetDefaultEmailForwardingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_email_forward&forward_type=forward&username0=peter&[email protected]
{ "SetDefaultEmailForwardingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果呼叫设置清除默认设置命令,则需包含以下参数:
解释
解释
设置清除默认设置示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_clear_default_setting&service=nameservers
<SetClearDefaultSettingResponse> <SetClearDefaultSettingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetClearDefaultSettingHeader> </SetClearDefaultSettingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_clear_default_setting&service=nameservers
{ "SetClearDefaultSettingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置默认续费选项命令,则须包含下列参数:
解释
解释
设置默认续费选项示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_default_renew_option&renew_option=auto
<SetDefaultRenewOptionResponse> <SetDefaultRenewOptionHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetDefaultRenewOptionHeader> </SetDefaultRenewOptionResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_default_renew_option&renew_option=auto
{ "SetDefaultRenewOptionResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送创建文件夹命令,则须包含下列参数:
解释
解释
创建文件夹示例
https://api.dynadot.com/api3.xml?key=mykey&command=create_folder&folder_name=new
<FolderCreateResponse> <FolderCreateHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </FolderCreateHeader> <FolderCreateContent> <FolderName>new</FolderName> <FolderId>1</FolderId> </FolderCreateContent> </FolderCreateResponse>
https://api.dynadot.com/api3.json?key=mykey&command=create_folder&folder_name=new
{ "FolderCreateResponse":{ "ResponseCode":"0", "Status":"success", "FolderCreateContent":{ "FolderName":"new", "FolderId":"1" } } }
如果设置Whois命令,则应包含以下参数:
解释
解释
删除文件夹例子
https://api.dynadot.com/api3.xml?key=mykey&command=delete_folder&folder_id=0,1
<DeleteFolderResponse> <DeleteFolderHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </DeleteFolderHeader> </DeleteFolderResponse>
https://api.dynadot.com/api3.json?key=mykey&command=delete_folder&folder_id=0,1
{ "DeleteFolderResponse":{ "ResponseCode":"0", "Status":"success" } }
如果呼叫设置文件夹Whois命令,则应包含下列参数:
解释
解释
设置Whois文件夹示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_whois&folder_id=0®istrant_contact=0&admin_contact=0&technical_contact=0&billing_contact=0
<SetFolderWhoisResponse> <SetFolderWhoisHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderWhoisHeader> </SetFolderWhoisResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_whois&folder_id=0®istrant_contact=0&admin_contact=0&technical_contact=0&billing_contact=0
{ "SetFolderWhoisResponse":{ "ResponseCode":"0", "Status":"success" } }
如果呼叫设置文件夹名称服务器命令,则应包含下列参数:
解释
解释
设置文件夹名称服务器示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_ns&folder_id=0&ns0=ns1.hosts.com&ns1=ns2.host.com&enable=yes&sync=yes
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_ns&folder_id=0&ns0=ns1.hosts.com&ns1=ns2.host.com&enable=yes&sync=yes
{ "SetFolderNsResponse":{ "ResponseCode":"0", "Status":"success", "SetFolderNsContent":{ "Servers":[ { "ServerName":"ns1.hosts.com", "ServerId":"0" }, { "ServerName":"ns2.host.com", "ServerId":"1" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" }, { "ServerName":"", "ServerId":"" } ] } } }
如果发送设置文件夹停放命令,则须包含下列参数:
解释
解释
设置文件夹停放示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_parking&folder_id=0&with_ads=no
<SetFolderParkingResponse> <SetFolderParkingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderParkingHeader> </SetFolderParkingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_parking&folder_id=0&with_ads=no
{ "SetFolderParkingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置文件夹转发命令,则须包含下列参数:
解释
解释
设置文件夹转发示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_forwarding&folder_id=0&forward_url=http%3A%2F%2Fmydomain.com&sync=yes
<SetFolderForwardingResponse> <SetFolderForwardingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderForwardingHeader> </SetFolderForwardingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_forwarding&folder_id=0&forward_url=http%3A%2F%2Fmydomain.com&sync=yes
{ "SetFolderForwardingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置文件夹隐身命令,则须包含下列参数:
解释
解释
设置文件夹隐身示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_stealth&folder_id=0&stealth_title=obama's shop&stealth_url=http%3A%2F%2Fwww.obamashop.com&sync=yes
<SetFolderStealthResponse> <SetFolderStealthHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderStealthHeader> </SetFolderStealthResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_stealth&folder_id=0&stealth_title=obama's shop&stealth_url=http%3A%2F%2Fwww.obamashop.com&sync=yes
{ "SetFolderStealthResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置文件夹托管命令,则须包含下列参数:
解释
解释
设置文件夹托管示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_hosting&folder_id=0&hosting_type=advanced&sync=yes
<SetFolderHostingResponse> <SetFolderHostingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderHostingHeader> </SetFolderHostingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_hosting&folder_id=0&hosting_type=advanced&sync=yes
{ "SetFolderHostingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果要发送设置文件夹域名系统命令,则须包含下列参数:
(该命令已过时,不建议使用。请使用Set Folder DNS2命令)
解释
解释
设置文件夹域名系统示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_dns&folder_id=0&main_record_type=aaaa&main_record=0:0:0:0:0:0:0:1
<SetFolderDnsResponse> <SetFolderDnsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderDnsHeader> </SetFolderDnsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_dns&folder_id=0&main_record_type=aaaa&main_record=0:0:0:0:0:0:0:1
{ "SetFolderDnsResponse":{ "ResponseCode":"0", "Status":"success" } }
如果调用设置文件夹DNS2命令,应包含以下参数:
解释
解释
设置文件夹DNS2示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_dns2&folder_id=0&main_record_type0=aaaa&main_record0=0:0:0:0:0:0:0:1
<SetFolderDnsResponse> <SetFolderDnsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderDnsHeader> </SetFolderDnsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_dns2&folder_id=0&main_record_type0=aaaa&main_record0=0:0:0:0:0:0:0:1
{ "SetFolderDnsResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置文件夹电子邮件转发命令,则须包含下列参数:
解释
解释
设置文件夹电子邮件转发示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_email_forward&folder_id=0&forward_type=forward&username0=peter&[email protected]
<SetFolderEmailForwardingResponse> <SetFolderEmailForwardingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderEmailForwardingHeader> </SetFolderEmailForwardingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_email_forward&folder_id=0&forward_type=forward&username0=peter&[email protected]
{ "SetFolderEmailForwardingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置清除文件夹设置命令,则须包含下列参数:
解释
解释
设置清除文件夹设置示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_clear_folder_setting&folder_id=0&service=nameservers
<SetClearFolderSettingResponse> <SetClearFolderSettingHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetClearFolderSettingHeader> </SetClearFolderSettingResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_clear_folder_setting&folder_id=0&service=nameservers
{ "SetClearFolderSettingResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置文件夹名称命令,则须包含下列参数:
解释
解释
设置文件夹名称示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_name&folder_id=0&folder_name=new
<SetFolderNameResponse> <SetFolderNameHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderNameHeader> </SetFolderNameResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_name&folder_id=0&folder_name=new
{ "SetFolderNameResponse":{ "ResponseCode":"0", "Status":"success" } }
如果发送设置文件夹续费选项命令,则须包含下列参数:
解释
解释
设置文件夹续费选项示例
https://api.dynadot.com/api3.xml?key=mykey&command=set_folder_renew_option&folder_id=0&renew_option=auto
<SetFolderRenewOptionResponse> <SetFolderRenewOptionHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </SetFolderRenewOptionHeader> </SetFolderRenewOptionResponse>
https://api.dynadot.com/api3.json?key=mykey&command=set_folder_renew_option&folder_id=0&renew_option=auto
{ "SetFolderRenewOptionResponse":{ "ResponseCode":"0", "Status":"success" } }
This command is only available in XML and JSON format:
解释
文件夹列表示例
https://api.dynadot.com/api3.xml?key=mykey&command=folder_list
<?xml version="1.0" encoding="UTF-8"?> <FolderListResponse> <FolderListHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </FolderListHeader> <FolderListContent> <FolderList> <List> <Folder> <FolderId>0</FolderId> <FolderName>new</FolderName> <DefaultWhois> <DefaultWhoisEnableStatus>disable</DefaultWhoisEnableStatus> <DefaultRegistrant> <ContactId>0</ContactId> </DefaultRegistrant> <DefaultAdmin> <ContactId>0</ContactId> </DefaultAdmin> <DefaultTechnical> <ContactId>0</ContactId> </DefaultTechnical> <DefaultBilling> <ContactId>0</ContactId> </DefaultBilling> </DefaultWhois> <DefaultNameServers> <DefaultNameServerEnableStatus>disable</DefaultNameServerEnableStatus> <NameServerSettings> <Type>Dynadot Parking</Type> <WithAds>Yes</WithAds> </NameServerSettings> </DefaultNameServers> <DefaultRenewOption> <DefaultRenewOptionEnableStatus>disable</DefaultRenewOptionEnableStatus> <RenewOption>no renew option</RenewOption> </DefaultRenewOption> <DefaultTransferLock> <DefaultTransferLockEnableStatus>disable</DefaultTransferLockEnableStatus> <LockStatus>locked</LockStatus> </DefaultTransferLock> </Folder> </List> </FolderList> </FolderListContent> </FolderListResponse>
https://api.dynadot.com/api3.json?key=mykey&command=folder_list
{ "FolderListResponse": { "ResponseCode": 0, "Status": "success", "FolderList": [ { "FolderId": "0", "FolderName": "new", "DefaultWhois": { "DefaultWhoisEnableStatus": "disable", "DefaultRegistrant": { "ContactId": "0" }, "DefaultAdmin": { "ContactId": "0" }, "DefaultTechnical": { "ContactId": "0" }, "DefaultBilling": { "ContactId": "0" } }, "DefaultNameServers": { "DefaultTransferLockEnableStatus": "disable", "NameServerSettings": { "Type": "Dynadot Parking", "WithAds": "Yes" } }, "DefaultRenewOption": { "DefaultRenewOptionEnableStatus": "disable", "RenewOption": "no renew option" }, "DefaultTransferLock": { "DefaultTransferLockEnableStatus": "disable", "LockStatus": "locked" } } ] } }
如添加域名抢购请求命令,则须包括下列参数:
解释
解释
添加域名抢购请求示例
https://api.dynadot.com/api3.xml?key=mykey&command=add_backorder_request&domain=droppingdomain.com,domaindropping.net,domaindrop.org
<AddBackorderRequestResponse> <AddBackorderRequestHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </AddBackorderRequestHeader> </AddBackorderRequestResponse>
https://api.dynadot.com/api3.json?key=mykey&command=add_backorder_request&domain=droppingdomain.com,domaindropping.net,domaindrop.org
{ "AddBackorderRequestResponse":{ "ResponseCode":"0", "Status":"success" } }
如设置删除域名抢购请求命令,则需包含下列参数:
解释
解释
删除域名抢购请求示例
https://api.dynadot.com/api3.xml?key=mykey&command=delete_backorder_request&domain=domaindropp.com
<DeleteBackorderRequestResponse> <DeleteBackorderRequestHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </DeleteBackorderRequestHeader> </DeleteBackorderRequestResponse>
https://api.dynadot.com/api3.json?key=mykey&command=delete_backorder_request&domain=domaindropp.com
{ "DeleteBackorderRequestResponse":{ "ResponseCode":"0", "Status":"success" } }
呼叫域名过期抢注请求清单命令将返回一个指定账户域名过期抢注请求清单;如果呼叫该命令,则需包含以下参数:
解释
解释
域名抢购请求列表示例
http://api.dynadot.com/api3.xml?key=1&command=backorder_request_list&startDate=2015-01-01&endDate=2015-5-20
<?xml version="1.0" encoding="UTF-8"?> <BackorderRequestListResponse> <BackorderRequestListHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </BackorderRequestListHeader> <BackorderRequestListContent> <BackorderRequestList> <BackorderRequest> <DomainName>testdrop.com</DomainName> <CutoffTime>1403914140000</CutoffTime> <BackorderRequestStatus>Active</BackorderRequestStatus> </BackorderRequest> <BackorderRequest> <DomainName>testdrop3.com</DomainName> <CutoffTime>1403914140000</CutoffTime> <BackorderRequestStatus>Active</BackorderRequestStatus> </BackorderRequest> <BackorderRequest> <DomainName>testdrop4.com</DomainName> <CutoffTime>1403914140000</CutoffTime> <BackorderRequestStatus>Active</BackorderRequestStatus> </BackorderRequest> <BackorderRequest> <DomainName>testdrop5.com</DomainName> <CutoffTime>1403914140000</CutoffTime> <BackorderRequestStatus>Active</BackorderRequestStatus> </BackorderRequest> </BackorderRequestList> </BackorderRequestListContent> </BackorderRequestListResponse>
http://api.dynadot.com/api3.html?key=1&command=backorder_request_list&startDate=2015-01-01&endDate=2015-5-20
ok,success,Domain,CutoffTime,BackorderRequestStatus,testdrop.com,1403914140000,Active,testdrop3.com,1403914140000,Active,testdrop4.com,1403914140000,Active,testdrop5.com,1403914140000,Active
http://api.dynadot.com/api3.json?key=1&command=backorder_request_list&startDate=2015-01-01&endDate=2015-5-20
{ "BackorderRequestListResponse": { "ResponseCode": 0, "Status": "success", "BackorderRequestList": [ { "DomainName": "testdrop.com", "CutoffTime": "1403914140000", "BackorderRequestStatus": "Active" }, { "DomainName": "testdrop3.com", "CutoffTime": "1403914140000", "BackorderRequestStatus": "Active" }, { "DomainName": "testdrop4.com", "CutoffTime": "1403914140000", "BackorderRequestStatus": "Active" }, { "DomainName": "testdrop5.com", "CutoffTime": "1403914140000", "BackorderRequestStatus": "Active" } ] } }
呼叫获取公开拍卖命令将返回一个正在处理中的拍卖的清单;如果呼叫此命令,则应包含以下参数:
解释
解释
获取公开拍卖示例
https://api.dynadot.com/api3.xml?key=mykey&command=get_open_auctions¤cy=usd
<GetOpenAuctionsResponse> <GetOpenAuctionsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetOpenAuctionsHeader> <GetOpenAuctionsContent> <Auction> <AuctionId>0</AuctionId> <Domain>domain.com</Domain> <BidPrice>63.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>0</Bids> <EndTime>2015/04/28 05:46 UTC</EndTime> <EndTimestamp>1430199960354</EndTimestamp> <Revenue>72</Revenue> <RevenueCurrency>USD</RevenueCurrency> <Visitors>-1</Visitors> <Links>-1</Links> <Age>1</Age> </Auction> <Auction> <AuctionId>0</AuctionId> <Domain>domain.com</Domain> <BidPrice>63.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>0</Bids> <EndTime>2015/04/28 05:46 UTC</EndTime> <EndTimestamp>1430199960354</EndTimestamp> <Revenue>72</Revenue> <RevenueCurrency>USD</RevenueCurrency> <Visitors>-1</Visitors> <Links>-1</Links> <Age>1</Age> </Auction> . . . </GetOpenAuctionsContent> </GetOpenAuctionsResponse>
https://api.dynadot.com/api3.html?key=mykey&command=get_open_auctions¤cy=usd
ok,
success,
AuctionId,Domain,BidPrice,BidPriceCurrency,Bids,EndTime,EndTimestamp,Revenue,RevenueCurrency,Visitors,Links,Age
10001,domain.com,92.99,USD,0,2015/04/28 18:04 UTC,1430244248274,0.64,USD,-1,-1,1
10002,xn--wkccg.com,77.99,USD,0,2015/05/01 06:04 UTC,1430460248338,86,USD,435,-1,1
10003,domain2.com,11.25,USD,0,2015/05/05 06:04 UTC,1430805846946,91,USD,358,-1,1
.
.
.
https://api.dynadot.com/api3.json?key=mykey&command=get_open_auctions¤cy=usd
{ "status": "success", "auction_list": [ { "auction_id": 11, "domain": "domain.com", "utf_name": "domain.com", "is_idn": false, "auction_type": "expired", "currency": "USD", "current_bid_price": "124.00", "bids": 4, "bidders": 2, "time_left": "1 day, 23 hours", "start_time": "2022/03/28 02:20 PST", "start_time_stamp": 1648459234033, "end_time": "2022/04/04 02:20 PST", "end_time_stamp": 1649064034033, "visitors": 223, "links": "-", "age": 0, "estibot_appraisal": "-" }, { "auction_id": 12, "domain": "domain0.com", "utf_name": "domain0.com", "is_idn": false, "auction_type": "expired", "currency": "USD", "current_bid_price": "44.99", "bids": 1, "bidders": 1, "time_left": "2 days, 23 hours", "start_time": "2022/03/29 02:20 PST", "start_time_stamp": 1648545634049, "end_time": "2022/04/05 02:20 PST", "end_time_stamp": 1649150434049, "visitors": 245, "links": "-", "age": 0, "estibot_appraisal": "-" } ... ] }
Calling the get auction details command will return the details of auction specified. This command is only available in XML and JSON format. If calling this command, the following parameters should be included:
解释
解释
获取拍卖详情示例
https://api.dynadot.com/api3.xml?key=MY_API_KEY&command=get_auction_details&domain=domain0.com¤cy=usd
<?xml version="1.0" encoding="UTF-8"?> <GetAuctionDetailsResponse> <GetAuctionDetailsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetAuctionDetailsHeader> <GetAuctionDetailsContent> <Auction> <AuctionStatusId>0</AuctionStatusId> <AuctionStatus>1</AuctionStatus> <AuctionId>0</AuctionId> <Domain>test.biz</Domain> <BidPrice>46.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>0</Bids> <EndTime>1970/01/01 00:00 UTC</EndTime> <EndTimestamp>0</EndTimestamp> <Revenue>1</Revenue> <RevenueCurrency>USD</RevenueCurrency> <Visitors>-1</Visitors> <Links>1</Links> <Age>10</Age> <isPremium>false</isPremium> <RenewalPrice>-0.1</RenewalPrice> <UserIsHighBid>false</UserIsHighBid> <YourCurrentBid>-1</YourCurrentBid> <YourProxyBid>-1</YourProxyBid> </Auction> </GetAuctionDetailsContent> </GetAuctionDetailsResponse>
https://api.dynadot.com/api3.json?key=MY_API_KEY&command=get_auction_details&domain=domain0.com¤cy=usd
{ "status": "success", "size": 1, "auction_details": [ { "auction_json": { "auction_id": 0, "domain": "test.biz", "utf_name": "test.biz", "is_idn": false, "auction_type": "expired", "current_bid_price": "46.99", "accepted_bid_price": "46.99", "currency": "USD", "is_high_bidder": false, "bids": 0, "bidders": 0, "auction_status_id": 0, "time_left": "1", "start_time": "1", "start_time_stamp": 0, "end_time": "", "end_time_stamp": 0, "revenue": "1", "visitors": -1, "links": "1", "age": 10, "estibot_appraisal": "", "bidder_name": "", "bid_price": "", "timestamp": 0, "bid_status": "", "is_proxy_auto_bid": false, "auction_ended": false, "customer_bided": false, "customer_bid": "1", "customer_proxy_bid": "1", "is_premium": false, "renewal_price": "-0.1" }, "bid_history": [] } ] }
呼叫出价竞标命令将会为指定拍卖出价;若呼叫此命令,则应包含以下参数:
解释
解释
域名例子
https://api.dynadot.com/api3.xml?key=mykey&command=place_auction_bid&domain=example.com&bid_amount=99.9¤cy=usd
<PlaceAuctionBidResponse> <PlaceAuctionBidHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </PlaceAuctionBidHeader> </PlaceAuctionBidResponse>
https://api.dynadot.com/api3.html?key=mykey&command=place_auction_bid&domain=example.com&bid_amount=99.9¤cy=usd
ok,success
https://api.dynadot.com/api3.json?key=mykey&command=place_auction_bid&domain=example.com&bid_amount=99.9¤cy=usd
{ "status": "success", "auction_details": { "auction_json": { "auction_id": 12, "domain": "example.com", "utf_name": "example.com", "is_idn": false, "auction_type": "expired", "current_bid_price": "44.99", "accepted_bid_price": "45.99", "currency": "USD", "is_high_bidder": true, "bids": 3, "bidders": 2, "time_left": "2 days, 22 hours", "start_time": "2022/03/29 02:20 PST", "start_time_stamp": 1648545634049, "end_time": "2022/04/05 02:20 PST", "end_time_stamp": 1649150434049, "revenue": "$26.50", "visitors": 245, "links": "-", "age": 0, "estibot_appraisal": "-", "auction_ended": false, "customer_bided": true, "customer_bid": "44.99", "customer_proxy_bid": "$121.00" }, "bid_history": [ { "bidder_name": "You", "bid_price": "44.99", "currency": "USD", "timestamp": 1648892255084, "bid_status": "High Bidder", "is_proxy_auto_bid": false } ... ] } }
调用获取已关闭竞拍命令将返回指定账户的已关闭竞拍列表。如果调用该命令,应包含以下参数:
解释
解释
获取已关闭拍卖示例
https://api.dynadot.com/api3.xml?key=1&command=get_closed_auctions&startDate=2000-01-02&endDate=2015-5-15
<?xml version="1.0" encoding="UTF-8"?> <GetClosedAuctionsResponse> <GetClosedAuctionsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetClosedAuctionsHeader> <GetClosedAuctionsContent> <Auction> <AuctionId>2</AuctionId> <Domain>testdomain1.test</Domain> <AuctionStatusId>4</AuctionStatusId> <AuctionStatus>Closed by Timeout</AuctionStatus> <BidPrice>89.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>1</Bids> <AuctionWonStatus>won</AuctionWonStatus> <YourHighBid>89.99</YourHighBid> <YourProxyBid>1000.0</YourProxyBid> </Auction> <Auction> <AuctionId>3</AuctionId> <Domain>testdomain2.test</Domain> <AuctionStatusId>4</AuctionStatusId> <AuctionStatus>Closed by Timeout</AuctionStatus> <BidPrice>28.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>1</Bids> <AuctionWonStatus>won</AuctionWonStatus> <YourHighBid>28.99</YourHighBid> <YourProxyBid>1000.0</YourProxyBid> </Auction> </GetClosedAuctionsContent> </GetClosedAuctionsResponse>
https://api.dynadot.com/api3.html?key=1&command=get_closed_auctions&startDate=2000-01-02&endDate=2015-5-15
ok,success,AuctionId,Domain,AuctionStatusId,AuctionStatus,BidPrice,BidPriceCurrency,Bids,AuctionWonStatus,YourHighBid,YourProxyBid,2,testdomain1.test,4,Closed by Timeout,89.99,USD,1,won,89.99,1000.0,3,testdomain2.test,4,Closed by Timeout,28.99,USD,1,won,28.99,1000.0
https://api.dynadot.com/api3.json?key=1&command=get_closed_auctions&startDate=2000-01-02&endDate=2015-5-15
{ "GetClosedAuctionsResponse": { "ResponseCode": 0, "Status": "success", "Auctions": [ { "AuctionId": "2", "Domain": "testdomain1.test", "AuctionStatusId": "4", "AuctionStatus": "Closed by Timeout", "BidPrice": "89.99", "BidPriceCurrency": "USD", "Bids": "1", "AuctionWonStatus": "won", "YourHighBid": "89.99", "YourProxyBid": "1000.0" }, { "AuctionId": "3", "Domain": "testdomain2.test", "AuctionStatusId": "4", "AuctionStatus": "Closed by Timeout", "BidPrice": "28.99", "BidPriceCurrency": "USD", "Bids": "1", "AuctionWonStatus": "won", "YourHighBid": "28.99", "YourProxyBid": "1000.0" } ] } }
获取开放过期域名竞拍命令(Deprecated,please use get_open_auctions command)
调用获取开放过期域名竞拍命令将返回正在进行中的过期域名竞拍列表。如果调用此命令,应包含以下参数:
解释
解释
获取开放过期竞拍域名例子
https://api.dynadot.com/api3.xml?key=mykey&command=get_open_backorder_auctions¤cy=usd
<GetOpenBackorderAuctionsResponse> <GetOpenBackorderAuctionsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetOpenBackorderAuctionsHeader> <GetOpenBackorderAuctionsContent> <Auction> <AuctionId>0</AuctionId> <Domain>domain.com</Domain> <BidPrice>63.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>0</Bids> <EndTime>2015/04/28 05:46 UTC</EndTime> <EndTimestamp>1430199960354</EndTimestamp> </Auction> <Auction> <AuctionId>0</AuctionId> <Domain>domain.com</Domain> <BidPrice>63.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>0</Bids> <EndTime>2015/04/28 05:46 UTC</EndTime> <EndTimestamp>1430199960354</EndTimestamp> </Auction> . . . </GetOpenBackorderAuctionsContent> </GetOpenBackorderAuctionsResponse>
https://api.dynadot.com/api3.html?key=mykey&command=get_open_backorder_auctions¤cy=usd
ok,
success,
AuctionId,Domain,BidPrice,BidPriceCurrency,Bids,EndTime,EndTimestamp
10000,backorder0.com,6.35,USD,0,2017/08/29 17:53 UTC,1504029194453
10001,backorder1.com,1.0,USD,0,2017/08/29 17:53 UTC,1504029194453
10002,backorder2.com,1.0,USD,0,2017/08/29 17:53 UTC,1504029194453
.
.
.
Calling the get backorder auction details command will return the details of auction specified. This command is only available in XML and JSON format. If calling this command, the following parameters should be included:
解释
解释
获取过期域名详情例子
https://api.dynadot.com/api3.xml?key=mykey&command=get_backorder_auction_details&domain=example.com¤cy=usd
<?xml version="1.0" encoding="UTF-8"?> <GetBackorderAuctionDetailsResponse> <GetBackorderAuctionDetailsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetBackorderAuctionDetailsHeader> <GetBackorderAuctionDetailsContent> <AuctionStatusId>0</AuctionStatusId> <AuctionStatus>In Progress</AuctionStatus> <UserIsHighBid>no</UserIsHighBid> <YourCurrentBid>-1</YourCurrentBid> <YourProxyBid>-1</YourProxyBid> <Auction> <AuctionId>10001</AuctionId> <Domain>example.com</Domain> <BidPrice>89.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>0</Bids> <EndTime>2015/04/28 18:16 UTC</EndTime> <EndTimestamp>1430244969779</EndTimestamp> </Auction> </GetBackorderAuctionDetailsContent> </GetBackorderAuctionDetailsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=get_backorder_auction_details&domain=example.com¤cy=usd
{ "GetBackorderAuctionDetailsResponse": { "ResponseCode": 0, "Status": "success", "GetBackorderAuctionDetails": { "AuctionStatusId": "0", "AuctionStatus": "In Progress", "UserIsHighBid": "no", "YourCurrentBid": "-1", "YourProxyBid": "-1", "Auction": { "AuctionId": "10001", "Domain": "example.com", "BidPrice": "89.99", "BidPriceCurrency": "USD", "Bids": "0", "EndTime": "2015/04/28 18:16 UTC", "EndTimestamp": "1430244969779" } } } }
调用过期域名竞拍出价命令将对指定的过期域名竞拍进行报价。如果调用该命令,应包含以下参数:
解释
解释
进行过期域名拍卖出价例子
https://api.dynadot.com/api3.xml?key=mykey&command=place_backorder_auction_bid&domain=example.com&bid_amount=99.9¤cy=usd
<PlaceBakcorderAuctionBidResponse> <PlaceBackorderAuctionBidHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </PlaceBackorderAuctionBidHeader> </PlaceBakcorderAuctionBidResponse>
https://api.dynadot.com/api3.html?key=mykey&command=place_backorder_auction_bid&domain=example.com&bid_amount=99.9¤cy=usd
ok,success
https://api.dynadot.com/api3.json?key=mykey&command=place_backorder_auction_bid&domain=example.com&bid_amount=99.9¤cy=usd
{ "PlaceBakcorderAuctionBidResponse":{ "ResponseCode":"0", "Status":"success" } }
调用获取已关闭过期域名命令将返回指定账户的已关闭过期域名竞拍列表。如果调用该命令,应包含以下参数:
解释
解释
Get Closed Backorder Auctions Example
https://api.dynadot.com/api3.xml?key=1&command=get_closed_backorder_auctions&startDate=2000-01-02&endDate=2015-5-15
<?xml version="1.0" encoding="UTF-8"?> <GetClosedBackorderAuctionsResponse> <GetClosedBackorderAuctionsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetClosedBackorderAuctionsHeader> <GetClosedBackorderAuctionsContent> <Auction> <AuctionWonStatus>won</AuctionWonStatus> <YourHighBid>89.99</YourHighBid> <YourProxyBid>1000.0</YourProxyBid> <AuctionId>2</AuctionId> <Domain>testdomain1.test</Domain> <BidPrice>89.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>1</Bids> <EndTime>2022/04/04 02:20:34 PST</EndTime> <EndTimestamp>1649064034033</EndTimestamp> </Auction> <Auction> <AuctionWonStatus>won</AuctionWonStatus> <YourHighBid>28.99</YourHighBid> <YourProxyBid>1000.0</YourProxyBid> <AuctionId>3</AuctionId> <Domain>testdomain2.test</Domain> <BidPrice>28.99</BidPrice> <BidPriceCurrency>USD</BidPriceCurrency> <Bids>1</Bids> <EndTime>2022/04/05 02:20:34 PST</EndTime> <EndTimestamp>1649150434049</EndTimestamp> </Auction> </GetClosedBackorderAuctionsContent> </GetClosedBackorderAuctionsResponse>
https://api.dynadot.com/api3.html?key=1&command=get_closed_backorder_auctions&startDate=2000-01-02&endDate=2015-5-15
ok,success,AuctionId,Domain,AuctionStatusId,AuctionStatus,BidPrice,BidPriceCurrency,Bids,AuctionWonStatus,YourHighBid,YourProxyBid,2,testdomain1.test,4,Closed by Timeout,89.99,USD,1,won,89.99,1000.0,3,testdomain2.test,4,Closed by Timeout,28.99,USD,1,won,28.99,1000.0
https://api.dynadot.com/api3.json?key=1&command=get_closed_backorder_auctions&startDate=2000-01-02&endDate=2015-5-15
{ "GetClosedBackorderAuctionsResponse": { "ResponseCode": 0, "Status": "success", "Auctions": [ { "AuctionWonStatus": "won", "YourHighBid": "89.99", "YourProxyBid": "1000.0", "AuctionId": "2", "Domain": "testdomain1.test", "BidPrice": "89.99", "BidPriceCurrency": "USD", "Bids": "1", "EndTime": "2022/04/04 02:20:34 PST", "EndTimestamp": "1649064034033" }, { "AuctionWonStatus": "won", "YourHighBid": "28.99", "YourProxyBid": "1000.0", "AuctionId": "3", "Domain": "testdomain2.test", "BidPrice": "28.99", "BidPriceCurrency": "USD", "Bids": "1", "EndTime": "2022/04/05 02:20:34 PST", "EndTimestamp": "1649150434049" } ] } }
Calling the get auction bids command will get your bids list which you took part in. If calling this command, the following parameters should be included:
解释
解释
获取竞拍出价(Get Auction Bids)示例
https://api.dynadot.com/api3.xml?key=mykey&command=get_auction_bids&currency=usd
<GetAuctionBidsResponse> <GetAuctionBidsHeader> <SuccessCode>0</SuccessCode> <Status>success</Status> </GetAuctionBidsHeader> <GetAuctionBidsContent> <BidList> <Bid> <BidId>0</BidId> <AuctionId>11</AuctionId> <AccountId>1</AccountId> <Domain>domain.com</Domain> <DomainUtf>domain.com</DomainUtf> <AuctionType>expired</AuctionType> <IsIdn>false</IsIdn> <CurrentBid>$124.00</CurrentBid> <YourStatus>Out Bid</YourStatus> <ProxyBid>$119.00</ProxyBid> <ActiveBidders>2</ActiveBidders> <TimeLeft>1 day, 6 hours</TimeLeft> <EndTime>2022/04/04 02:20:34 PST</EndTime> <EndTimestamp>1649064034033</EndTimestamp> </Bid> <Bid> <BidId>9</BidId> <AuctionId>12</AuctionId> <AccountId>1</AccountId> <Domain>domain0.com</Domain> <DomainUtf>domain0.com</DomainUtf> <AuctionType>expired</AuctionType> <IsIdn>false</IsIdn> <CurrentBid>$44.99</CurrentBid> <YourStatus>High Bidder</YourStatus> <ProxyBid>$121.00</ProxyBid> <ActiveBidders>1</ActiveBidders> <TimeLeft>2 days, 6 hours</TimeLeft> <EndTime>2022/04/05 02:20:34 PST</EndTime> <EndTimestamp>1649150434049</EndTimestamp> </Bid> </BidList> </GetAuctionBidsContent> </GetAuctionBidsResponse>
https://api.dynadot.com/api3.json?key=mykey&command=get_auction_bids&currency=usd
{ "status": "success", "auction_bids": [ { "bid_id": 0, "auction_id": 11, "account_id": "1", "domain": "domain.com", "domain_utf": "domain.com", "auction_type": "expired", "is_idn": false, "current_bid": "$44.99", "your_status": "High Bidder", "proxy_bid": "$119.00", "active_bidders": 1, "time_left": "1 day, 23 hours", "end_time": "2022/04/04 02:20:34 PST", "end_time_stamp": 1649064034033 }, { "bid_id": 2, "auction_id": 12, "account_id": "1", "domain": "domain0.com", "domain_utf": "domain0.com", "auction_type": "expired", "is_idn": false, "current_bid": "$44.99", "your_status": "High Bidder", "proxy_bid": "$119.00", "active_bidders": 1, "time_left": "2 days, 23 hours", "end_time": "2022/04/05 02:20:34 PST", "end_time_stamp": 1649150434049 } ... ] }
呼叫is_processing可让您知晓提交一个新请求是否安全
解释
解释
Is_Processing示例
https://api.dynadot.com/api3.xml?key=mykey&command=is_processing
<Response> <ResponseHeader> <ResponseCode>0</ResponseCode> <ResponseMsg>yes</ResponseMsg> </ResponseHeader> </Response>
http://api.dynadot.com/api3.html?key=mykey&command=is_processing
ok,yes
http://api.dynadot.com/api3.html?key=mykey&command=is_processing
{ "Response":{ "ResponseCode":"0", "ResponseMsg":"no" } }
Get Expired Closeout Domains Command
Calling the Get Expired Closeout Domains Command will Get Expired Closeout Domains. This command is only available in XML and JSON format. If calling this command, the following parameters should be included:
解释
解释
Get Expired Closeout Domains Example
https://api.dynadot.com/api3.xml?key=MY_API_KEY&command=get_expired_closeout_domains¤cy=usd
<?xml version="1.0" encoding="UTF-8"?> <GetExpiredCloseoutDomainsResponse> <GetExpiredCloseoutDomainsHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </GetExpiredCloseoutDomainsHeader> <GetExpiredCloseoutDomainsContent> <CloseoutItem> <DomainName>test.biz</DomainName> <DomainNameUtf>test.biz</DomainNameUtf> <CurrentPrice>9.91</CurrentPrice> <IsIDN>false</IsIDN> <EndTimeStamp>0</EndTimeStamp> <RenewalPrice>9.99</RenewalPrice> <ExpiredRevenue>9.90</ExpiredRevenue> <EstibotAppraisal>1223</EstibotAppraisal> <InboundLinks>-1</InboundLinks> <MonthlyVisitors>-1</MonthlyVisitors> <Currency>usd</Currency> </CloseoutItem> </GetExpiredCloseoutDomainsContent> </GetExpiredCloseoutDomainsResponse>
https://api.dynadot.com/api3.json?key=MY_API_KEY&command=get_expired_closeout_domains¤cy=usd
{ "GetExpiredCloseoutDomainsResponse": { "ResponseCode": 0, "Status": "success", "Size": 1, "CloseoutDomains": [ { "closeoutItem": { "domainName": "test.biz", "domainNameUtf": "test.biz", "currentPrice": "9.91", "isIdn": false, "endTimeStamp": 0, "renewalPrice": "9.99", "expiredRevenue": "9.90", "estibotAppraisal": "1223", "inboundLinks": -1, "monthlyVisitors": -1, "currency": "usd" } } ] } }
Buy Expired Closeout Domain Command
Calling the Buy Expired Closeout Domain Command will buy the specified domain name. This command is only available in XML and JSON format. If calling this command, the following parameters should be included:
解释
解释
Buy Expired Closeout Domain Example
http://127.0.0.1:8889/api3.xml?key=0&command=buy_expired_closeout_domain¤cy=USD&domain=domain-exp141.org.ph
<?xml version="1.0" encoding="UTF-8"?> <BuyExpiredCloseoutDomainResponse> <BuyExpiredCloseoutDomainHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </BuyExpiredCloseoutDomainHeader> </BuyExpiredCloseoutDomainResponse>
http://127.0.0.1:8889/api3.json?key=0&command=buy_expired_closeout_domain¤cy=USD&domain=domain-exp141.org.ph
{ "BuyExpiredCloseoutDomainResponse": { "ResponseCode": "0", "Status": "success" } }
Calling the Get Order Status Command will get order status. This command is only available in XML and JSON format. If calling this command, the following parameters should be included:
解释
解释
Get Order Status Example
http://127.0.0.1:8889/api3.xml?key=0&command=get_ordedr_status&order_id=0
<?xml version="1.0" encoding="UTF-8"?> <GetOrderStatusResponse> <GetOrderStatusHeader> <ResponseCode>0</ResponseCode> <Status>success</Status> </GetOrderStatusHeader> <GetOrderStatusContent> <OrderId>0</OrderId> <OrderStatus>Completed</OrderStatus> <Item> <ItemTypeName>domain transfer away</ItemTypeName> <ItemName>&</ItemName> <ItemStatus>transfer.com</ItemStatus> </Item> <Item> <ItemTypeName>domain</ItemTypeName> <ItemName>&</ItemName> <ItemStatus>register.com</ItemStatus> </Item> </GetOrderStatusContent> </GetOrderStatusResponse>
http://127.0.0.1:8889/api3.json?key=0&command=get_ordedr_status&order_id=0
{ "GetOrderStatusResponse": { "ResponseCode": 0, "Status": "success", "OrderStatus": { "OrderId": 0, "OrderStatus": "Completed", "ItemList": [ { "ItemTypeName": "domain transfer away", "ItemName": "transfer.com", "ItemStatus": "Completed" }, { "ItemTypeName": "domain", "ItemName": "register.com", "ItemStatus": "Completed" } ] } } }









