Easy to Use Crypto Trading API

Trade over 20 coins with Alpaca Crypto's developer-friendly API

Sign up

Speed and performance driven APIs

#1

API Broker*

*elected by BrokerChooser

1.5ms

Order processing

99.95%

Uptime

Crypto-trading dashboard

Spot Trading

Trade over 20 coins using our dashboard, Trading APIs or your favorite Alpaca Connect app. Gain access to complex order types, and build your strategy.

Crypto coin pair trading

Coin Pair Trading

Tap into another dimension of trading with BTC and USDT coin-pairs.

Rocket ship

Deposit and Withdraw to Your Wallet

Deposit and withdraw your coins faster than traditional banking rails.

Trade crypto with a few lines of code

Join hundreds of thousands of traders and developers building on Alpaca APIs.

  • Easy to Use Trading API
    SDKs are available in Python, .NET/C#, Go, Node, and more

  • Free Real-Time Market Data
    Paper trading and live trading both come with real-time market data

  • Testing Environment
    Test your work on Paper trading before deploying to production

1

2

3

4

5

6

7

8

9

10

11

12

from alpaca.trading import TradingClient, MarketOrderRequest, OrderSide, TimeInForce

client = TradingClient('api-key','secret-key')

order_params = MarketOrderRequest(

symbol='BTC/ETH',

side=OrderSide.BUY,

qty=0.324,

time_in_force=TimeInForce.DAY

)

order = client.submit_order(order_params)

Explore more about Alpaca Crypto

Check out these resources to learn more about crypto trading on Alpaca.

Illustration of a rocket ship taking off

Getting Started with Crypto

Read this guide to learn more about adding crypto to your workflow.

Learn More
Illustration of API documentation

Crypto Trading Docs

View full documentation on crypto trading such as eligibility, supported assets, supported orders and more.

API Docs
Illustration of questions being answered in an online chat

Crypto FAQs

Visit our FAQ section for more information about crypto trading through our API.

Visit FAQs

Build a 20+ Coin Crypto
Trading App with Broker API

Launch your own crypto trading app with Crypto for Broker API. Unlock new revenue opportunities and enable your end-users to trade more than 20 popular crypto coins such as Bitcoin, Ethereum, Solana, Shiba Inu, Dogecoin, and more.

Contact Sales
Illustration of a trading application on a mobile device

We’re here to help with a global support team

We provide support around the clock. Speak to a member of our support team anytime, from anywhere around the world.

Contact Support

Easy to Use Crypto Trading API

Trade over 20 coins with Alpaca Crypto's developer-friendly API.

Sign up