Skip to main content Skip to search

An API to power your network

Customize, integrate, and automate network services with the best API of any authoritative DNS provider

“API first” isn’t just a slogan at NS1. Every line of our code starts life as an API. NS1’s API isn’t limited by connections to legacy architectures - it is our architecture

An API that's comprehensive, flexible, and easy to use

One API, all of NS1

Our entire solution is served by one API, so you can manage every part of your network infrastructure using the same set of commands, even as you scale

Placeholder 19

Developer experience

DevOps teams expect an API that matches their velocity. We put a lot of effort into documenting our API, so even the most complex API-related tasks are simple to implement

Placeholder 9


NS1’s REST API uses simple key/header-based authentication. Make API calls easily from any language or even the shell

Placeholder 17

Explore the NS1 API in more detail

View full documentation on the NS1 API, API examples, and client libraries

Features of the NS1 API

Our API isn’t just window dressing - the majority of NS1 customers actively use it to integrate network services into their network ecosystem

Speedy automatic propagation

NS1’s global network propagates changes through our API in seconds, eliminating the risk of broken applications and user experiences

Capacity for days

On an average day, NS1 handles between two and four million API calls. We’ve seen individual customers make 2.5m DNS changes through our API on high traffic days, which we handle with plenty of capacity to spare

API-based traffic steering

With NS1, you can route DNS traffic by plugging data feeds into our API - a more flexible, programmable option than using the DNS protocol itself

Terraform and OctoDNS integration

NS1’s integrations with Terraform and OctoDNS are an extension of our API, making it easy to extend the benefits of automation across your network

What you can do with the NS1 API

Request a Demo

Contact Us

Looking for help? Please email [email protected]

Get Pricing

Learn More About our Partner Program