> For the complete documentation index, see [llms.txt](https://docs.dexlab.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dexlab.space/products/minting-lab/create-openbook-market-id.md).

# Create OpenBook Market ID on Solana

An OpenBook market ID is the Solana account address of an orderbook market, and a **Raydium legacy AMM pool (AMMv4) will not open without one**. Creating a market ID costs **about 3 SOL** with the default OpenBook and Raydium account sizes, or **about 0.55 SOL** with the **Only Raydium** preset. Almost all of that is Solana network rent paid to the network rather than to DexLab, and none of it is recoverable.

**Create one here:** <https://openbook-tools.dexlab.space/market/create>. The tool shows the full rent and fee estimate before you sign, and it can publish a test market on devnet for free first.

**📌 What is an OpenBook Market ID?**

An OpenBook market ID is the Solana account address of an orderbook market on OpenBook, the community successor to Serum. Creating one initializes the market account together with the accounts an orderbook needs: the event queue, the request queue, the bids and asks accounts, and a vault for each side of the pair. DexLab charges a flat platform fee of **0.22 SOL** on top of the rent (0.23 SOL when the market rent comes to less than 2 SOL); everything above that figure is rent for those accounts.

**📌 Do you actually need one?**

{% hint style="warning" %}
**A DexLab liquidity pool does not need an OpenBook market ID.** You need one only for an orderbook listing on OpenBook itself, or for a **Raydium legacy AMM pool**, which requires a market ID as an input.

Creating a market ID does not add liquidity, and it does not make an existing DexLab pool routable anywhere. A brand new market is an empty orderbook. If your goal is simply to make your token tradable, [create a liquidity pool](/products/dex-swap-lp-pool/create-your-own-liquidity-pool-easy-and-fast.md) instead: it is the shorter and much cheaper path.

The rent for the market accounts is **not recoverable**. A created market cannot be canceled or refunded, so treat the whole estimate as spent once the transaction confirms.
{% endhint %}

## Create OpenBook Market ID

### Step 1: Open the market creation tool

👉 Go straight to the tool: <https://openbook-tools.dexlab.space/market/create>

👉 Or start from the listing page and click **"Orderbook Market"**: <https://app.dexlab.space/token/listing>. The background, the cost breakdown, and the question of whether you need a market ID at all are covered on [OpenBook Market ID: What It Is and How to Create One](https://app.dexlab.space/token/listing/openbook-market-id).

<figure><img src="/files/1fXgDrGi4nElrTWXOstd" alt=""><figcaption></figcaption></figure>

### Step 2: Click **"Create Market" on the menu**

<figure><img src="/files/Oah1WEuX4sf5fkZjDZnq" alt=""><figcaption></figcaption></figure>

{% hint style="info" %} <mark style="color:red;">As users are experiencing permission-related difficulties on the market ID creation site provided by OpenBook, Dexlab opened a service site exclusively for the market ID creation function today</mark> <mark style="color:red;">**(December 6).**</mark> <mark style="color:red;">Therefore, Dexlab can help you if you created your market ID from this link, but if you created it on the site provided by OpenBook, we cannot help you.</mark> *<mark style="color:red;">**So if you have difficulty proceeding with the OpenBook service, please contact the OpenBook DEX. IT IS NOT DEXLAB's SERVICE.**</mark>*
{% endhint %}

<figure><img src="/files/PQjeVaT2pOeffrsqaCD9" alt=""><figcaption></figcaption></figure>

* The tool shows a **Total Rent + Fee Estimate** before you sign: **about 3 $SOL** with the default OpenBook and Raydium account sizes, or **about 0.55 $SOL** with the **Only Raydium** preset, which uses smaller accounts and is intended for Raydium pool creation only. Most of that amount is Solana network rent for the market accounts, and the event queue alone is about 1.83 $SOL. That rent is not recoverable, because a created market cannot be canceled or refunded. The estimate is read live from the Solana cluster, so the tool shows **Calculating...** until every rent lookup has answered, and it never shows a partial total. Read the number only once it resolves. If your SOL balance is below the estimate, the transaction may fail and you may still be charged a fee, so make sure your wallet holds more than the estimate shown, and test on devnet first.

### Step 3: Setting Up the Market

<figure><img src="/files/siacI147nHxujPJppAbD" alt=""><figcaption></figcaption></figure>

* Default setting: 'Create Market ID.'
  * If you are trying to create an OpenBook market ID, do not change it to the 'New Token' tab.
* Base Mint: Your token mint address.
* Quote Mint: What token you want your token paired to.
  * USDC: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
  * USDT: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
  * Wrapped SOL: So11111111111111111111111111111111111111112
  * Before: Dexlab supported only USDC and USDT.
  * <mark style="background-color:purple;">Now we support:</mark> [<mark style="background-color:purple;">$USDC</mark>](https://twitter.com/search?q=%24USDC\&src=cashtag_click)<mark style="background-color:purple;">,</mark> [<mark style="background-color:purple;">$USDT</mark>](https://twitter.com/search?q=%24USDT\&src=cashtag_click)<mark style="background-color:purple;">, and</mark> [<mark style="background-color:purple;">$SOL</mark>](https://twitter.com/search?q=%24SOL\&src=cashtag_click)<mark style="background-color:purple;">.</mark>

<figure><img src="/files/BwyPRv1zdNPI2K39zpQ2" alt=""><figcaption></figcaption></figure>

* Min. Order Size: Orderbook minimum order quantity.
  * Example) set to 4 -> Can make an order to 0.0001 unit.
  * Example) set to 0 -> Can make an order to 1 unit.
  * Example) set to 1 -> Can make on order to 0.1 unit.
* Price Tick: Price display digits.
  * Example) set to 5 -> The price of the token is displayed in 5 decimal places like 11.12345
  * Example) set to 4 -> The price of the token is displayed in 4 decimal places like 11. 1234
* The minimum order size cannot be larger than the base token's decimals.
* The price tick size cannot be larger than the quote token's decimals.
* 'Minimum order size' + 'Price Tick' cannot be larger than the quote token decimals.
  * Example) Your base token A's token decimal is set to 9. And pairing token A with USDC. USDC is a quote token and its' token decimal is 6.\
    The minimum order size cannot be larger than 9.\
    The price tick size cannot be larger than 6.\
    'Minimum order size' + 'Price Tick' cannot be larger than 6 (quote token decimals).\
    Therefore, you can make the minimum order size and price tick set to 3 and 2 (total 5, less than 6). However, cannot be 4 and 4 because the sum exceeds 6.

<figure><img src="/files/b3NQMobTbZzGmmtOXCqZ" alt=""><figcaption></figcaption></figure>

* Estimated transaction fee of creating an OpenBook market ID.
* Again, check the **Total Rent + Fee Estimate** the tool shows (about 3 $SOL with the default settings, or about 0.55 $SOL with the Only Raydium preset) before you sign. <mark style="background-color:purple;">If your SOL balance is below the estimate, the transaction may fail and you may still be charged a fee, and created markets cannot be canceled or refunded.</mark>

## Add Market Listing

* Extra market listing form ➡️ <https://wkf.ms/3RWeUIE>
* This form is to request a listing on an extra market. To smooth out the process, please provide the following information. It will be listed on average after about 2 weeks of review.
* To be listed in the Main market, please check here for the condition ➡️ [Market Listing Conditions](/products/minting-lab/terms-of-service.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.dexlab.space/products/minting-lab/create-openbook-market-id.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
