List Closed Orders

Retrieves the list of closed orders.

Check the proper endpoint based on your region.
The examples in this page is written using Singapore fiat code(SGD). Set the quote currency to match your region. The base_url differs by country/region. Make sure to specify the correct region value for your environment.

- Singapore (sg): https://sg-api.upbit.com
- Indonesia (id): https://id-api.upbit.com
- Thailand (th): https://th-api.upbit.com

You can retrieve the list of closed orders for your account. Closed orders include fully filled orders and canceled orders. Optionally, you can filter by market pair, order status (such as pending trades or reserved orders), and query period to obtain closed orders matching the specified criteria. When specifying the query period, a maximum window of 7 days can be requested.

The parameters state and states[] cannot be used simultaneously.
Please use only one of these parameters when filtering by order status according to your criteria.

Rate Limit
Up to 30 calls per second are allowed. This is measured on an account basis and request counts are shared within the exchange 'default' group.

API Key Permission
This API requires authentication, and an API Key with [View Orders] permission must be used.
If you encounter an out_of_scope permission error, please verify the permission settings in the API Key Management page.

Query Params
string

Trading pair to filter by.

string
enum

Closed order state.

  • done: Fully executed
  • cancel: Cancelled
Allowed:
states[]
array of strings
Defaults to done,cancel

Order state filter (array form). "done" or "cancel". Default returns all states.

[Example] states[]=done&states[]=cancel

states[]
Allowed:

Closed order state.

  • done: Fully executed
  • cancel: Cancelled

Closed order state.

  • done: Fully executed
  • cancel: Cancelled

string

Start time of the query range. Max range is 7 days.

  • If only "start_time" is given, the range is 7 days after it.
  • If neither is given, the default is the past 7 days.

Format: ISO 8601 (2025-06-24T13:56:53+09:00) or millisecond timestamp (1750741013000)

string

End time of the query range. Max range is 7 days.

  • If only "end_time" is given, the range is 7 days before it.

Format: ISO 8601 (2025-06-24T13:56:53+09:00) or millisecond timestamp (1750741013000)

integer
Defaults to 100

Number of results per request (default: 100, max: 1,000).

string
enum
Defaults to desc

Sort order. "desc" (newest first) or "asc" (oldest first). Default is "desc".

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json