---
title: What is an API?
description: Learn what an API (application programming interface) is, how requests and endpoints work, which API types exist and how to get started with an API key.
---

[Skip to content](https://help.opusdns.com/what-is-an-api#main-content)

- [English](https://help.opusdns.com/what-is-an-api)
- [Deutsch](https://help.opusdns.com/de/was-ist-eine-api)

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/what-is-an-api)
    - [Deutsch](https://help.opusdns.com/de/was-ist-eine-api)

  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. [New to the Domain Industry?](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en)
3. [Reseller Essentials](https://help.opusdns.com/new-to-the-domain-industry?hsLang=en#reseller-essentials)

November 16, 2026

# What is an API?

## Endpoints, requests, API keys and the main API types in plain words

An API (Application Programming Interface) is a set of rules that lets software applications communicate with each other. One system sends a request to the API of another system and receives a response, without needing to know how the other system works internally. You can think of an API as a contract between two systems: it defines which requests are possible and what the answers look like.

 

### How an API works

A client, for example an app or a script, sends a request to an API endpoint. For web APIs, the request usually contains:

- an HTTP method, for example `GET` (read), `POST` (create), `PUT` or `PATCH` (change) and `DELETE` (remove),
- the address of the resource,
- parameters or data, and credentials such as an API key.

The API processes the request and sends back a response, usually in JSON format. Example: a weather app on your phone asks a weather service's API for the current weather and displays the data it receives.

 

### What is an API endpoint?

An endpoint is a specific URL of an API that a client calls to use a certain function, for example to read data, change a record or delete an entry. A weather service could, for example, offer the endpoint `https://api.example.com/v1/current` for the current weather; `/v1/current` is the path of this endpoint.

 

### Types of APIs

- **Web APIs:** communicate over the internet, for example REST or SOAP APIs. They connect web services and applications.
- **Library APIs:** functions that a programming library provides to developers.
- **Operating system APIs:** let applications use the operating system, for example for files, system resources and hardware.
- **Database APIs:** send queries to a database to read, change or delete data.

 

### Why APIs are important

- **Efficiency:** Developers use existing services instead of building everything themselves.
- **Integrations:** Applications connect to payment providers, analytics tools or, in the domain business, to a registrar.
- **Automation:** Repetitive tasks run without manual work, for example registering many domains or updating DNS records.
- **Real-time data:** Applications always work with current data.

 

### How to use an API

1. **Read the documentation:** It describes the endpoints, parameters and responses.
2. **Get credentials:** Most APIs require an API key or similar credentials.
3. **Send requests:** Call the endpoints with the right HTTP method.
4. **Process the responses:** Read the data or the error message and react to it. See [What are API Responses and JSON?](https://help.opusdns.com/what-are-api-responses-and-json?hsLang=en)

 

### The OpusDNS API

With the OpusDNS API you manage domains, DNS zones, contacts and more from your own software.

- **Production:** `https://api.opusdns.com`
- **Sandbox for tests:** `https://sandbox.opusdns.com`
- **Credentials:** Create an API key in the dashboard under **Developer \> API Credentials**. See [How do I generate an API key to use the OpusDNS API?](https://help.opusdns.com/how-do-i-generate-an-api-key-to-use-the-opusdns-api?hsLang=en)
- **Documentation:** [developers.opusdns.com](https://developers.opusdns.com), with an API reference and a quickstart. See also [Where can I find the OpusDNS API reference / documentation?](https://help.opusdns.com/where-can-i-find-the-opusdns-api-reference-and-example-requests?hsLang=en)
- **SDKs:** Official clients for Go and PHP. See [Where can I find OpusDNS SDKs and other projects?](https://help.opusdns.com/where-can-i-find-opusdns-sdks-and-other-projects?hsLang=en)

A simple request that lists the domains of your account in the sandbox:

```
curl "https://sandbox.opusdns.com/v1/domains?page=1&page_size=10" \
  --header "X-Api-Key: YOUR_API_KEY"
```

We recommend testing new integrations in the sandbox first: [What is the OpusDNS Sandbox environment, and why should I use it?](https://help.opusdns.com/what-is-the-opusdns-sandbox-environment-and-why-should-i-use-it?hsLang=en) To use the API with AI assistants, see [What is the OpusDNS MCP Server and what can I use it for?](https://help.opusdns.com/what-is-the-opusdns-mcp-server-and-what-can-i-use-it-forwhat-is-the-opusdns-mcp-server-and-what-can-i-use-it-for?hsLang=en)

- [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).