Dexlab Docs
DexlabCreate TokenPool/SwapMomeTelegram
  • 🤘Introducing
  • PRODUCTS
    • 🔬Token Factory
      • 1️⃣Quick Token Creation Guide
      • 2️⃣Change Token Information (Update Metadata)
      • 3️⃣Manage Token (Burn, Mint, Revoke Freeze, Revoke Mint)
      • 4️⃣Token Hub – Manage & Explore
      • 💹Create OpenBook Market ID
      • ⁉️Token decimal guide
      • ⁉️Factory Fee
      • ⁉️How to check market ID?
      • ⁉️FAQ
      • Terms of service
    • 🤽‍♂️DEX(Swap/LP Pool)
      • 🔄Token Swap
      • 🔱Create Your Own Liquidity Pool – Easy & Fast!
      • ⚙️Provide & Manage Liquidity
    • 👼Mome Launchpad
    • 🔧SuperTools for XPLA
      • CW20 Token Creation
        • 1️⃣Instantiate (Minting)
        • 2️⃣Query Contract
        • 3️⃣Execute (Burn, Send, Logo Updated, etc)
        • ⚠️How to Get My CW20 Token Contract Address
      • CW721 Token Creation (NFT)
        • 1️⃣Instantiate (Minting)
        • 2️⃣Query Contract
        • 3️⃣Execute (Send, Transfer, Burn, etc)
        • ⚠️How to Check My CW721 on XPLA Explorer
    • 🔋SuperDEX for XPLA
      • BI/CI
      • Keplr Wallet Creation
    • 📋Terms of Service
    • 📖Platform Disclaimer
    • 📖SDK & API License Agreement
  • developer hub
    • 🏗️Token & Swap APIs
      • API Key Issuance Guide
      • Swap API
      • Token Creator API
    • Dexlab Factory Bot
  • ADDITIONAL RESOURCES
    • Twitter
    • Discord
    • Telegram
    • Medium
Powered by GitBook

© Copyright 2025 DEXLAB | All Rights Reserved

On this page
  1. developer hub
  2. Token & Swap APIs

Token Creator API

PreviousSwap APINextDexlab Factory Bot

Last updated 2 months ago

API Reference

With over 180,000+ tokens already issued through Dexlab, we are now offering even easier and more powerful features for token creation.

Our robust REST API provides seamless access to all token issuance functionalities, allowing developers to create and manage tokens effortlessly. Whether you’re launching a new project or enhancing an existing one, Dexlab’s API offers a simple and efficient solution.

And the best part? You can get started right now—for free.

Experience the freedom to build, create, and innovate without barriers.

The Open API is freely accessible with no restrictions. However, it is subject to a rate limit of 2 request per second (RPS) per IP, and the referral fee can be set up to a maximum of 3% (100 bps).

API Endpoint

All APIs are free to use, but the Pro API requires an API key(Free) issuance.

  • Open API: https://open-api.dexlab.space/

    • There is a rate limit of 10 RPS. If you need more, get a free API key.

  • Pro API( API key required ): https://pro-api.dexlab.space/

    • The rate limit is increased and free.

Create Token

When using the Open API endpoint, the x-api-key is not required.

🏗️
Dexlab API Key Request
  • API Reference
  • API Endpoint
  • Create Token
  • POST/token
post
Body
payerstringRequired

Public key of the payer who will cover transaction fees.

symbolstringRequired

Token symbol (max 10 bytes).

newMintstringOptional

Public key for minting the token. If not provided, a new mint will be automatically generated.

namestringOptional

Token name (max 32 bytes). If not provided, the symbol is used as the name.

metadataUristringOptional

If provided, metadataUri will override metadata and be used directly.

metadataall ofOptional

Metadata object containing detailed information about the token, such as name, description, image URI, and extensions. If metadataUri is provided, this field will be ignored.

decimalsnumberOptional

Defines the number of decimal places for the token. Default is 6.

mintSupplystringOptional

Total supply of tokens to mint. Default is 1,000,000,000 (10^9).

mintToPubkeystringOptional

Public key to which the minted tokens will be sent. Required if mintSupply is specified.

mintAuthoritybooleanOptional

Determines if the mint authority is assigned. Default is true.

freezeAuthoritybooleanOptional

Determines if the freeze authority is enabled. Default is false.

programstringOptional

Token creation type. Supports "token" for standard SPL tokens or "token2022" for advanced tokens with extended capabilities.

Default: token
transferFeeConfigAuthoritystringOptional

[Token2022 Only] Public key of the authority responsible for setting or adjusting transfer fees. All four transferFee fields (transferFeeConfigAuthority, transferFeeWithdrawalAuthority, transferFeeBps, and transferFeeMax) must be provided; otherwise, the transaction will fail.

transferFeeWithdrawalAuthoritystringOptional

[Token2022 Only] Public key of the authority capable of withdrawing fees collected from token transfers. All four transferFee fields (transferFeeConfigAuthority, transferFeeWithdrawalAuthority, transferFeeBps, and transferFeeMax) must be provided; otherwise, the transaction will fail.

transferFeeBpsnumberOptional

[Token2022 Only] Fee charged for token transfers, represented in basis points (bps). 1 bps equals 0.01%. Must be a value between 0 and 10,000. All four transferFee fields (transferFeeConfigAuthority, transferFeeWithdrawalAuthority, transferFeeBps, and transferFeeMax) must be provided; otherwise, the transaction will fail.

transferFeeMaxstringOptional

[Token2022 Only] Maximum possible fee that can be charged for a single transfer (measured in lamports). All four transferFee fields (transferFeeConfigAuthority, transferFeeWithdrawalAuthority, transferFeeBps, and transferFeeMax) must be provided; otherwise, the transaction will fail.

permanentDelegatestringOptional

[Token2022 Only] Public key of the delegated authority with permanent rights over the mint

defaultAccountStateobjectOptional

[Token2022 Only] Default state of accounts created by this mint. 'Possible values are: "uninitialized", "initialized", or "frozen". 'Accounts cannot be created in the "uninitialized" state. A "frozen" state requires a freezeAuthority to exist.

interestBearingAuthoritystringOptional

[Token2022 Only] Public key of the authority responsible for configuring interest rates for token accounts. Both interestBearing fields (interestBearingAuthority and interestBearingPercent) must be provided together; otherwise, the transaction will fail.

interestBearingPercentnumberOptional

[Token2022 Only] Interest rate applied to token balances. Both interestBearing fields (interestBearingAuthority and interestBearingPercent) must be provided together; otherwise, the transaction will fail.

mintCloseAuthoritystringOptional

[Token2022 Only] Public key of the authority allowed to close the mint and reclaim rent.

nonTransferableMintbooleanOptional

[Token2022 Only] Indicates whether tokens minted by this contract are non-transferable.

useBoostbooleanOptional

Option to enable Jito Boost. When enabled, an additional fee of 0.001 SOL is charged. The default value is false.

Responses
200
200 response
application/json
400
400 response
application/json
500
500 response
application/json
post
POST /token HTTP/1.1
Host: open-api.dexlab.space
Content-Type: application/json
Accept: */*
Content-Length: 654

{
  "payer": "text",
  "symbol": "text",
  "newMint": "text",
  "name": "text",
  "metadataUri": "text",
  "metadata": {
    "description": "text",
    "imageUri": "text",
    "extensions": {
      "discord": "text",
      "telegram": "text",
      "twitter": "text",
      "website": "text"
    },
    "tags": "text"
  },
  "decimals": 1,
  "mintSupply": "text",
  "mintToPubkey": "text",
  "mintAuthority": true,
  "freezeAuthority": true,
  "program": "token",
  "transferFeeConfigAuthority": "text",
  "transferFeeWithdrawalAuthority": "text",
  "transferFeeBps": 1,
  "transferFeeMax": "text",
  "permanentDelegate": "text",
  "defaultAccountState": {},
  "interestBearingAuthority": "text",
  "interestBearingPercent": 1,
  "mintCloseAuthority": "text",
  "nonTransferableMint": true,
  "useBoost": true
}
{
  "data": {
    "payer": "text",
    "token": {
      "address": "text",
      "name": "text",
      "symbol": "text",
      "decimals": 1,
      "metadata": "text",
      "mintAuthority": "text",
      "freezeAuthority": "text",
      "mintSupply": "text",
      "mintTo": "text",
      "program": "text",
      "transferFeeConfigAuthority": "text",
      "transferFeeWithdrawalAuthority": "text",
      "transferFeeBps": 1,
      "transferFeeMax": "text",
      "permanentDelegate": "text",
      "defaultAccountState": {},
      "interestBearingAuthority": "text",
      "interestBearingPercent": 1,
      "mintCloseAuthority": "text",
      "nonTransferableMint": true
    },
    "tx": "text",
    "useBoost": true
  }
}