The Things Network / The Things Stack Ns API

The Ns API from The Things Network / The Things Stack — 4 operation(s) for ns.

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /ns/default_mac_settings/{frequency_plan_id}/{lorawan_phy_version} Get default MAC settings for a frequency plan · GetDefaultMACSettings retrieves the default MAC settings for a frequency plan #
Ask an LLM
“What default MAC settings does the Network Server use for a frequency plan?”
“Do the defaults change with the LoRaWAN PHY version?”
Tell an agent
Get the default MAC settings for frequency plan {frequency_plan_id} on PHY version {lorawan_phy_version}.
Show MAC defaults for {frequency_plan_id} with {lorawan_phy_version}.
GET /ns/dev_addr Request a device address from the Network Server · GenerateDevAddr requests a device address assignment from the Network Server #
Ask an LLM
“How do I get a DevAddr assigned for an ABP device?”
“Can the Network Server hand me a new device address?”
Tell an agent
Generate a new DevAddr.
Request a device address assignment from the Network Server.
GET /ns/dev_addr_prefixes List the Network Server's DevAddr prefixes · Ns get device address prefixes #
Ask an LLM
“Which DevAddr prefixes is this Network Server configured to use?”
“What address ranges will device addresses be allocated from?”
Tell an agent
List the device address prefixes.
Show the DevAddr prefixes this network uses.
GET /ns/net_id Get the Network Server's NetID · Ns get net ID #
Ask an LLM
“What NetID is this Network Server operating under?”
“Can I look up the LoRaWAN network identifier of the server?”
Tell an agent
Get the NetID.
Show which NetID the Network Server has.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/the-things-network:the-things-network-ns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

the-things-network-ns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Things Stack — Network Server Ns API
  version: v3.36
  description: The Things Stack is an open-source LoRaWAN Network Server implementation. This OpenAPI was derived from the upstream gRPC-Gateway generated api.swagger.json published by TheThingsNetwork/lorawan-stack v3.36.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  contact:
    name: The Things Industries
    url: https://www.thethingsindustries.com
servers:
- url: https://eu1.cloud.thethings.industries/api/v3
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (39 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/the-things-network/refs/heads/main/openapi/the-things-network-ns-api-openapi.yml