---
title: "Search an order by orderId"
method: GET
path: "/v2/inscribe/order/{orderId}"
tags: ["Inscribe"]
---

# Search an order by orderId

`GET /v2/inscribe/order/{orderId}`

It's recommended to query the latest status every 10 seconds.

_amount = outputValue*count + minerFee + serviceFee + devFee_

## Path parameters

- `orderId` string, required

## Response `200`

Successful operation

- object
  - `code` integer
  - `msg` string
  - `data` Order
    - `orderId` string
    - `status` 'pending' | 'inscribing' | 'minted' — Order Status
    - `payAddress` string — Pay to this address to start inscribing
    - `receiveAddress` string — Bitcoin address to receive the inscriptions
    - `amount` integer — The BTC amount (in satoshis) need to pay
    - `paidAmount` integer — The paid BTC amount (in satoshis)
    - `outputValue` integer — The outputValue of each inscription
    - `feeRate` number — The feeRate of inscribing transactions
    - `minerFee` number — The miner fee of this order
    - `serviceFee` number — The service fee of this order
    - `devFee` number — The developer fee of this order
    - `files` object[]
      - `filename` string
      - `inscriptionId` string
      - `status` 'pending' | 'unconfirmed' | 'confirmed'
    - `count` integer — The total inscriptions count
    - `pendingCount` integer — The pending inscriptions count
    - `unconfirmedCount` integer — The unconfirmed inscriptions count
    - `confirmedCount` integer — The confirmed inscriptions count
    - `createTime` integer
    - `refundTxid` string
    - `refundAmount` integer
    - `refundFeeRate` number

## Other responses

- `401` — Invalid API Key

---

[API](https://skmtc.net/unisat/apis/unisat-wallet-openapi.md) · [All operations](https://skmtc.net/unisat/apis/unisat-wallet-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unisat/unisat-wallet-openapi/revisions/68de350419c7/schema)
