Phone Number Utility API

The Phone Number Utility API allows you to generate phone numbers for multiple countries, ideal for applications that require phone verification and SMS reception.

About the API: 

The Phone Number Utility API allows you to effortlessly create virtual phone numbers in various countries. This API is especially advantageous for applications that require phone verification, as it simplifies the process of generating phone numbers that can receive SMS messages.

One of the main advantages of the Phone Number Utility API is its flexibility. It supports numerous countries, making it possible to create virtual phone numbers for locations all over the world. This makes it an invaluable resource for applications that operate on an international scale or need verification in multiple regions.

The API also stands out for its ease of use. Users can generate a virtual phone number with just a few API calls, specifying the country and other parameters as needed. The API then provides a unique phone number for SMS verification, effectively streamlining the process.

Overall, the Phone Number Utility API is an essential tool for developers who need virtual phone numbers for SMS verification. Its combination of flexibility, ease of use and robust security makes it an essential resource for applications that require phone verification in multiple countries.

 

What this API receives and what your API provides (input/output)?

Call the API to receive a generated phone number, and check the sms received as well. 

 

What are the most common uses cases of this API?

  1. SMS Verification: One of the most common use cases for the Phone Number Utility API is SMS verification. Many applications require users to verify their phone numbers by entering a code sent to their phone via SMS. The API can be used to generate virtual phone numbers for this purpose, allowing users to receive the verification code without having to share their personal phone number.

  2. Customer Support: The Phone Number Utility API can also be used in customer support applications. By generating a virtual phone number, businesses can provide customers with a phone number to call for support without having to share their personal phone number. This can help to protect the privacy of both the business and the customer.

  3. Marketing Campaigns: Virtual phone numbers generated by the API can also be used in marketing campaigns. Businesses can use the numbers to track the effectiveness of their campaigns by assigning different numbers to different campaigns or channels. This can help businesses to better understand which marketing channels are most effective for reaching their target audience.

  4. Fraud Prevention: The Phone Number Utility API can also be used for fraud prevention. By generating a virtual phone number for a user, businesses can ensure that the user is not using a fake or fraudulent phone number. This can help to prevent fraud in applications such as financial software, where verifying the identity of the user is critical.

  5. International Expansion: Finally, the Phone Number Utility API can be used for international expansion. By generating virtual phone numbers for different countries, businesses can expand their operations into new regions without having to establish a physical presence. This can be particularly useful for online businesses or startups that are looking to expand globally.

 

Are there any limitations to your plans?

Besides the number of API calls, there is no other limitation

Documentación de la API

Endpoints


Use this endpoint to get the list of all available countries. Where you can get the country code to use in the Get Number by Country Id endpoint.



                                                                            
GET https://zylalabs.com/api/4955/phone+number+utility+api/6241/get+countries
                                                                            
                                                                        

Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"status":200,"success":true,"message":"","data":[{"countryCode":"1","countryName":"United States\n                                        "},{"countryCode":"1","countryName":"Canada\n                                        "},{"countryCode":"370","countryName":"Lithuania\n                                        "},{"countryCode":"44","countryName":"United Kingdom\n                                        "},{"countryCode":"34","countryName":"Spain\n                                        "},{"countryCode":"380","countryName":"Ukraine\n                                        "},{"countryCode":"972","countryName":"Israel\n                                        "},{"countryCode":"230","countryName":"Mauritius\n                                        "},{"countryCode":"91","countryName":"India\n                                        "},{"countryCode":"385","countryName":"Croatia\n                                        "},{"countryCode":"351","countryName":"Portugal\n                                        "},{"countryCode":"66","countryName":"Thailand\n                                        "},{"countryCode":"381","countryName":"Serbia\n                                        "},{"countryCode":"52","countryName":"Mexico\n                                        "},{"countryCode":"55","countryName":"Brazil\n                                        "},{"countryCode":"234","countryName":"Nigeria\n                                        "}]}
                                                                                                                                                                                                                    
                                                                                                    

Get Countries - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/4955/phone+number+utility+api/6241/get+countries' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Gets the currently available numbers listed by the given country id.

The numbers obtained can be used in the Check SMS history endpoint.



                                                                            
GET https://zylalabs.com/api/4955/phone+number+utility+api/6242/get+number+by+country+id
                                                                            
                                                                        

Get Number by Country Id - Características del Endpoint

Objeto Descripción
countryCode [Requerido] The country id retrieved on "Get Code" endpoint.
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"status":200,"success":true,"message":"","data":["917428730894","917428723247"]}
                                                                                                                                                                                                                    
                                                                                                    

Get Number by Country Id - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/4955/phone+number+utility+api/6242/get+number+by+country+id?countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

View all SMS received from the indicated number and country code.

Note: Remember that when inserting a number obtained from the Get Number by Country Id endpoint, you must delete the first 2 digits, when loading them in the parameter.



                                                                            
GET https://zylalabs.com/api/4955/phone+number+utility+api/6243/check+sms+history
                                                                            
                                                                        

Check SMS history - Características del Endpoint

Objeto Descripción
countryCode [Requerido]
phoneNumber [Requerido]
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"status":200,"success":true,"message":"SMS History for 917428730894","data":[{"from":"15708337923","text":"Uber code: 2032","myNumber":"917428730894","createdAt":"1 minute ago"},{"from":"13308405090","text":"Your otp is 7415","myNumber":"917428730894","createdAt":"2 minutes ago"},{"from":"17324105578","text":"Uber code: 1790","myNumber":"917428730894","createdAt":"3 minutes ago"},{"from":"81787","text":"Your otp is 2435","myNumber":"917428730894","createdAt":"8 minutes ago"},{"from":"16178303145","text":"T&C Apply. Stop Msg? Call 01384 888102 |","myNumber":"917428730894","createdAt":"10 minutes ago"},{"from":"16178303145","text":"Your DENT code is: 604039","myNumber":"917428730894","createdAt":"10 minutes ago"},{"from":"14692083617","text":"Your DENT code is: 631480","myNumber":"917428730894","createdAt":"10 minutes ago"},{"from":"15856329697","text":"Confirmed! To edit SMS preferences go to m.facebook.com\/settings. To turn off SMS for your Facebook account on this mobile number reply stop. Reply he","myNumber":"917428730894","createdAt":"11 minutes ago"},{"from":"37128914440","text":"1648 is your Uber code.","myNumber":"917428730894","createdAt":"11 minutes ago"},{"from":"codcor","text":"Welcome to Uber! Your app is designed to make your booking experience smooth. Learn more: t.uber.com\/hey","myNumber":"917428730894","createdAt":"11 minutes ago"},{"from":"14158557708","text":"Your DENT code is: 249884","myNumber":"917428730894","createdAt":"12 minutes ago"},{"from":"31615524443","text":"Your DENT code is: 817302","myNumber":"917428730894","createdAt":"12 minutes ago"},{"from":"adjarabet","text":"4409 Verification Code from KakaoTalk. [KakaoTalk]","myNumber":"917428730894","createdAt":"13 minutes ago"},{"from":"12034098316","text":"642485 is your Cube TV verification code.","myNumber":"917428730894","createdAt":"13 minutes ago"},{"from":"16573064024","text":"WhatsApp code 696-948.","myNumber":"917428730894","createdAt":"14 minutes ago"},{"from":"447749862494","text":"Your DENT code is: 252434","myNumber":"917428730894","createdAt":"15 minutes ago"},{"from":"16469330825","text":"3221 is your Uber code.","myNumber":"917428730894","createdAt":"15 minutes ago"},{"from":"17064490198","text":"Dear Rider, welcome to Uber! Your Uber app is designed to make your booking experience smooth. Learn how to request an AC car in minutes here: t.uber.","myNumber":"917428730894","createdAt":"16 minutes ago"},{"from":"447401183562","text":"WhatsApp code 401-572","myNumber":"917428730894","createdAt":"16 minutes ago"},{"from":"Truthify","text":"Your DENT code is: 842711","myNumber":"917428730894","createdAt":"16 minutes ago"},{"from":"17743456329","text":"Use 874 915 to verify your Instagram account.","myNumber":"917428730894","createdAt":"17 minutes ago"},{"from":"317043847114","text":"655922 is your Facebook confirmation code","myNumber":"917428730894","createdAt":"18 minutes ago"},{"from":"14432684703","text":"Get you FREE casino WELCOME BONUS of up to 50 FREE SPINS when you register your Mr Spin Account!","myNumber":"917428730894","createdAt":"18 minutes ago"},{"from":"17868477607","text":"Your otp is 7376","myNumber":"917428730894","createdAt":"18 minutes ago"},{"from":"14043416980","text":"3221 is your Uber code.","myNumber":"917428730894","createdAt":"19 minutes ago"},{"from":"19292015873","text":"Your Uber code is 5934","myNumber":"917428730894","createdAt":"19 minutes ago"},{"from":"16469330825","text":"T&C Apply. Stop Msg? Call 01384 888102 |","myNumber":"917428730894","createdAt":"20 minutes ago"},{"from":"266278","text":"You can also tap on this link to verify your phone: v.whatsapp.com\/696948","myNumber":"917428730894","createdAt":"20 minutes ago"},{"from":"12034098316","text":"Uber code: 1790","myNumber":"917428730894","createdAt":"21 minutes ago"},{"from":"447872497367","text":"VK: 32796 - use this code to activate your VK profile.","myNumber":"917428730894","createdAt":"21 minutes ago"},{"from":"493030014631","text":"vijay, welcome to Uber Eats. With 100s of local favourites to choose from, your next meal is just a tap away. t.uber.com\/oe","myNumber":"917428730894","createdAt":"22 minutes ago"},{"from":"919030053123","text":"(Zalo) 3348 la ma kich hoat cua so dien thoai 14704278929. Vui long nhap ma nay vao ung dung Zalo de kich hoat tai khoan.","myNumber":"917428730894","createdAt":"22 minutes ago"},{"from":"17867802224","text":"T&C Apply. Stop Msg? Call 01384 888102 |","myNumber":"917428730894","createdAt":"22 minutes ago"},{"from":"447872497367","text":"vijay, welcome to Uber Eats. With 100s of local favourites to choose from, your next meal is just a tap away. t.uber.com\/oe","myNumber":"917428730894","createdAt":"23 minutes ago"},{"from":"14694095064","text":"7330 is your Uber code.","myNumber":"917428730894","createdAt":"23 minutes ago"},{"from":"17247391940","text":"3221 is your Uber code.","myNumber":"917428730894","createdAt":"23 minutes ago"},{"from":"QIWIWallet","text":"1524","myNumber":"917428730894","createdAt":"24 minutes ago"},{"from":"81787","text":"WhatsApp code 401-572","myNumber":"917428730894","createdAt":"24 minutes ago"},{"from":"447478696826","text":"VK: 32796 - use this code to activate your VK profile.","myNumber":"917428730894","createdAt":"24 minutes ago"},{"from":"fdgdfg","text":"3221 is your Uber code.","myNumber":"917428730894","createdAt":"25 minutes ago"}]}
                                                                                                                                                                                                                    
                                                                                                    

Check SMS history - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/4955/phone+number+utility+api/6243/check+sms+history?countryCode=Required&phoneNumber=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Phone Number Utility API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Phone Number Utility API FAQs

The Phone Number Utility API allows users to generate virtual phone numbers for various countries. By making API calls, developers can request a phone number and specify parameters such as the country. The API then returns a generated phone number that can be used for SMS verification.

To generate a virtual phone number, you need to call the API without any specific input parameters. The API will automatically generate a phone number for you.

The API provides a generated phone number as output. This phone number can be used for SMS verification purposes. Developers can receive SMS messages sent to the generated phone number and use them for phone verification in their applications.

Yes, the Phone Number Utility API supports a wide range of countries. You can specify the desired country as a parameter when making the API call. This allows you to generate phone numbers for specific countries or regions as needed.

Yes, the API prioritizes user privacy and security. It incorporates advanced encryption and authentication techniques to ensure the safe and secure generation and usage of phone numbers. The API is designed to protect user privacy and prevent fraud, making it a secure option for generating virtual phone numbers for SMS verification.

The "Get Countries" endpoint returns a list of available countries along with their corresponding country codes. The response includes fields such as "countryCode" and "countryName," allowing users to identify which countries they can generate phone numbers for.

The "Get Number by Country Id" endpoint provides a list of currently available phone numbers for a specified country. The response includes an array of phone numbers that can be used for SMS verification, enabling users to select a number for their needs.

The response from the "Check SMS history" endpoint is organized into fields such as "status," "success," "message," and "data." The "data" field contains an array of SMS messages received, while "status" indicates the success of the request, helping users understand the outcome of their query.

The "Get Number by Country Id" endpoint requires a country ID as a parameter to retrieve available phone numbers. Users must specify the correct country ID obtained from the "Get Countries" endpoint to ensure accurate results.

Users can utilize the returned data by integrating the generated phone numbers into their applications for SMS verification, customer support, or marketing campaigns. The unique phone numbers allow for secure communication without sharing personal information.

If the "Check SMS history" endpoint returns an empty result, it indicates that no SMS messages have been received for the specified number. Users should verify that they are using the correct phone number and country code, and ensure that SMS messages were sent to that number.

The API maintains data accuracy by sourcing phone numbers from reliable telecommunications providers and regularly updating its database. This ensures that the generated numbers are valid and capable of receiving SMS messages for verification purposes.

Common use cases include SMS verification for user accounts, providing customer support without revealing personal numbers, tracking marketing campaign effectiveness, and preventing fraud by verifying user identities through generated phone numbers.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.

Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]


Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.

La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.

Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]

Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.

Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.

Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.

Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.

Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.

Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.

El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.

Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.

Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.

Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.

Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.

Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.


APIs Relacionadas