Discover/Com API
live

Com APInepalstock.com.np

Access real-time NEPSE indices, stock prices, market summaries, top performers, and historical OHLC data for all securities listed on Nepal's stock exchange.

Endpoint health
verified 2d ago
get_market_summary
get_top_performers
get_nepse_index
get_today_prices
get_stock_detail
7/7 passing latest checkself-healing
Endpoints
7
Updated
26d ago

What is the Com API?

This API exposes 7 endpoints covering Nepal Stock Exchange (NEPSE) market data, from live index values to per-security OHLC details. Use get_nepse_index to retrieve current values, percentage changes, and 52-week lows across four major NEPSE indices, or call get_today_prices to pull closing prices, volumes, and percentage changes for every security traded on a given day.

Try it

No input parameters required.

api.parse.bot/scraper/200a3fbe-2c84-436d-8f67-6c08621de86e/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/200a3fbe-2c84-436d-8f67-6c08621de86e/get_nepse_index' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace nepalstock-com-np-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.nepse_nepal_stock_exchange_api import Nepse, Index, Security, StockDetail, DailyPrice, Metric, Performer, IndexHistory, PerformanceType, IndexId

nepse = Nepse()

# List all NEPSE indices
for index in nepse.indexes.list():
    print(index.name, index.current_value, index.percentage_change)

# Get top gainers
for performer in nepse.performers.list(type=PerformanceType.GAINER):
    print(performer.symbol, performer.ltp, performer.point_change)

# Search for securities and navigate to detail
for security in nepse.securities.search(query="Bank"):
    detail = security.details()
    print(detail.security_data.symbol, detail.security_data.sector, detail.trading_data.close_price)

# Get index history via sub-resource navigation
nepse_index = nepse.index(id=58)
for entry in nepse_index.histories.list(limit=5):
    print(entry.business_date, entry.closing_index, entry.abs_change)

# Get today's prices
for price in nepse.dailyprices.list(limit=3):
    print(price.symbol, price.last_traded_price, price.percentage_change)

# Get market summary metrics
for metric in nepse.metrics.list():
    print(metric.detail, metric.value)
All endpoints · 7 totalmissing one? ·

Get current values and changes for various NEPSE indices including NEPSE Index, Sensitive Index, Float Index, and Sensitive Float Index. Returns all four indices with their current value, day range, 52-week range, and percentage change.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "items": "array of Index objects with id, index name, currentValue, close, high, low, change, perChange, previousClose, fiftyTwoWeekLow, fiftyTwoWeekHigh"
  },
  "sample": {
    "data": {
      "items": [
        {
          "id": 58,
          "low": 2722.67,
          "high": 2744.18,
          "close": 2733.6,
          "index": "NEPSE Index",
          "change": 2.57,
          "perChange": 0.09,
          "currentValue": 2736.17,
          "previousClose": 2736.18,
          "fiftyTwoWeekLow": 2487.18,
          "fiftyTwoWeekHigh": 3002.08
        }
      ]
    },
    "status": "success"
  }
}

About the Com API

Market Indices and Daily Prices

get_nepse_index returns live data for the NEPSE Index, Sensitive Index, Float Index, and Sensitive Float Index. Each entry includes currentValue, change, perChange, previousClose, high, low, and fiftyTwoWeekLow. get_today_prices returns a flat list of all securities traded on the main NEPSE board (index ID 58), with fields like symbol, closePrice, lastTradedPrice, percentageChange, and totalTradeQuantity per security.

Stock Search and Detail

search_stocks accepts an optional query parameter for case-insensitive partial matching against symbol or company name. It returns id, symbol, securityName, and activeStatus — useful for resolving a ticker before passing it to get_stock_detail. That endpoint accepts either a symbol string (e.g., NABIL) or a numeric security ID and returns two nested objects: securityData (sector, email, active status) and securityMcsData (open, high, low, close, previous close, last traded price, total trade quantity).

Market Summary and Top Performers

get_market_summary returns key market-wide metrics as value/detail pairs covering total turnover, traded shares, transactions, scrips traded, and market capitalization. get_top_performers ranks up to 10 securities by one of five criteria: gainer, loser, turnover, volume, or transaction. Each result includes ltp, pointChange, percentageChange, symbol, and securityName.

Historical Index Data

get_index_history returns paginated daily OHLC data for a chosen index. Supported index IDs are 58 (NEPSE), 57 (Sensitive), 62 (Float), and 63 (Sensitive Float). Each page contains up to 20 records ordered most-recent first, with businessDate, closingIndex, openIndex, highIndex, lowIndex, turnoverValue, and turnoverVol. The response also includes totalPages and totalElements so clients can paginate through the full history.

Reliability & maintenanceVerified

The Com API is a managed, monitored endpoint for nepalstock.com.np — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when nepalstock.com.np changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official nepalstock.com.np API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2d ago
Latest check
7/7 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Display a live NEPSE dashboard showing current index values and percentage changes for all four major indices.
  • Screen all traded securities by percentage change or volume using get_today_prices to identify movers at market close.
  • Build a stock lookup tool that resolves partial company names or symbols via search_stocks before fetching OHLC detail.
  • Track NEPSE market capitalization and total turnover over time using get_market_summary on a daily schedule.
  • Populate a top-gainers and top-losers widget using get_top_performers with the gainer and loser type parameters.
  • Plot historical index performance charts by paginating through get_index_history for the NEPSE or Sensitive Index.
  • Alert users when a specific security's percentageChange crosses a threshold by monitoring get_today_prices output.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Nepal Stock Exchange (nepalstock.com.np) offer an official developer API?+
NEPSE does not publish a documented public developer API. This Parse API provides structured access to the same market data available on nepalstock.com.np.
What does get_top_performers return and how is the type parameter used?+
It returns up to 10 securities ranked by the selected criterion. The type parameter accepts one of five values: gainer, loser, turnover, volume, or transaction. Each result includes symbol, securityName, ltp, pointChange, and percentageChange. If no type is supplied, the default ranking is applied.
How is pagination handled in get_index_history?+
Results are returned 20 records per page, sorted most-recent date first. The response includes totalPages and totalElements so you can determine how many additional requests are needed to retrieve the full history for a given index ID.
Does the API cover individual trade-level (tick) data or broker-level transaction details?+
Not currently. The API covers daily OHLC data, index values, market summaries, and aggregate trade statistics at the security level. Tick-by-tick trades and individual broker transaction records are not exposed. You can fork this API on Parse and revise it to add an endpoint targeting that data if it becomes available from the source.
Is data available for securities listed on sub-indices other than the main NEPSE board (index ID 58)?+
get_today_prices is fixed to index ID 58 (the main NEPSE board). Securities traded only on other sub-boards are not currently included in that endpoint's output. You can fork this API on Parse and revise it to parameterize the index ID if you need coverage of other boards.
Page content last updated . Spec covers 7 endpoints from nepalstock.com.np.
Related APIs in FinanceSee all →
nepsealpha.com API
Track Nepal's stock market in real-time with live prices, historical OHLCV data, and detailed sector summaries, while leveraging technical and fundamental analysis signals to make informed trading decisions. Monitor floorsheet transactions, assess investment risks, and search specific symbols all from a single comprehensive market data platform.
merolagani.com API
Access Nepal Stock Exchange (NEPSE) data via merolagani.com. Retrieve live stock listings, search for companies by name or symbol, view detailed financial metrics, monitor market summaries, and fetch quarterly financial reports.
sharesansar.com API
Access real-time Nepali stock prices, browse company information, and read the latest market news all in one place. Stay informed about the Nepal stock market with current pricing data and detailed news articles.
nseindia.com API
Track live NSE stock prices, monitor indices, analyze option chains, and access corporate announcements with real-time market data from India's National Stock Exchange. View equity quotes with full order books, identify top gainers/losers, analyze 52-week highs/lows, and explore historical price trends all in structured JSON format.
hdfcsec.com API
Track real-time equity market movements by finding the most active NSE stocks, top gainers and losers, 52-week highs and lows, and detailed stock quotes. Search for specific stocks and get comprehensive market overviews to make informed investment decisions.
niftyindices.com API
niftyindices.com API
nasdaq.com API
Track real-time and historical stock prices, ETF and mutual fund quotes, cryptocurrency data, and comprehensive company financials including earnings, dividends, and SEC filings all from one source. Research market trends with institutional holdings, short interest data, retail trading activity, and market movers to make informed investment decisions.
nzx.com API
Access daily stock data including open, high, low, close prices and trading volume for NZX-listed companies. Browse company listings and view detailed instrument information for stocks traded on the New Zealand Exchange.