---
updatedAt: 2026-06-26T12:18:21.000Z
agentTools:
  projectIndex: https://developers.dexatel.com/llms.txt
---

# Create Single HLR Lookup

<br />

<TitleSetter title="Create Single HLR Lookup | Dexatel API" />

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Miscellaneous",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.dexatel.com",
      "description": "Server base url"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/v1/number-lookups/{number}": {
      "parameters": [
        {
          "in": "path",
          "name": "number",
          "required": true,
          "schema": {
            "type": "string"
          },
          "description": "The looked up phone number"
        }
      ],
      "get": {
        "tags": [
          "HLR Lookup"
        ],
        "summary": "Create Single HLR Lookup",
        "operationId": "hlr-lookups-create",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HLRLookupsResponseWrapperDto"
                }
              }
            }
          },
          "400": {
            "description": "<p> <strong>Bad Request:</strong> </p> <table> <tr> <th>Code</th> <th>Message</th> <th>Description</th> </tr> <tr> <td>7906</td> <td>Trial account limit reached</td> <td></td> </tr> <tr> <td>7910</td> <td>Invalid phone number</td> <td>Phone number should contain digits without spaces or special characters, beginning with the country dialing code</td> </tr><tr> <td>7916</td> <td>This direction is not supported at this moment</td> <td>Pricing rate not found</td> </tr> </table>"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HLRLookupsResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier of the resource"
          },
          "account_id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier of the account"
          },
          "msisdn": {
            "type": "string",
            "description": "Phone number as digits without spaces or special characters, beginning with the country dialing code"
          },
          "status": {
            "type": "string",
            "enum": [
              "valid",
              "inactive",
              "unavailable_network",
              "invalid_number",
              "hlr_error"
            ],
            "description": "Current status of phone number. 'valid' - The provided number is valid and can be reached. 'inactive' - The provided number is not reachable. 'unavailable_network' - Information on the provided number is not available. 'invalid_number' - The provided number is in an invalid format. 'hlr_error' - An error occurred during the HLR lookup."
          },
          "ported": {
            "type": "boolean",
            "description": "Identifies if number is permanently moved to another provider"
          },
          "line": {
            "type": "string",
            "enum": [
              "landline",
              "mobile",
              "service"
            ],
            "description": "Phone number line type. Possible values: 'landline', 'mobile', 'service' (Number is classified as a special service number rather than a regular mobile or landline number)."
          },
          "network": {
            "type": "string",
            "description": "Phone number network."
          },
          "mccmnc": {
            "type": "string",
            "description": "The mobile country code consists of three decimal digits and the mobile network code consists of two or three decimal digits"
          },
          "country": {
            "type": "string",
            "description": "Represents the country ISO code associated with the phone number"
          },
          "country_name": {
            "type": "string",
            "description": "Represents the country name associated with the phone number"
          },
          "client_rate": {
            "type": "number",
            "description": "Lookup cost including tax."
          },
          "payment_status": {
            "type": "string",
            "description": "Represents the payment status of HLR Lookup."
          },
          "reported_date": {
            "type": "string",
            "format": "date-time",
            "description": "Creation date of the HLR Lookup in UTC, formatted as yyyy-mm-dd hh:mm:ss"
          },
          "error": {
            "type": "string",
            "format": "string",
            "description": "Code identifying the specific error. <br /> <table> <tbody> <tr> <th>Code</th> <th>Description</th> </tr> <tr> <td>0001</td> <td>The subscriber is unknown; this number is not allocated</td> </tr> <tr> <td>0004</td> <td>The provided number is switched off</td> </tr> <tr> <td>0006</td> <td>The provided number is in an invalid format</td> </tr> <tr> <td>0009</td> <td>The number exists, but authenticate in not available</td> </tr> <tr> <td>0011</td> <td>The phone number is not allowed to receive SMS</td> </tr> <tr> <td>0012</td> <td>The number is restricted</td> </tr> <tr> <td>0014</td> <td>End device doesn’t have SMS capability</td> </tr> <tr> <td>0020</td> <td>Request timeout</td> </tr> <tr> <td>0021</td> <td>System failure</td> </tr> <tr> <td>0101</td> <td>Information on the provided number is not available</td> </tr> <tr> <td>0102</td> <td>Information on the provided number is not available</td> </tr> <tr> <td>0103</td> <td>Landline</td> </tr> <tr> <td>0050</td> <td>Internal error</td> </tr><tr> <td>0051</td> <td>Your balance was not enough.</td> </tr> </tbody> </table>"
          }
        }
      },
      "HLRLookupsResponseWrapperDto": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/HLRLookupsResponseDto"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Dexatel-Key"
      }
    }
  }
}
```