# How to Get CSFloat Buy-Order Prices

> CSFloat buy orders show what buyers will pay **right now** — the exit side of the book. CSPriceAPI exposes CSFloat **listing** prices via `csfloat` market; for the deepest **bid book** in CS2, pair with [YouPin buy orders](/docs/api/prices-youpin-buyorder).

## Listing ask vs buy bid

| Signal | Meaning | CSPriceAPI |
|---|---|---|
| **Ask / listing** | Lowest seller price | `markets=csfloat` in `/v1/prices/latest` |
| **Bid / buy order** | Highest buyer offer | YouPin: full book via `/v1/prices/youpin/buyorder` |

CSFloat's site shows both sides. API users typically:

1. Poll CSFloat **asks** for Western listing arb.
2. Poll YouPin **buy orders** for CN exit / cash-out modeling.
3. Match `(market_hash_name, doppler_phase)` on both.

## CSFloat listing snapshot (asks)

```bash
curl -s -X POST "https://api.cspriceapi.com/v1/prices/latest" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"items":["AK-47 | Redline (Field-Tested)"],"markets":"csfloat,youpin"}'
```

Response includes CSFloat **lowest ask** in USD and YouPin ask in CNY.

## YouPin buy-order book (bids)

Full buy-side depth — use for "sell now" valuation:

```bash
curl -s "https://api.cspriceapi.com/v1/prices/youpin/buyorder" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

Join to listings:

```python
# Pseudocode: key = (market_hash_name, doppler_phase or None)
asks = index_latest(post_latest(..., markets="csfloat,youpin"))
bids = index_buyorder(get_youpin_buyorder())
spread = asks["youpin"].price - bids["youpin"].top_bid  # CNY, same item
```

Exact field names: see [OpenAPI](/openapi.yaml) and [buyorder docs](/docs/api/prices-youpin-buyorder).

## Why YouPin buy orders matter for CSFloat traders

Many CSFloat sellers source from **Chinese wholesale** (YouPin/BUFF). Profit math:

```
net_usd = csfloat_ask * (1 - csfloat_fee) - youpin_cost_usd - withdrawal_fx_cost
```

**Sell-now** uses `youpin_buyorder` top bid, not YouPin listing ask — the spread between ask and bid is real money.

## Doppler phases on bids

Buy orders for Doppler knives are phase-specific on YouPin. A bid on Phase 3 does **not** apply to Ruby.

Always filter:

```
market_hash_name == "★ Karambit | Doppler (Factory New)"
AND doppler_phase == "Ruby"
```

See [Doppler guide](/resources/how-to-get-doppler-phase-price-data).

## CSFloat-specific: float-conditioned bids

On CSFloat.com, buyers can post orders conditioned on float, pattern, stickers. Site-level detail may exceed generic API rows. Use CSPriceAPI for **market-wide** phase and commodity pricing; use CSFloat UI or specialized tools for one-off crafts.

For float **buckets** across markets:

```bash
curl -s "https://api.cspriceapi.com/v2/prices/float-ranged?market=csfloat" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## History

CSFloat listing history:

```bash
curl -s "https://api.cspriceapi.com/v1/prices/csfloat/history?market_hash_name=AK-47%20%7C%20Redline%20(Field-Tested)" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

YouPin daily history for bid/ask context over time:

```bash
curl -s "https://api.cspriceapi.com/v1/prices/youpin/history?market_hash_name=AK-47%20%7C%20Redline%20(Field-Tested)" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Worked example: bid-ask spread

`AK-47 | Redline (Field-Tested)` on YouPin:

| Side | Price (CNY) |
|---|---:|
| Lowest listing ask | ¥145 |
| Top buy order bid | ¥138 |

Spread = ¥7 (~4.8%). A trader "selling now" to bid gets ¥138, not ¥145. Inventory tools should store **both** ([valuation guide](/resources/how-to-value-cs2-inventory)).

## No-code

- [CSFloat prices guide](/resources/how-to-get-csfloat-prices)
- [Chrome extension Pro](/extension) — buy orders on supported markets
- [Price Comparison](/apps/pricecomparison)

## Related

- [YouPin prices](/resources/how-to-get-youpin-prices)
- [Fair value](/resources/how-to-calculate-cs2-skin-fair-value)
- [CSFloat API landing](/csfloat-api)
