# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/nepalytix/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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/credits/nepalytix/get-floorsheet \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nepalytix/get-market-summary \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nepalytix/get-stock-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nepalytix/get-stock-list \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/nepalytix/search-stocks \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.