User Tools

Site Tools


api:dk:number:list

API : DK Number List

Introduction

This request will return a list of danish phone numbers that has been assigned to a telecom operator.

Based on the requested number, all numbers in the 1000-number series the number is located is returned with the operator they points to.

Request

URL https://api.telecomx.dk/dk/number
Method GET
Access level VIEWER +
Query number A phone number within the 1000-number range to return, e.g. 81808888 or the first 5 digits of it. Defaults to 71919999 when omitted.

Query examples

https://api.telecomx.dk/dk/number?number=81808000

Response

Array of number objects.

Number object (JSON)
number String The phone number in E.164 format.
operator String The CPS code of the operator the number is mapped to. Empty string if no operator is mapped.

Example

[
  {
    number: '+4581808000',
    operator: '01060'
  },
  {
    number: '+4581808001',
    operator: '00212'
  },
  {
    number: '+4581808002',
    operator: '01015'
  },
  {
    ...
  },
  {
    number: '+4581808999',
    operator: '01060'
  }
]  

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/dk/number/list.txt · Last modified: 2026/05/28 11:37 by Mikkel Meerwaldt Jørgensen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki