NextDNS
DNS profiles, blocklists, analytics and logs
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- Sign in at my.nextdns.io.
- Open “Account” (my.nextdns.io/account) and scroll to the bottom of the page, to the “API” section.
- Copy the API key. It covers the whole account: it gives access to all profiles.
Tools (1)
NextDNS API request
NEXTDNS_SEND_REQUESTAuthenticated call to the NextDNS API (https://api.nextdns.io). Any endpoint of the API is allowed. Examples: GET /profiles, GET /profiles/{id}, GET /profiles/{id}/analytics/status, GET /profiles/{id}/analytics/domains?limit=10, GET /profiles/{id}/logs?limit=50, GET /profiles/{id}/denylist, POST /profiles/{id}/denylist {"id": "example.com", "active": true}.
Required scopes
No scopes required
Input
NextDNS API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

