nya works with any panel that serves a standard subscription: links (including Base64), Xray JSON, sing-box or Clash/Mihomo. No special integration is needed — just give users their subscription link. Below is what you get out of the box and what to enable so everything works perfectly: title, traffic and term in the card, the “Renew” button, reminders, routing and device limits.
| Panel | What nya gets by default | HWID and device limit | Routing | Details |
|---|---|---|---|---|
| Remnawave | Base64 links + all subscription headers. Balancers from /json automatically | Yes, fully | routing header from Happ settings | Remnawave |
| 3x-ui | Links, JSON or Clash depending on the path. Subscription-Userinfo, Profile-Title etc. | No (3x-ui counts IPs) | Routing header from the Happ tab | 3x-ui |
| Marzban and forks (PasarGuard) | Base64 links + subscription-userinfo, profile-title, support-url | No | No: add a header via nginx or use nya's modes | Marzban |
| Marzneshin | By subscription rules: links, Base64, Xray JSON, sing-box or Clash | No | No: via nginx | Marzneshin |
| Hiddify | Base64 links or Clash/sing-box, depending on the link | No | Hiddify's own, inside sing-box/Clash configs | Hiddify |
| x-ui (alireza0, vaxilu) | Base64 links + Subscription-Userinfo | No | No | x-ui |
| Your own bot or server (SoloBot, Python, PHP) | Whatever you send | Yes, if you read x-hwid | Yes, via routing | Custom server |
How nya identifies itself
| Header | Example | Why |
|---|---|---|
User-Agent | nya/2.8.5/Android/722837263881 | Always starts with lowercase nya/, then version, OS (Android, iOS, Windows, macOS, Linux) and a stable install number. In panel rules use “starts with nya/”, case-insensitive |
x-hwid | 0123456789abcdef0123456789abcdef | Device ID: 32 chars 0–9, a–f. Passes Remnawave's ^[a-zA-Z0-9=-]{10,64}$ check |
x-device-os | Android | Android, iOS, Windows, macOS or Linux |
x-ver-os | 14 | OS version |
x-device-model | Pixel 8 | Model, shown in the panel's device list |
Common mistake. A case-sensitive check like
"NYA" in user_agent will not match: the app sends lowercase nya/. Compare case-insensitively by prefix — see custom server.What to configure in any panel
- Title —
profile-title. Non-ASCII text and emoji only asbase64:…. - Traffic and term —
subscription-userinfo. Without it there's no term ring, traffic bar, “Renew” button or reminders. - Renew button —
renew-url(orprofile-web-page-url). See renewal. - Support —
support-url. - Routing —
routing, see routing. - Check — request as the app, see checking a subscription.