Integration should never happen on a live system. The OpusDNS Sandbox provides domainers, developers, and hosting providers the freedom to build automated workflows and test complex operations without any financial risk or technical side effects.
The best part? It’s completely free. We provide the infrastructure; you provide the innovation.

1response = requests.post('https://sandbox.opusdns.com/v1/domains',
2 headers={
3 'Content-Type': 'application/json',
4 'X-API-Key': 'opk_YOUR_API_KEY'
5 },
6 json={
7 'name': 'example.com',
8 'contacts': {
9 'registrant': 'contact_YOUR_CONTACT_ID',
10 'admin': 'contact_YOUR_CONTACT_ID',
11 'tech': 'contact_YOUR_CONTACT_ID',
12 'billing': 'contact_YOUR_CONTACT_ID'
13 },
14 'renewal_mode': 'renew',
15 'period': {
16 'value': 1,
17 'unit': 'y'
18 },
19 'nameservers': [
20 {'hostname': 'ns1.opusdns.com'},
21 {'hostname': 'ns2.opusdns.net'}
22 ],
23 'create_zone': True
24 }
25)1response = requests.post('https://api.opusdns.com/v1/domains',
2 headers={
3 'Content-Type': 'application/json',
4 'X-API-Key': 'opk_YOUR_API_KEY'
5 },
6 json={
7 'name': 'example.com',
8 'contacts': {
9 'registrant': 'contact_YOUR_CONTACT_ID',
10 'admin': 'contact_YOUR_CONTACT_ID',
11 'tech': 'contact_YOUR_CONTACT_ID',
12 'billing': 'contact_YOUR_CONTACT_ID'
13 },
14 'renewal_mode': 'renew',
15 'period': {
16 'value': 1,
17 'unit': 'y'
18 },
19 'nameservers': [
20 {'hostname': 'ns1.opusdns.com'},
21 {'hostname': 'ns2.opusdns.net'}
22 ],
23 'create_zone': True
24 }
25)