To trade on Limitless via the API, you need your Ethereum Private Key from the wallet you use with Limitless Exchange.
This is the private key of your wallet that you use to access Limitless Exchange.
-
Open the Account Menu in MetaMask. Click the top-left icon (or account selector) to view your accounts.
-
Open Account Options (...) next to the account you want to use.
-
Select Account Details.
-
Reveal Private Key and unlock your wallet.
-
Copy the Key.
Add these to your .env file or pass them directly to the constructor:
LIMITLESS_PRIVATE_KEY=0x...import os
import pmxt
exchange = pmxt.Limitless(
private_key=os.getenv('LIMITLESS_PRIVATE_KEY')
)
# Check balance
balance = exchange.fetch_balance()
print(f"Available: {balance[0].available}")
# Place an order
order = exchange.create_order(
market_id='market-123',
outcome_id='outcome-456',
side='buy',
type='limit',
price=0.55,
amount=10
)import pmxt from 'pmxtjs';
const exchange = new pmxt.Limitless({
privateKey: process.env.LIMITLESS_PRIVATE_KEY
});
// Check balance
const balances = await exchange.fetchBalance();
console.log(`Available: ${balances[0].available}`);
// Place an order
const order = await exchange.createOrder({
marketId: 'market-123',
outcomeId: 'outcome-456',
side: 'buy',
type: 'limit',
price: 0.55,
amount: 10
});- Limitless uses the Ethereum network (similar to Polymarket's Polygon setup)
- Your private key should start with
0x - Never share your private key or commit it to version control
- Consider using environment variables for security
- Store your private key in
.envfile - Add
.envto your.gitignore - Use separate wallets for development and production
- Start with small amounts when testing