Architecture
- Poll
GET /v1/prices/lateston a schedule (respect your plan rate limits). - Join rows by
(market_hash_name, phase). - Convert currencies (CNY ↔ EUR ↔ USD) with your FX source.
- Subtract fees per marketplace (seller fee, withdrawal, spread).
- Filter by min listing count (liquidity) and max age (staleness).
- Alert or auto-list when net ROI exceeds threshold.
Minimal poll example
curl -s "https://api.cspriceapi.com/v1/prices/latest?markets=skinport,youpin,buff163,csfloat" \
-H "x-api-key: YOUR_API_KEY"Rules that prevent false arbs
| Rule | Why |
|---|---|
Match phase | Ruby ≠ Phase 4 |
Require count >= N | One cheap outlier listing ≠ liquid market |
| Reject stale snapshots | Prices older than ~15 min on fast markets |
| Include withdrawal fees | CNY → bank → EUR has real cost |
| Ignore manipulated items | Cross-check sales history |
Faster iteration without code
- Price Comparison — ROI-ranked cross-market gaps with fee inputs
- Chrome extension — manual arb while browsing listings
Sales confirmation
Listing-price arb is not the same as completed-sale arb. Validate with:
curl -s "https://api.cspriceapi.com/v1/market-sales/search?market_hash_name=AK-47%20%7C%20Redline%20(Field-Tested)" \
-H "x-api-key: YOUR_API_KEY"