P_wholesaleAuctions

Returns a paginated list of publicly available wholesale auctions.

Supported arguments

The following arguments are supported by P_wholesaleAuctions query:

FieldTypeDescription
firstIntReturns up to the first n elements from the list
afterStringReturns the elements that come after the specified cursor
searchStringSearch phrase for product name
merchantSearchStringExact merchant slug
sortP_API_AuctionSortWholesale auctions sorting option

Return type

The query returns the P_API_AuctionConnection type.

Pagination

This query uses cursor-based pagination following the Relay Connection spec.

  • Use first to set the page size (number of auctions to return per request).
  • On the first request, omit after (or pass null).
  • The response includes a pageInfo object:
    • hasNextPagetrue if more results exist beyond the current page.
    • endCursor — an opaque string representing the position of the last item on the current page.
  • To fetch the next page, pass the previous response's pageInfo.endCursor as the after argument.
  • Repeat until pageInfo.hasNextPage is false.
  • totalCount reflects the total number of matching auctions across all pages.

Behavior

  • wholesaleStock is a point-in-time snapshot of available wholesale stock. It can change between this query and a subsequent purchase, so do not rely on it as a guarantee that the auction can fulfil a given quantity.
  • wholesalePrice.amount is returned in the currency's minor unit (cents for EUR) — divide by 100 to display.
  • search performs a partial match on product name.
  • merchantSearch requires an exact merchant slug — partial matches are not supported.
  • product.countriesWhitelist — when non-empty, the product may only be purchased from the listed countries (IP-based check). An empty array means no whitelist restriction.
  • product.countriesHardBlacklist — when non-empty, the product is inaccessible from the listed countries (IP-based check).

Sort options

The sort argument accepts the following P_API_AuctionSort values:

ValueDescription
ON_HAND_ASCSort by available wholesale stock, ascending.
ON_HAND_DESCSort by available wholesale stock, descending.
PRICE_ASCSort by wholesale price, ascending.
PRICE_DESCSort by wholesale price, descending.
PRODUCT_ASCSort by product name, ascending (A → Z).
PRODUCT_DESCSort by product name, descending (Z → A).

Response fields

P_API_Auction (each node)

FieldTypeDescription
idP_Uuid!Stable UUID for this auction listing.
productP_API_Product!Product details (see table below).
wholesalePriceP_MoneyWholesale price for this auction.
wholesaleStockIntPoint-in-time count of available wholesale stock.
merchantP_API_AuctionMerchantMerchant details (see table below).

P_API_Product (the product sub-object)

FieldTypeDescription
idP_Uuid!Stable UUID for the product.
nameString!Full product display name.
slugString!URL-friendly product slug.
releasedAtP_DateTimeProduct release date (ISO 8601), or null if unknown.
eanStringEAN-13 barcode, or null if not set.
osP_OSEnumSetSet of supported operating systems, or null if not applicable.
regions[String!]List of geographic regions where the product is valid (e.g. GLOBAL, EUROPE).
regionWhitelist[String!]Regions explicitly allowed for activation. Empty means no restriction.
regionBlacklist[String!]Regions explicitly blocked from activation.
countries[String]Countries associated with this product.
countriesWhitelist[String]If non-empty, the product may only be purchased from these countries (IP-based).
countriesHardBlacklist[String!]!Countries from which this product is inaccessible (IP-based).
noActivationCountries[String!]Countries where the key cannot be activated.

P_Money (the wholesalePrice sub-object)

FieldTypeDescription
amountInt!Amount in the smallest currency unit (e.g. cents for EUR). For 14.99 EUR this value is 1499.
currencyString!ISO 4217 currency code (e.g. EUR).

P_API_AuctionMerchant (the merchant sub-object)

FieldTypeDescription
displayNameString!Merchant's display name.
slugStringMerchant's URL slug. Use this value with the merchantSearch argument to filter by merchant.

P_PageInfo

FieldTypeDescription
hasNextPageBoolean!Whether more pages exist when paginating forward.
hasPreviousPageBoolean!Whether more pages exist when paginating backward.
startCursorStringCursor for the first item on the current page.
endCursorStringCursor to pass as after to fetch the next page.

Example usage

Query

query getWholesaleAuctions(
  $first: Int
  $after: String
  $search: String
  $merchantSearch: String
  $sort: P_API_AuctionSort
) {
  P_wholesaleAuctions(
    first: $first
    after: $after
    search: $search
    merchantSearch: $merchantSearch
    sort: $sort
  ) {
    totalCount
    edges {
      cursor
      node {
        id
        product {
          id
          name
          slug
          releasedAt
          ean
          os
          regions
          regionWhitelist
          regionBlacklist
          countries
          countriesWhitelist
          countriesHardBlacklist
          noActivationCountries
        }
        wholesalePrice {
          amount
          currency
        }
        wholesaleStock
        merchant {
          displayName
          slug
        }
      }
    }
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}

First page

Variables

{ "first": 2 }

Response

{
  "data": {
    "P_wholesaleAuctions": {
      "totalCount": 150,
      "edges": [
        {
          "cursor": "YXJyYXljb25uZWN0aW9uLjA=",
          "node": {
            "id": "a1b2c3d4-1234-11ee-be56-0242ac120002",
            "product": {
              "id": "e5f6a7b8-5678-11ee-be56-0242ac120002",
              "name": "Call of Duty: Modern Warfare III Steam Key GLOBAL",
              "slug": "call-of-duty-modern-warfare-iii-steam-key-global",
              "releasedAt": "2023-11-10T00:00:00+00:00",
              "ean": null,
              "os": null,
              "regions": ["GLOBAL"],
              "regionWhitelist": [],
              "regionBlacklist": [],
              "countries": null,
              "countriesWhitelist": null,
              "countriesHardBlacklist": [],
              "noActivationCountries": null
            },
            "wholesalePrice": {
              "amount": 3200,
              "currency": "EUR"
            },
            "wholesaleStock": 150,
            "merchant": {
              "displayName": "Top Games Store",
              "slug": "top-games-store"
            }
          }
        },
        {
          "cursor": "YXJyYXljb25uZWN0aW9uLjE=",
          "node": {
            "id": "b2c3d4e5-2345-11ee-be56-0242ac120002",
            "product": {
              "id": "f6a7b8c9-6789-11ee-be56-0242ac120002",
              "name": "FIFA 25 EA App Key GLOBAL",
              "slug": "fifa-25-ea-app-key-global",
              "releasedAt": "2024-09-27T00:00:00+00:00",
              "ean": null,
              "os": null,
              "regions": ["GLOBAL"],
              "regionWhitelist": [],
              "regionBlacklist": [],
              "countries": null,
              "countriesWhitelist": null,
              "countriesHardBlacklist": [],
              "noActivationCountries": null
            },
            "wholesalePrice": {
              "amount": 2800,
              "currency": "EUR"
            },
            "wholesaleStock": 75,
            "merchant": {
              "displayName": "Game Keys Direct",
              "slug": "game-keys-direct"
            }
          }
        }
      ],
      "pageInfo": {
        "hasNextPage": true,
        "hasPreviousPage": false,
        "startCursor": "YXJyYXljb25uZWN0aW9uLjA=",
        "endCursor": "YXJyYXljb25uZWN0aW9uLjE="
      }
    }
  }
}

Next page

Pass the endCursor from the previous response as after to fetch the next set of results.

Variables

{ "first": 2, "after": "YXJyYXljb25uZWN0aW9uLjE=" }

Response

{
  "data": {
    "P_wholesaleAuctions": {
      "totalCount": 150,
      "edges": [
        {
          "cursor": "YXJyYXljb25uZWN0aW9uLjI=",
          "node": {
            "id": "c3d4e5f6-3456-11ee-be56-0242ac120002",
            "product": {
              "id": "a7b8c9d0-7890-11ee-be56-0242ac120002",
              "name": "Minecraft Java Edition PC Key GLOBAL",
              "slug": "minecraft-java-edition-pc-key-global",
              "releasedAt": "2011-11-18T00:00:00+00:00",
              "ean": null,
              "os": null,
              "regions": ["GLOBAL"],
              "regionWhitelist": [],
              "regionBlacklist": [],
              "countries": null,
              "countriesWhitelist": null,
              "countriesHardBlacklist": [],
              "noActivationCountries": null
            },
            "wholesalePrice": {
              "amount": 1950,
              "currency": "EUR"
            },
            "wholesaleStock": 200,
            "merchant": {
              "displayName": "Digital Keys Hub",
              "slug": "digital-keys-hub"
            }
          }
        },
        {
          "cursor": "YXJyYXljb25uZWN0aW9uLjM=",
          "node": {
            "id": "d4e5f6a7-4567-11ee-be56-0242ac120002",
            "product": {
              "id": "b8c9d0e1-8901-11ee-be56-0242ac120002",
              "name": "Red Dead Redemption 2 Steam Key GLOBAL",
              "slug": "red-dead-redemption-2-steam-key-global",
              "releasedAt": "2019-12-05T00:00:00+00:00",
              "ean": null,
              "os": null,
              "regions": ["GLOBAL"],
              "regionWhitelist": [],
              "regionBlacklist": [],
              "countries": null,
              "countriesWhitelist": null,
              "countriesHardBlacklist": [],
              "noActivationCountries": null
            },
            "wholesalePrice": {
              "amount": 2100,
              "currency": "EUR"
            },
            "wholesaleStock": 40,
            "merchant": {
              "displayName": "Game Keys Direct",
              "slug": "game-keys-direct"
            }
          }
        }
      ],
      "pageInfo": {
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "YXJyYXljb25uZWN0aW9uLjI=",
        "endCursor": "YXJyYXljb25uZWN0aW9uLjM="
      }
    }
  }
}

Search by product name

Variables

{ "first": 5, "search": "Minecraft" }

Filter by merchant

Variables

{ "first": 10, "merchantSearch": "game-keys-direct" }

Sort by price ascending

Variables

{ "first": 20, "sort": "PRICE_ASC" }
Copyright 2026 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania