NP SMS NETWORK
NP NETWORK Developer API v1

NP NETWORK Developer API

Token-authenticated JSON API for virtual numbers and OTPs. Send your key in the mauthapi header — every endpoint returns plain JSON you can use from a bot, a script, or your own website.

REST · JSON Base /api/user Auth mauthapi

Quick start

API BASE URL
https://npnetworkbd.com/api/user
WEBSITE URL
https://npnetworkbd.com
HOW IT WORKS
  1. Log in to your NP NETWORK dashboard.
  2. Open Profile → API Keys and copy your key. It always starts with NP-.
  3. Send that key in the mauthapi header on every request.
The owner must switch API access On for your account before the key works. If it is off you will get 403 locked.
YOUR FIRST REQUEST
bash
curl -X POST "https://npnetworkbd.com/api/user" \
  -H "mauthapi: NP-YOURKEY" \
  -H "Content-Type: application/json" \
  -d '{"action":"getnum","range":"26134"}'

Authentication

Every request needs your API key in the mauthapi header. Keys are unique per account and look like NP-XXXXXXXXXXXXXXXX.

http header
mauthapi: NP-XXXXXXXXXXXXXXXX
Keep your key secret. Anyone who has it can use your account. Never put a key in a URL query string — raw URLs are written to server logs, browser history and referrers.
Accepted header namesmauthapi · x-api-key · npkey · x-np-key · api-key
Bearer formAuthorization: Bearer NP-…
Rate limit120 requests / minute

Playground

Run a real request from your browser. No data is changed by the read-only endpoints.

Response waiting
Response will appear here.
getnum allocates a real number from the pool — use a range you actually need.

Endpoints

POST /api/user

Allocate one number from a range — the same action as Get Number in the dashboard.

REQUEST BODY
json
{
  "action": "getnum",
  "range": "26134"
}
RESPONSE 200 OK
json
{
  "meta": { "code": 200, "status": "ok" },
  "data": {
    "full_number": "+447404333228",
    "national_number": "7404333228",
    "no_plus_number": "447404333228",
    "country": "United Kingdom",
    "operator": "EE"
  },
  "message": "number allocated"
}
Headermauthapi: NP-XXXXXXXXXXXXXXXX
rangedigits without the trailing XXX — e.g. 26134
Out of stockmeta.code 2946
GET /api/user?action=otp

Your successful OTPs, ready to forward to your bot or website.

RESPONSE 200 OK
json
{
  "meta": { "code": 200, "status": "ok" },
  "data": {
    "otps": [
      {
        "number": "447404333228",
        "message": "Your code is 123456",
        "otp": "123456",
        "otp_id": "npraw:447404333228:1779460000000",
        "time": 1779460000000
      }
    ]
  }
}
Returns only the OTPs that belong to your own account.
GET /api/user?action=liveaccess

Recently active services, plus the ranges each one hit.

RESPONSE 200 OK
json
{
  "meta": { "code": 200, "status": "ok" },
  "data": {
    "services": [
      { "sid": "FACEBOOK", "name": "Facebook", "ranges": ["26134", "22465"] }
    ],
    "healthAt": 1779460000000
  }
}
GET /api/user?action=console

Global live feed of recent hits across the network.

RESPONSE 200 OK
json
{
  "meta": { "code": 200, "status": "ok" },
  "data": {
    "hits": [
      { "number": "447404333228", "message": "Your code is 123456", "time": 1779460000000 }
    ]
  }
}

Errors

Failures come back with ok: false and an error code.

json
{
  "ok": false,
  "error": "unauthorized",
  "message": "Invalid API key"
}
HTTPerrorMeaning
401unauthorizedKey missing or wrong
403lockedKey exists but API is switched off
403forbiddenAccount is not active
429rate_limitedOver 120 requests / minute
2002946meta.code — no numbers left in that range
NP NETWORK
USER DASHBOARD
💼 ৳ 0.00
🔔0
NP
LIVE ACCOUNT14 Oct, 2026 · Wednesday
TOTAL BALANCE
৳30.40
Today's income৳0.00
71%SUCCESS
Today
Member
OTP Rate৳0.40
Success10
Pending0
Failed4
📊 Today's Report
📱
Today's Numbers0Pending 0 · Failed 0
📩
Today's OTP Received0Success 0 · Success Rate 0% · Income ৳0.00
⚡
OTP Rate (per OTP)৳0.50Your account rate
💰
Today's Estimated Income৳0.00OTP received × rate
📈 Last 7 Days OTP—
🕘 Yesterday's Report
—Yesterday's Details
NO DATA
Numbers0
OTP Received0
Success0
Success Rate0%
Yesterday's per-platform breakdown will appear here once OTPs arrive.
🔥 Facebook / Instagram Analysis
Which platform is working best today—
No OTP yet today — as soon as one arrives you'll see which platform, the top ranges and the latest OTP time here.
V5.1.0 (Secured)

NP NETWORK

Incorrect
Password
Forgot Password?
Don't have an account? Create Account
📢 Official Channel Mathod
0%

Processing your request...
Please wait.

● Pending
Welcome, Member

Your account is currently under review. You can verify and edit your information below or contact your agent to speed up the process.

👤 Profile Information

FULL NAME
MOBILE
EMAIL ADDRESS
TELEGRAM USERNAME
AGENT
Agent

এজেন্ট এর ইনবক্সে আপনার জিমেইলটি পাঠিয়ে দিন

🔐 Security

NEW PASSWORD (8-72)
🔍
00:00:00 UTC+0
AGENT
Welcome back, Agent!
Overview of your team performance.
● AGENT MODE

OTP Earnings by Date Today

AGENT EARNS PER VERIFIED OTP৳0.00
TOTAL VERIFIED OTP0

Top 5 Team Members LAST 7 DAYS

Global Trending ● LIVE

🔍
00:00:00 UTC+0
Welcome back, Owner!
Control every admin panel from one place.
● OWNER MODE

Agents

Edit User

FULL NAME
EMAIL ADDRESS
MOBILE NUMBER
TELEGRAM USER ID
COUNTRY
AGENT REFERRAL EMAIL
MEMBER OTP RATE (৳ per OTP)
RESET PASSWORD (8-72)
WITHDRAW PIN (4-DIGIT)
STATUS
BALANCE