# List asks

`GET /sigmafi/zc/markets/{market}/asks` · Lithos client API · SigmaFi ZC Standard

Source: https://lithosprotocol.org/docs/api/list-zc-asks

Borrow orders and asks selling bond units or shares in one market, each with its quote now, its status, its checks, and `borrowedByMe` marking listings whose underlying live bond belongs to this wallet as borrower. Unconfirmed boxes are included and boxes a pending transaction spends are not. `from` and `to` keep rows with that many blocks to maturity.

## Parameters

| Name | In | Type | Required | Description |

|---|---|---|---|---|

| `market` | path | string | yes | The market: `ERG` or `SigUSD`.  |

| `coverage` | query | integer · int64 | no | Asks with cover of at least this many bps; offers with a floor of at most this many. Default 15000.  |

| `kind` | query | string | no | `all`, `new` (borrow orders), `resale` (bond units and shares) or `shares`. Default `all`.  |

| `matchable` | query | boolean | no | Leave out paused, expired and flagged boxes. Default true.  |

| `grid` | query | boolean | no | Only maturities on the 21,600-block grid, and window orders that can pick one. Default false.  |

| `from` | query | integer · int64 | no | Least blocks to maturity.  |

| `to` | query | integer · int64 | no | Most blocks to maturity.  |

| `sort` | query | string | no | `apr` (default), `maturity` or `size`.  |

| `cursor` | query | string | no | The `next` value of the previous page.  |

| `limit` | query | integer | no | Page size, 1 to 200. Default 50.  |

| `ifRevision` | query | integer · int64 | no | Answer 304 when the snapshot revision still equals this.  |

## Responses

### 200: One page of asks

`ZcPage`

- `at` (ZcAt): The snapshot a read or quote was taken from.
  - `height` (integer)
  - `blockId` (string)
  - `indexedHeight` (integer)
  - `revision` (integer · int64): Changes whenever anything a read returns changes, the mempool included.
  - `cut` (boolean): True when the book is at its size cap and left boxes out.
  - `mempool` (boolean): Whether unconfirmed boxes are laid over the confirmed book.
- `items` (object[])
- `next` (string): The cursor of the next page.

### 304: Nothing changed since `ifRevision`.

### 400: A malformed field, or terms the contracts refuse.

`ApiError`

- `error` (integer, required): Error code
- `reason` (string, required): Error message explaining the reason of the error
- `detail` (string, required): Detailed error description

### 503: ZC tracking is off or not seeded, or the node, its index or the wallet did not answer. Nothing was sent.

`ApiError`

- `error` (integer, required): Error code
- `reason` (string, required): Error message explaining the reason of the error
- `detail` (string, required): Detailed error description

## Example request

```bash
curl -X GET "http://localhost:9000/sigmafi/zc/markets/{market}/asks"
```

## Example response

```json
{
  "at": {
    "height": 0,
    "blockId": "string",
    "indexedHeight": 0,
    "revision": 0,
    "cut": true,
    "mempool": true
  },
  "items": [
    {}
  ],
  "next": "string"
}
```
