VeryOTP Logo
VeryOTP
Virtual Numbers & Temp Mail
🌐 Tiếng Việt

VeryOTP REST API Integration Guide

High-speed REST API for automated virtual phone number leasing and SMS OTP capture. Built for bots, scripts, and account automation tools.

View Pricing ($) Rent Numbers

Your API Key

Use this secret key to authenticate all requests sent to the VeryOTP API.

Please register or sign in to view and copy your API Key.
Developer & Partner Program (Resellers & Tool Builders)
VeryOTP offers dedicated 1-on-1 technical assistance and high-volume discounts for API partners:
🚀 Launch Your Own Reseller Site
Get turnkey API endpoints to power your own branded SMS OTP portal and resell phone rentals to your own customer base.
🛠️ Bot & Automation Script Support
Direct integration guidance for anti-detect browsers, multi-accounting bots, account registration scripts, and custom tooling.
👉 Need custom endpoints or volume discounts? Contact Partner Support

1. Overview & Authentication

All API requests are served over HTTPS and return standard JSON payloads.

Base URL: https://veryotp.com/api/v1

To access protected endpoints (view balance, rent numbers, inspect OTP sessions), provide your API Key via one of the following methods:

  • HTTP Header (Recommended): X-API-Key: YOUR_API_KEY or Authorization: Bearer YOUR_API_KEY
  • URL Query Parameter (Simple scripts): Append ?api_key=YOUR_API_KEY to the endpoint URL.

Security Note: Never expose your API Key publicly. If your key is compromised, click "Rotate Key" above to generate a new key immediately.

2. Check Wallet Balance

Retrieve current available wallet balance in your VeryOTP account.

GET https://veryotp.com/api/v1/balance
curl -X GET "https://veryotp.com/api/v1/balance" \
     -H "X-API-Key: YOUR_API_KEY"

Success Response (200 OK):

{
  "success": true,
  "balance": 50000,
  "currency": "VND",
  "user": {
    "username": "user123",
    "email": "[email protected]"
  }
}

3. Service Catalog & Real-time Pricing

Retrieve service IDs, names, prices, and live success rates.

GET https://veryotp.com/api/v1/services

Requires API Key. You can append ?search=telegram to filter quickly. The success_rate field (%) reflects real completed orders, and total_orders is the total volume.

curl -X GET "https://veryotp.com/api/v1/services?search=telegram" \
     -H "X-API-Key: YOUR_API_KEY"

Sample Response:

{
  "success": true,
  "total": 1,
  "currency": "VND",
  "services": [
    {
      "id": "telegram",
      "name": "Telegram",
      "price": 6300,
      "success_rate": 78,
      "total_orders": 124,
      "carrierFilterable": false,
      "status": "available"
    }
  ]
}

4. Rent a Virtual Phone Number

System automatically deducts funds and allocates an authentic carrier number to receive SMS OTP.

POST https://veryotp.com/api/v1/rent

Supports both POST (JSON body) and GET (Query string URL) for seamless integration with all tool types.

ParameterTypeRequiredDescription
service string Required Service ID to rent (e.g., telegram, facebook, google, tiktok_veryna, whatsapp, shopee...)
network string Optional Desired carrier: viettel, mobifone, vinaphone (where supported)
prefix string Optional Desired prefix (e.g., 09, 03, 08)
curl -X POST "https://veryotp.com/api/v1/rent" \
     -H "X-API-Key: YOUR_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{"service": "telegram"}'

Success Response:

{
  "success": true,
  "data": {
    "order_id": "8f3b2190-674e-4a9c-9c71-382a901e7492",
    "phone_number": "0389123456",
    "phone_local": "0389123456",
    "service": "telegram",
    "price": 2500,
    "currency": "VND",
    "expires_in": 420,
    "created_at": "2026-10-21T20:00:00.000Z"
  },
  "balance": 47500
}

5. Capture OTP Code & Automated Refund

Poll every 3-5 seconds to check when the OTP code is captured.

GET https://veryotp.com/api/v1/session/{order_id}

You can pass order_id in the URL path or via query string ?order_id=....

100% Automated Refund Guarantee: Rentals are active for 7 minutes (420 seconds). If no SMS OTP is received within this window, the system automatically marks the session as expired and instantly refunds 100% of the cost to your VeryOTP wallet balance.
curl -X GET "https://veryotp.com/api/v1/session/ORDER_ID" \
     -H "X-API-Key: YOUR_API_KEY"

Order Status Values:

waiting : Waiting for incoming SMS from the service.
completed : OTP code successfully captured.
expired : 7-minute timer elapsed, 100% refunded to wallet.

6. MMO Tool Compatibility (MaxCare, FPlus, Genlogin...)

Plug-and-play compatible with account farming tools and anti-detect browsers.

VeryOTP provides a standard compatible endpoint designed for effortless integration with third-party automation tools:

  • Server API URL: https://veryotp.com/api/v1/compatible
  • API Key / Token: Paste your VeryOTP API Key.

Select custom API or compatible provider in your automation tool, paste the URL and your API Key, and your scripts will automatically rent numbers and capture OTPs.