RU

Subscription headers

What the app sends and what you can return.

App request

HeaderExampleMeaning
User-Agentnya/2.8.5/Android/722837263881nya/version/OS/number. The number is stable per device and derived from the HWID one-way. OS: Android, iOS, Windows, macOS or Linux. Users cannot change it
x-hwidc4adc423…Device identifier, see HWID
x-device-osAndroidOS
x-ver-os14OS version
x-device-modelGoogle Pixel 8Device model

Server response

HeaderFormatWhat it does
profile-titletext or base64:Subscription title
profile-update-intervalhoursUpdate interval. Default 12
subscription-userinfoupload=; download=; total=; expire=Traffic in bytes and expiry in Unix seconds. total=0 is unlimited
support-urlURLSupport button
profile-web-page-urlURLProvider website button. Without renew-url, the “Renew” button leads here
renew-urlURLWhere the “Renew” button leads when the subscription ends or traffic runs low. Free for everyone, see renewal
announcetext or base64:Announcement above the server list
announce-urlURLMakes the announcement a link (bot, channel). Without announcement text nya shows “Service news and announcements”
hide-settings0 / 1Server settings and links are hidden by default; 0 shows them
routinghapp://routing/…/base64Subscription routing
x-hwid-max-devices-reachedtrueDevice limit message
x-hwid-limittrueSame, when all servers are placeholders
provideridstringEnables premium parameters
Pass non-ASCII text as base64:…. Header names are case-insensitive.