Broker API HubMenu

Alpaca API error code

Alpaca API error: 42210000

The error, as text you can copy

42210000
Kind
API error code
HTTP status
None recorded for this error
API
Alpaca

What does 42210000 mean on the Alpaca API?

The code in the body of a 422 reply. The Placing Orders page shows it for a limit price with a sub penny increment that does not meet the pricing criteria; the Market Data FAQ shows the same code with the message that the subscription does not permit querying recent SIP data.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Independent and unofficialdocs.alpaca.marketschecked

How do I fix 42210000?

For a price: at or above 1 US dollar use at most 2 decimals, below it at most 4. For data: ask for the iex feed, or set end at least 15 minutes in the past for SIP without a subscription.