# deSEC DNS API

Category: [Hosting and storage](https://free-web-services.com/web-services/web-development/hosting/)  
Page: https://free-web-services.com/web-services/web-development/hosting/desec-dns-api.html  
Documentation: https://desec.readthedocs.io/en/latest/

deSEC is a DNS hosting service with a REST API to create domains and manage their records, with DNSSEC signing built in. It also offers dynamic DNS, including one free name under dedyn.io per account, and works with ACME clients for TLS certificates. Requests and answers are JSON, with a token in the Authorization header. Free DNS hosting with a free account and API token, within rate limits and a per-account domain limit.

- API key: Needed, free
- Pricing: Free DNS hosting with a free account and API token, within rate limits and a per-account domain limit.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: desec.readthedocs.io

Example request:

```sh
curl 'https://desec.io/api/v1/domains/' \
  -H 'Authorization: Token YOUR_API_KEY'
```

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

