# Nepalytix — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Monitor real-time Nepal Stock Exchange data by searching stocks, viewing detailed price information, checking market summaries, browsing stock listings, and tracking floorsheet transaction records all in one place. Stay informed about NEPSE market movements and make data-driven investment decisions with comprehensive market intelligence at your fingertips.

**Category:** Finance & Markets | **Website:** [nepalytix.com/](https://nepalytix.com/) | **Docs:** [parse.bot/marketplace/7bbce568-4857-4f81-af21-5ace04c41069/nepalytix-com-api](https://parse.bot/marketplace/7bbce568-4857-4f81-af21-5ace04c41069/nepalytix-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-nepalytix-com-api-7bbce568/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_floorsheet

Get floorsheet transaction records for a given stock symbol. Returns a summary of trading activity and individual transaction records (top trades by amount and quantity, plus bulk transactions exceeding the threshold). Each transaction includes buyer broker, seller broker, quantity, rate, and amount. Results are paginated locally with 20 records per page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | No | Date filter in YYYY-MM-DD format. When omitted, returns the latest trading day's data. |
| `page` | integer | No | Page number for local pagination of transaction records (20 per page). |
| `symbol` | string | Yes | NEPSE stock symbol (e.g. NABIL, KKHC). Available from search_stocks or get_stock_list. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nepalytix-com-api-7bbce568/get_floorsheet \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>","page":"<integer>","symbol":"<string>"}'
```

### get_market_summary

Get overall NEPSE market summary including market statistics (turnover, volume, transactions), NEPSE index with OHLC, sub-indices, top 10 gainers, top 10 losers, and top 10 stocks by turnover.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nepalytix-com-api-7bbce568/get_market_summary \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_stock_details

Get comprehensive stock details for a single company by its NEPSE trading symbol. Returns price data (LTP, OHLC, volume), 52-week high/low, percentage change, and fundamental metrics (EPS, P/E ratio, BVPS, market cap). Parses the server-rendered stock page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `symbol` | string | Yes | NEPSE stock symbol (e.g. NABIL, KKHC, HLI). Available from search_stocks or get_stock_list. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nepalytix-com-api-7bbce568/get_stock_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"symbol":"<string>"}'
```

### get_stock_list

Get all listed companies on NEPSE (~641 stocks). Returns symbol, closing price, percentage change, and volume for each stock. Company names are not available from this bulk endpoint; use get_stock_details for individual company names.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nepalytix-com-api-7bbce568/get_stock_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_stocks

Search stocks by symbol substring match. Returns matching symbols with company names (fetched for up to top 5 results). Uses the full scanner dataset of ~641 listed companies.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search query to match against stock symbols (case-insensitive substring match, e.g. 'NAB' matches NABIL, NABBC). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-nepalytix-com-api-7bbce568/search_stocks \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
