INVALID_SIZE_PRECISION
Coinbase returns INVALID_SIZE_PRECISION when the order size has more decimal places than the product's base increment allows. The same family has INVALID_PRICE_PRECISION for prices and PREVIEW_ versions for order previews.
What the official docs say
Coinbase Advanced Trade docs, Create Order: the failure reason enum lists INVALID_SIZE_PRECISION, INVALID_PRICE_PRECISION, PREVIEW_INVALID_SIZE_PRECISION and PREVIEW_INVALID_BASE_SIZE_TOO_SMALL.
Three common causes
- Too many decimals in base_size (XRP-USD allows 6 decimals in our data, DOGE-USD only 1).
- The size was computed from a float and not rounded to base_increment.
- The size is also below the product's base_min_size (a separate failure reason).
How to fix it
- Read base_increment, quote_increment and the minimums from the product endpoint.
- Round base_size DOWN to a multiple of base_increment; round price to quote_increment.
- Send both as strings.
- Use the preview endpoint first if you want to check an order without placing it.
Python (standard library only) example (runs as shown with sample numbers):
from decimal import Decimal, ROUND_DOWN
def floor_to_step(value, step):
v, s = Decimal(str(value)), Decimal(str(step))
return (v / s).to_integral_value(ROUND_DOWN) * s
print(floor_to_step("12.3456", "0.1")) # DOGE-USD base increment in our data
Current limits for popular symbols
| Symbol | Price step (tick) | Quantity step | Minimum quantity | Source and read date |
|---|---|---|---|---|
| Coinbase BTC-USD | 0.01 | 0.00000001 | - | api.exchange.coinbase.com, read 2026-11-11 |
| Coinbase ETH-USD | 0.01 | 0.00000001 | - | api.exchange.coinbase.com, read 2026-11-11 |
| Coinbase SOL-USD | 0.01 | 0.00000001 | - | api.exchange.coinbase.com, read 2026-11-11 |
| Coinbase XRP-USD | 0.0001 | 0.000001 | - | api.exchange.coinbase.com, read 2026-11-11 |
| Coinbase DOGE-USD | 0.00001 | 0.1 | - | api.exchange.coinbase.com, read 2026-11-11 |
| Coinbase ETH-BTC | 0.000001 | 0.00000001 | - | api.exchange.coinbase.com, read 2026-11-11 |
Check your numbers
Pick a symbol, type your quantity and see the valid rounded quantity.
Check this automatically before every order: AIKIT (free 1,000 calls)
Disclosure: AIKIT is our own product. It returns sourced exchange and broker rules (with the official source and read date) and checks bot code against them. Facts and checks only, not advice.
Questions people ask
What does INVALID_SIZE_PRECISION mean?
The order size has more decimals than the product allows.
What is the difference from INVALID_PRICE_PRECISION?
One is about size (base_size), the other about the limit price.
Does Coinbase publish the increment?
Yes, as base_increment and quote_increment on the product. The table shows the values we read, with source and date.
Sources
- https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/create-order (read 2026-11-16)
Symbol limits in the table: AIKIT facts read 2026-11-11 from the venue's own public API (links in the table). Exchange rules change; read the live values from the venue before you trade.
Related fixes
- Filter failure: LOT_SIZE (Binance spot)
- Filter failure: NOTIONAL (Binance spot)
All error fixes. General information for education only. It is not financial advice, and trading can lose money.