📰 Nepal News App — API Documentation

Public REST API for the Nepal News Android app. Base URL: https://apps.esofttechinc.com · All responses are JSON · No authentication required.

GET /nepalnews/api/app

App profile for the Android app's About / contact screen: name, description, website, contact email & phone, social media links, logo and feature list. Contact + social values are editable in the platform admin under Apps → Nepal News App → App Settings.

Demo call

curl https://apps.esofttechinc.com/nepalnews/api/app
// Response appears here…

GET /nepalnews/api/sites

News source sites managed from the admin Sites tab, in display order. Use this to render the app's source list / drawer instead of the bundled sites.json.

Query parameters

ParamValuesDefaultDescription
statusactive · pending · allactiveFilter sites by approval status. Invalid values return HTTP 400.

Demo calls

curl "https://apps.esofttechinc.com/nepalnews/api/sites?status=active"
// Response appears here…

POST /nepalnews/api/sites/request

Public "Add your website" submission for the app. Every submission is stored as pending — an admin reviews it on the Sites tab and flips it to active. Submitting a URL that is already listed returns the existing entry instead of a duplicate.

⏱ Rate limited to 10 requests/minute per IP to prevent spam.

Body parameters (JSON)

FieldRequiredDescription
nameyesSite name, e.g. "My News" (max 100 chars)
urlyesSite URL, e.g. https://example.com (must be a valid URL)
contact_namenoContact person name
emailnoContact email
phonenoContact phone
addressnoAddress
logonoLogo image URL
faviconnoFavicon image URL

Demo call

curl -X POST https://apps.esofttechinc.com/nepalnews/api/sites/request \
  -H "Content-Type: application/json" \
  -d '{"name":"My News","url":"https://example.com","email":"info@example.com"}'

Try it live

Submits a real pending request — it stays hidden until an admin approves it on the Sites tab.
// Response appears here…

Questions? esofttechinc@gmail.com · ← Back to Nepal News App