# Nasdaq API

> Returns Nasdaq delayed quotes, daily price history, dividends, short interest and earnings calendars.

Category: Finance & Crypto. Region: US. 11 endpoints at `https://api.hoshime.com/v1/nasdaq/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/nasdaq
## GET /v1/nasdaq/quote

The delayed quote of a stock, ETF or index on Nasdaq: last price, change, bid and ask, volume and company facts.

Scope: `social:read` · Units: 1 · Cached: 1 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `symbol` | string | yes | Ticker, such as AAPL or BRK.A. (e.g. AAPL) |
| `type` | string | no | Asset class: stock, etf or index. (one of stock, etf, index; default stock) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `ask` (string), `bid` (string), `change` (string), `changePercent` (string), `currency` (string), `exchange` (string), `fiftyTwoWeekRange` (string), `high` (string), `lastTradeText` (string), `low` (string), `marketStatus` (string), `name` (string), `nasdaqListed` (boolean), `open` (string), `price` (string), `stockType` (string), `symbol` (string), `updatedAt` (string), `volume` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/quote?symbol=AAPL" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/historical

Daily price bars of a stock, ETF or index on Nasdaq, newest first.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `symbol` | string | yes | Ticker, such as AAPL. (e.g. AAPL) |
| `type` | string | no | Asset class: stock, etf or index. (one of stock, etf, index; default stock) |
| `from` | string | no | First day, YYYY-MM-DD. Defaults to 90 days before to. |
| `to` | string | no | Last day, YYYY-MM-DD. Defaults to today (UTC). |
| `limit` | integer | no | Most bars to return, from 1 to 1000. (default 100) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `close` (string), `date` (string), `high` (string), `low` (string), `open` (string), `openedAt` (string), `volume` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/historical?symbol=AAPL" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/dividends

Dividend history of a stock or ETF on Nasdaq: yield, the next ex-dividend date and each cash payment, newest first.

Scope: `social:read` · Units: 1 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `symbol` | string | yes | Ticker, such as AAPL. (e.g. AAPL) |
| `type` | string | no | Asset class: stock or etf. (one of stock, etf; default stock) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `annualDividend` (string), `exDividendDate` (string), `items` (Payment[]), `items[].amount` (string), `items[].declarationDate` (string), `items[].exDate` (string), `items[].paymentDate` (string), `items[].recordDate` (string), `items[].type` (string), `payoutRatio` (number (double)), `symbol` (string), `yield` (number (double))

```bash
curl "https://api.hoshime.com/v1/nasdaq/dividends?symbol=AAPL" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/shortInterest

Short interest of a stock or ETF on Nasdaq per settlement date, newest first, with days to cover.

Scope: `social:read` · Units: 1 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `symbol` | string | yes | Ticker, such as AAPL. (e.g. AAPL) |
| `type` | string | no | Asset class: stock or etf. (one of stock, etf; default stock) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (ShortPosition[]), `items[].avgDailyShareVolume` (integer (int64)), `items[].daysToCover` (number (double)), `items[].settlementDate` (string), `items[].shortInterest` (integer (int64)), `symbol` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/shortInterest?symbol=AAPL" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/earningsCalendar

The companies that report earnings on one day, with their consensus EPS forecast and last year's result.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `date` | string | no | Day, YYYY-MM-DD. Defaults to today (UTC). |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `date` (string), `items` (Earnings[]), `items[].epsForecast` (string), `items[].estimates` (integer (int64)), `items[].fiscalQuarterEnding` (string), `items[].lastYearEps` (string), `items[].lastYearReportDate` (string), `items[].marketCap` (string), `items[].name` (string), `items[].symbol` (string), `items[].time` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/earningsCalendar" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/financials

Financial statements of a company on Nasdaq: income statement, balance sheet, cash flow or financial ratios, by year or by quarter, with the values as Nasdaq shows them.

Scope: `social:read` · Units: 1 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `symbol` | string | yes | Ticker, such as AAPL. (e.g. AAPL) |
| `statement` | string | no | Statement: income, balance, cashFlow or ratios. (one of income, balance, cashFlow, ratios; default income) |
| `frequency` | string | no | Periods: annual or quarterly. (one of annual, quarterly; default annual) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `periods` (string[]), `rows` (FinancialRow[]), `rows[].label` (string), `rows[].values` (string[]), `statement` (string), `symbol` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/financials?symbol=AAPL" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/earningsSurprises

Earnings per share of a company on Nasdaq by quarter, against the analysts' consensus forecast, with the percentage surprise.

Scope: `social:read` · Units: 1 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `symbol` | string | yes | Ticker, such as AAPL. (e.g. AAPL) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `consensusEps` (string), `eps` (string), `fiscalQuarterEnd` (string), `reportedDate` (string), `surprisePercent` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/earningsSurprises?symbol=AAPL" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/screener

Stocks listed on Nasdaq's US exchanges, largest market cap first, with last sale, change and market cap; one exchange or all of them.

Scope: `social:read` · Units: 1 · Cached: 15 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `exchange` | string | no | Exchange to list: nasdaq, nyse or amex. Empty lists all of them. (one of nasdaq, nyse, amex; e.g. nasdaq) |
| `limit` | integer | no | Items per page, 1 to 100. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `lastSale` (string), `marketCap` (integer (int64)), `name` (string), `netChange` (string), `percentChange` (string), `symbol` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/screener?exchange=nasdaq" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/insiderTrades

Insider trades of a company on Nasdaq, newest first: officers' and directors' sales, purchases and automatic sales, with the shares they hold after each.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `symbol` | string | yes | Ticker, such as AAPL. (e.g. AAPL) |
| `limit` | integer | no | Items per page, 1 to 100. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `date` (string), `insider` (string), `ownerType` (string), `price` (string), `relation` (string), `shares` (integer (int64)), `sharesHeld` (integer (int64)), `transaction` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/insiderTrades?symbol=AAPL" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/institutionalHolders

Institutions that hold shares of a company on Nasdaq, largest holding first, with the shares held, the change since the last filing and the value.

Scope: `social:read` · Units: 1 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `symbol` | string | yes | Ticker, such as AAPL. (e.g. AAPL) |
| `limit` | integer | no | Items per page, 1 to 100. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `changePercent` (string), `date` (string), `marketValueThousands` (integer (int64)), `owner` (string), `sharesChange` (integer (int64)), `sharesHeld` (integer (int64)), `url` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/institutionalHolders?symbol=AAPL" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/nasdaq/secFilings

SEC filings of a company on Nasdaq, newest first: form type, filing date, period and the link to the filing as HTML and PDF.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `symbol` | string | yes | Ticker, such as AAPL. (e.g. AAPL) |
| `limit` | integer | no | Items per page, 1 to 100. (default 25) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `companyName` (string), `filedDate` (string), `formType` (string), `htmlUrl` (string), `pdfUrl` (string), `period` (string)

```bash
curl "https://api.hoshime.com/v1/nasdaq/secFilings?symbol=AAPL" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
