Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including waxpeer with all npm packages installed. Try it out:

var waxpeer = require("waxpeer")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

waxpeer v1.1.6

Waxpeer API wrapper for NodeJs


WaxPeer API wrapper for Node.js

Full API documentation here


$ npm install waxpeer


import { Waxpeer } from 'waxpeer'

const WP = new Waxpeer(WAXPEER_API)

Fetching items

const items = await WP.getItemsList()


Buying items with ID

const purchase = await WP.buyItemWithId(17441538677,798500,'oFvyi0Ma','378049039')


Buying items with Name

const purchase = await WP.buyItemWithName('AK-47 | Redline (Field-Tested)',15000,'oFvyi0Ma','378049039')


Fetching status of the purchase

const status = await WP.tradeRequestStatus(35124)


Fetching your account info

const user = await WP.getProfile()

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free