Products

Every product, and the price you pay per account.

GETPOST/api/v1/products

priceCents is the price per account in euro cents: exactly what a buy charges you right now. A key is optional. With one, a price agreed for your account or your volume discount is already in priceCents. Without one, you get list prices. listPriceCents is always the list price.

Request
curl "https://www.nfa.pub/api/v1/products?result=json" \  -H "X-Api-Key: rsk_..."
Response
{  "ok": true,  "count": 2,  "products": [    { "id": "prime-ready", "name": "Prime Ready", "game": "CS2", "priceCents": 43, "listPriceCents": 45, "currency": "EUR", "available": 128, "inStock": true },    { "id": "rust-1000-plus-hours", "name": "Rust 1000+ Hours", "game": "Rust", "priceCents": 185, "listPriceCents": 185, "currency": "EUR", "available": null, "inStock": false }  ]}

Fields

  • id is the product id that /stock, /order and /orders use. The buy endpoints take a short type instead; see Buy accounts.
  • available is how many we sell right now, or null while stock is unknown. inStock is the yes or no.
  • In text (the default) you get one product per line, tab separated: id, price in euros, available, and in_stock or out_of_stock.
  • A key we do not recognise is ignored, not refused, so you get list prices. If your prices look like list prices, check the key with /me.

Errors

CodeHTTPMeaning
E1002429Too many requests. Wait for the minute to roll over and retry. See Rate limits.
E1702403You sent a valid key from an IP that is not on its allowlist.
E1000500Something went wrong on our side. Retry, and contact support if it keeps happening.

Rate limit: 60 requests a minute per IP address.

Products (GET /products) · API reference · nfa.pub