DocumentationFunctionsMarketplace FunctionsBasic Search

Basic Search

Basic marketplace search query.

FieldTypeRequired
searchQuerystringYes
limitnumberyes
index.ts
await api.SearchMarketplace(searchQuery, limit);

Here a Sample of the function:

sample.ts
// Sample
await api.SearchMarketplace("R4-c", 20);

Example response

{
  "items": [
    {
      "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-aee4bdf2-0b54-4c6d-af93-9fe4848e1f76",
      "assetUrl": "https://ubiservices.cdn.ubi.com/0d2ae42d-4c27-4cb7-af6c-2099062302bb/DeployerAssetsJune2023/bb74359e_3a55_3d28_b3ad_8291964f65f3.png",
      "itemId": "aee4bdf2-0b54-4c6d-af93-9fe4848e1f76",
      "name": "BLACK ICE",
      "tags": [
        "R4-C",
        "Texture",
        "W_AR_RemingtonR4C",
        "Y1S1",
        "sku_china",
        "sku_ww",
        "type_weapon_skins",
        "type_weaponskin",
        "rarity_superrare",
        "lc_classic-edition-v0"
      ],
      "type": "WeaponSkin",
      "marktetData": {
        "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-aee4bdf2-0b54-4c6d-af93-9fe4848e1f76",
        "sellStats": {
          "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-aee4bdf2-0b54-4c6d-af93-9fe4848e1f76-9ef71262-515b-46e8-b9a8-b6b6ad456c67-sell",
          "paymentItemId": "9ef71262-515b-46e8-b9a8-b6b6ad456c67",
          "lowestPrice": 3150,
          "highestPrice": 1000000,
          "activeCount": 2731
        },
        "buyStats": {
          "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-aee4bdf2-0b54-4c6d-af93-9fe4848e1f76-9ef71262-515b-46e8-b9a8-b6b6ad456c67-buy",
          "paymentItemId": "9ef71262-515b-46e8-b9a8-b6b6ad456c67",
          "lowestPrice": 10,
          "highestPrice": 3100,
          "activeCount": 11646
        },
        "lastSoldAt": {
          "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-aee4bdf2-0b54-4c6d-af93-9fe4848e1f76-9ef71262-515b-46e8-b9a8-b6b6ad456c67-last",
          "paymentItemId": "9ef71262-515b-46e8-b9a8-b6b6ad456c67",
          "price": 3000,
          "performedAt": "2024-10-06T10:27:59.634Z"
        }
      }
    },
    {
      "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-615257b7-9aea-479f-8521-a0054af3a442",
      "assetUrl": "https://ubiservices.cdn.ubi.com/0d2ae42d-4c27-4cb7-af6c-2099062302bb/DeployerAssetsJune2023/b4ba3547_77a7_adcc_7cf7_564039670b34.png",
      "itemId": "615257b7-9aea-479f-8521-a0054af3a442",
      "name": "PIÑA COLADA",
      "tags": [
        "R4-C",
        "Texture",
        "W_AR_RemingtonR4C",
        "Y2S1",
        "sku_china",
        "sku_ww",
        "type_weapon_skins",
        "type_weaponskin",
        "rarity_superrare"
      ],
      "type": "WeaponSkin",
      "marktetData": {
        "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-615257b7-9aea-479f-8521-a0054af3a442",
        "sellStats": {
          "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-615257b7-9aea-479f-8521-a0054af3a442-9ef71262-515b-46e8-b9a8-b6b6ad456c67-sell",
          "paymentItemId": "9ef71262-515b-46e8-b9a8-b6b6ad456c67",
          "lowestPrice": 770,
          "highestPrice": 1000000,
          "activeCount": 1254
        },
        "buyStats": {
          "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-615257b7-9aea-479f-8521-a0054af3a442-9ef71262-515b-46e8-b9a8-b6b6ad456c67-buy",
          "paymentItemId": "9ef71262-515b-46e8-b9a8-b6b6ad456c67",
          "lowestPrice": 10,
          "highestPrice": 666,
          "activeCount": 1198
        },
        "lastSoldAt": {
          "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-615257b7-9aea-479f-8521-a0054af3a442-9ef71262-515b-46e8-b9a8-b6b6ad456c67-last",
          "paymentItemId": "9ef71262-515b-46e8-b9a8-b6b6ad456c67",
          "price": 750,
          "performedAt": "2024-10-06T10:25:36.078Z"
        }
      }
    },
    {
      "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-8d3ffabe-eb44-0e65-2caf-9be17b443207",
      "assetUrl": "https://ubiservices.cdn.ubi.com/0d2ae42d-4c27-4cb7-af6c-2099062302bb/DeployerAssetsJune2023/22290723_43b4_53ab_f4af_d7bf1daad548.png",
      "itemId": "8d3ffabe-eb44-0e65-2caf-9be17b443207",
      "name": "ACID RAIN",
      "tags": [
        "Pattern",
        "R4-C",
        "Y7S1",
        "sku_china",
        "sku_ww",
        "type_weapon_skins",
        "type_weaponskin",
        "rarity_rare",
        "lc_classic-edition-v17",
        "lc_classic-edition-v18",
        "lc_classic-edition-v19",
        "lc_classic-edition-v20",
        "lc_platinum-edition-v0",
        "lc_classic-edition-v22",
        "lc_classic-edition-v21"
      ],
      "type": "WeaponSkin",
      "marktetData": {
        "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-8d3ffabe-eb44-0e65-2caf-9be17b443207",
        "sellStats": {
          "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-8d3ffabe-eb44-0e65-2caf-9be17b443207-9ef71262-515b-46e8-b9a8-b6b6ad456c67-sell",
          "paymentItemId": "9ef71262-515b-46e8-b9a8-b6b6ad456c67",
          "lowestPrice": 10,
          "highestPrice": 250000,
          "activeCount": 775
        },
        "buyStats": {
          "id": "",
          "paymentItemId": "",
          "lowestPrice": 0,
          "highestPrice": 0,
          "activeCount": 0
        },
        "lastSoldAt": {
          "id": "0d2ae42d-4c27-4cb7-af6c-2099062302bb-8d3ffabe-eb44-0e65-2caf-9be17b443207-9ef71262-515b-46e8-b9a8-b6b6ad456c67-last",
          "paymentItemId": "9ef71262-515b-46e8-b9a8-b6b6ad456c67",
          "price": 10,
          "performedAt": "2024-10-06T09:06:16.624Z"
        }
      }
    }
  ]
}