API solution for checking numbers is intended for clearing up the number databases and making real-time checks before sending.
HLR API documentation
© 2024 Text2reach.
Authentication is done using an unique key. Base url for requests is http://api.text2reach.com/?api_key=API_KEY
Requests are performed through HTTP protocol.
Example:
https://api.text2reach.com/hlr/?api_key=09A4453D25806ABAF1E903DF1CF2A3A9&phone=37126378162
Name | Required | Default value | Description |
api_key | yes | – | your registered HLR-Service API key |
phone | yes | – | Phone number in international format with or without “+” sign |
Code | Description |
---|---|
0 | Successfully |
1 | Invalid API_KEY |
2 | System error |
3 | No route found |
4 | Requests overlimit |
5 | Not defined destination price |
6 | Restricted by country |
7 | Portability checking error |
8 | HLR lookup error |
9 | Insufficient funds |
10 | Restricted by IP-address |
11 | Invalid phone number format |