---
title: "Get Orders for Entity"
method: GET
path: "/api/v2/orders/"
tags: ["Orders"]
---

# Get Orders for Entity

`GET /api/v2/orders/`

Get a list of all `Orders` under the `Entity`.<br>Optionally `Orders` can be transaction hash or fulfillment transaction hash.

## Query parameters

- `chain_id` string, nullable
- `order_transaction_hash` string, nullable
- `order_fulfillment_transaction_hash` string, nullable
- `order_request_id` string, uuid, nullable
- `limit` integer
- `order` 'asc' | 'desc'
- `next` string, nullable
- `previous` string, nullable

## Response `200`

OK

- PaginatedEntityOrderResponse
  - `_sv` 'PaginatedEntityOrderResponse:v1' — Version
  - `data` EntityOrder[], required — List of EntityOrder
    - `id` string, uuid, required — ID of the `Order`.
    - `status` 'PENDING_SUBMIT' | 'PENDING_CANCEL' | 'PENDING_ESCROW' | 'PENDING_FILL' | 'ESCROWED' | 'SUBMITTED' | 'CANCELLED' | 'PARTIALLY_FILLED' | 'FILLED' | 'REJECTED' | 'REQUIRING_CONTACT' | 'ERROR', required
    - `chain_id` string, required — CAIP-2 formatted chain ID of the blockchain that the `Order` transaction was run on.
    - `order_contract_address` string, eth_address, required — Smart contract address that `Order` was created from.
    - `order_transaction_hash` string, hex_string, required — Transaction hash for the `Order` creation.
    - `order_side` 'BUY' | 'SELL', required
    - `order_type` 'MARKET' | 'LIMIT', required
    - `order_tif` 'DAY' | 'GTC' | 'IOC' | 'FOK', required
    - `payment_token` string, eth_address, required — The payment token (stablecoin) address.
    - `stock_id` string, uuid, required — The `Stock` ID associated with the `Order`
    - `created_dt` string, date-time, required — Datetime at which the `Order` was created. ISO 8601 timestamp.
    - `asset_token` string, eth_address, nullable — The dShare asset token address.
    - `asset_token_quantity` number, nullable — Total amount of assets involved.
    - `payment_token_quantity` number, nullable — Total amount of payment involved.
    - `limit_price` number, nullable — For limit `Orders`, the price per asset, specified in the `Stock`'s native currency (USD for US equities and ETFs).
    - `fee` number, nullable — Fee amount associated with `Order`.
    - `cancel_transaction_hash` string, hex_string, nullable — Transaction hash for cancellation of `Order`, if the `Order` was cancelled.
    - `entity_id` string, uuid, nullable — Entity ID of the Order
    - `account_id` string, uuid, nullable — Account ID the order was made for.
    - `order_request_id` string, uuid, nullable — Order Request ID for the `Order`
    - `client_order_id` string, nullable — Customer-supplied unique identifier to map this `Order` to an order in the customer's systems.
  - `pagination_metadata` BaseOpenApiPaginationMetadata, required
    - `previous` string — Cursor for previous page
    - `next` string — Cursor for next page

## Other responses

- `422` — Unprocessable Entity
- `default` — Default error response

---

[API](https://skmtc.net/dinaricrypto/apis/dinari-enterprise-api.md) · [All operations](https://skmtc.net/dinaricrypto/apis/dinari-enterprise-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dinaricrypto/dinari-enterprise-api/revisions/5403e9118588/schema)
