---
title: How do I use the OpusDNS sandbox to test the API?
description: Create a free OpusDNS sandbox account, generate a test API key and send requests to the sandbox base URL to try domain actions without touching production.
---

[Skip to content](https://help.opusdns.com/how-can-i-use-the-opusdns-sandbox-for-api-testing#main-content)

- [English](https://help.opusdns.com/how-can-i-use-the-opusdns-sandbox-for-api-testing)
- [Deutsch](https://help.opusdns.com/de/how-can-i-use-the-opusdns-sandbox-for-api-testing)

English

Show submenu for translations

[![opusdns.com](https://help.opusdns.com/hs-fs/hubfs/v2-Status%20Center.png?width=180&height=51&name=v2-Status%20Center.png)](https://help.opusdns.com/?hsLang=en)

Open main navigation

Close main navigation

- - [English](https://help.opusdns.com/how-can-i-use-the-opusdns-sandbox-for-api-testing)
    - [Deutsch](https://help.opusdns.com/de/how-can-i-use-the-opusdns-sandbox-for-api-testing)

  English
  
  Show submenu for translations
- [Submit Ticket](https://support.opusdns.com/)

[Submit Ticket](https://support.opusdns.com/?hsLang=en)

 How can we help?

- There are no suggestions because the search field is empty.

1. [OpusDNS Knowledgebase](https://help.opusdns.com/?hsLang=en)
2. [OpusDNS API](https://help.opusdns.com/opusdns-api?hsLang=en)
3. [Sandbox Environment](https://help.opusdns.com/opusdns-api?hsLang=en#sandbox-environment)

November 16, 2026

# How do I use the OpusDNS sandbox to test the API?

## Using the OpusDNS Sandbox for API Testing

The OpusDNS Sandbox is a completely separate environment where you can test our API and dashboard at no cost and without risk. ([Learn more](https://help.opusdns.com/what-is-the-opusdns-sandbox-environment-and-why-should-i-use-it?hsLang=en))

 

#### **1. Create a sandbox account**

Sandbox accounts are separate from production. Your OpusDNS login doesn't work in the sandbox, and nothing is synced between the two.

- **You already have an OpusDNS account:** go to **Developer \> Overview** and click **Create sandbox account**. The sandbox signup form opens prefilled with your name, contact and organization details. You only choose a password and accept the terms.
- **You don't have an account yet:** sign up at [app.sandbox.opusdns.com/signup](https://app.sandbox.opusdns.com/signup).

After that you sign in at [app.sandbox.opusdns.com](https://app.sandbox.opusdns.com) with your sandbox credentials. From production you can also go to **Developer \> Overview** and click **Log in to sandbox**.

 

#### **2. Create a sandbox API key**

In the sandbox dashboard, go to **Developer \> API Credentials** and create an API key. See [How do I generate an API key for the sandbox?](https://help.opusdns.com/how-do-i-generate-an-api-key-for-the-sandbox?hsLang=en) Sandbox keys work only in the sandbox.

 

#### **3. Send requests to the sandbox**

Production and sandbox use the same API code, but different base URLs. For the sandbox, use:

```
https://sandbox.opusdns.com
```

Send your sandbox API key in the `X-Api-Key` header, for example:

```
curl https://sandbox.opusdns.com/v1/domains --header "X-Api-Key: YOUR_SANDBOX_API_KEY"
```

In the API reference at [developers.opusdns.com](https://developers.opusdns.com/api-reference), select this URL as the server. The section [Sandbox Environment](https://developers.opusdns.com/api-reference#description/sandbox-environment) describes the sandbox. The results of your requests appear in your sandbox dashboard.

 

#### **Good to know**

- Registrations in the sandbox are simulated. No real domains are created.
- The sandbox uses its own nameservers: `ns1.sandbox.opusdns.com` and `ns2.sandbox.opusdns.com`. Production and sandbox nameservers are not interchangeable.
- AI assistants connect to the sandbox through the MCP endpoint `https://sandbox.opusdns.com/mcp`, with a separate sign-in.

**Note:** Production and sandbox look almost the same. Before every action, check which system you are working in. When you use the API, check the base URL of your requests.

[![Banner Risk-free testing in our Sandbox with the button Try the Sandbox Free](https://help.opusdns.com/hs-fs/hubfs/Knowledge%20Banner_%20Sandbox%20Dark.jpg?width=670&height=174&name=Knowledge%20Banner_%20Sandbox%20Dark.jpg)](https://app.sandbox.opusdns.com/signup?utm_source=knowledgebase&utm_medium=referral&utm_campaign=signup&utm_content=cta_banner)

- [Create your OpusDNS account](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#main-content)

    - [Open Your Account](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#open-your-account)
    - [FAQ](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#faq)
    - [Getting Help with your Registration](https://help.opusdns.com/create-your-opusdns-account?hsLang=en#getting-help-with-your-registration)
- [OpusDNS API](https://help.opusdns.com/opusdns-api?hsLang=en#main-content)

    - [Getting Started with the API](https://help.opusdns.com/opusdns-api?hsLang=en#getting-started-with-the-api)
    - [Sandbox Environment](https://help.opusdns.com/opusdns-api?hsLang=en#sandbox-environment)
    - [OpusDNS MCP Server](https://help.opusdns.com/opusdns-api?hsLang=en#opusdns-mcp-server)
    - [FAQ](https://help.opusdns.com/opusdns-api?hsLang=en#faq)
    - [Getting Help with the OpusDNS API](https://help.opusdns.com/opusdns-api?hsLang=en#getting-help-with-the-opusdns-api)
- [OpusDNS Dashboard](https://help.opusdns.com/opusdns-dashboard?hsLang=en#main-content)

    - [Getting Started](https://help.opusdns.com/opusdns-dashboard?hsLang=en#getting-started)
    - [Plans & Pricing](https://help.opusdns.com/opusdns-dashboard?hsLang=en#plans-pricing)
    - [Billing & Payments](https://help.opusdns.com/opusdns-dashboard?hsLang=en#billing-payments)
    - [User & Organization Management](https://help.opusdns.com/opusdns-dashboard?hsLang=en#user-organization-management)
    - [Whitelabeling](https://help.opusdns.com/opusdns-dashboard?hsLang=en#whitelabeling)
    - [Account & Settings](https://help.opusdns.com/opusdns-dashboard?hsLang=en#account-settings)
    - [Security](https://help.opusdns.com/opusdns-dashboard?hsLang=en#security)
    - [AI Concierge](https://help.opusdns.com/opusdns-dashboard?hsLang=en#ai-concierge)
    - [Managing Contacts](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-contacts)
    - [Managing DNS Zones & Nameservers](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-dns-zones-nameservers)
    - [Register & Transfer Domains](https://help.opusdns.com/opusdns-dashboard?hsLang=en#register-transfer-domains)
    - [Managing Domains](https://help.opusdns.com/opusdns-dashboard?hsLang=en#managing-domains)
    - [Bulk Jobs](https://help.opusdns.com/opusdns-dashboard?hsLang=en#bulk-jobs)
    - [Developer Area](https://help.opusdns.com/opusdns-dashboard?hsLang=en#developer-area)
    - [Dashboard Functionality](https://help.opusdns.com/opusdns-dashboard?hsLang=en#dashboard-functionality)
    - [Dashboard home page](https://help.opusdns.com/opusdns-dashboard?hsLang=en#dashboard-home-page)
- [Services & Features](https://help.opusdns.com/services-features?hsLang=en#main-content)

    - [Domain forwarding](https://help.opusdns.com/services-features?hsLang=en#domain-forwarding)
    - [Email forwarding](https://help.opusdns.com/services-features?hsLang=en#email-forwarding)
    - [Reports](https://help.opusdns.com/services-features?hsLang=en#reports)
    - [Domain parking](https://help.opusdns.com/services-features?hsLang=en#domain-parking)
    - [WHMCS Integration](https://help.opusdns.com/services-features?hsLang=en#whmcs-integration)
    - [Hostware Integration](https://help.opusdns.com/services-features?hsLang=en#hostware-integration)
    - [Terraform Integration](https://help.opusdns.com/services-features?hsLang=en#terraform-integration)
    - [GO Integration](https://help.opusdns.com/services-features?hsLang=en#go-integration)
    - [Certificate Management with ACME and OpusDNS](https://help.opusdns.com/services-features?hsLang=en#certificate-management-with-acme-and-opusdns)
- [New to the Domain Industry?](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#main-content)

    - [Everything about Domains](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#everything-about-domains)
    - [Domain Industry](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#domain-industry)
    - [Reseller Essentials](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#reseller-essentials)

- [OpusDNS Homepage](https://www.opusdns.com/)
- [Legal Notice](https://www.opusdns.com/legal/notice-impressum)
- [Privacy Policy](https://www.opusdns.com/legal/privacy-policy)
- [Terms & Conditions](https://www.opusdns.com/legal/terms-conditions)

[![OpusDNS Homepage](https://help.opusdns.com/hubfs/6722ae7333e645c8919a4751_opusDNS-VT-3c-white-tagline.svg "OpusDNS Homepage")](https://www.opusdns.com/)

©2025 OpusDNS GmbH. All rights reserved.

<https://www.linkedin.com/company/opusdns/>

![icann](https://help.opusdns.com/hubfs/icann.svg).