Unofficial CSFloat API
API referenceBuying

Buy listings

Purchases one or more buy-now listings from market balance.

POST/listings/buy

Purchases one or more buy-now listings from market balance. total_price is the sum of the listed prices and is validated against them, so a listing that changed price or sold in the meantime fails the whole request.

Authorization

ApiKeyAuth
Authorization<token>

CSFloat developer API key. Do not prefix with Bearer.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/listings/buy" \  -H "Content-Type: application/json" \  -d '{    "total_price": 0,    "contract_ids": [      "string"    ]  }'
Empty