Lua's Flea Market Price Updater 3.1.2

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Real-Time Price Update for Flea Market

Real-Time Price Update for Flea Market (Ragfair)
(Except blacklisted items since 12.12 Flea Market)

MOD IS DISABLED by Default, Check config.json

  • Real-Time Price
    • Flea Banned items are updated from traders (option)
  • Public API
    • No need to Patreon pledge or Register/Login
  • Auto Update
    • Price data updates every 5 minute, in-game update interval is 30 minute by default
    • Price is not eqaullay to Live server, Data and API from https://tarkov.dev/
  • Version 3.1.2

    • Fixed a error by Hideout scav case
    • Fixed a bug where trader offers did not appear in flea
    • Supported "akiVersion": 3.2.x - 3.3.0
      • You can ignore warning message about version
  • Version 3.1.1

    • Supported "akiVersion": 3.2.1
  • Version 3.1.0

    • Updated for remove old offers that generated before price update, No longer off priced offers in flea market
    • Supported "akiVersion": 3.1.x / 3.2.0
  • Version 3.0.0

    • Refactored code a bit
    • Added more logs and colors with them
    • Added more configs
      • "Enabled": Default is false, you know what to do
      • "UpdateIntervalSecond": Default is now 1800s (30mins) and Minimum is 600s (10mins)
      • "UpdateFilters": New, now we can pick price datas within time we choose and lowest/highest or average price
        • "Prices": "lowest" or "avg" or "highest"
        • "LimitPriceDataWithinTime_Hour": Default is 24 hours, you can set to -1 for all price history data (around a week data)
      • "UpdatePricesFromTradersForBannedItems": Update flea banned items from traders
        • "Enabled": Default is true
        • "LowPricedItemsOnly": Update only low priced items, prevent item reselling (Why would do that tho)
    • Supported "akiVersion": 3.1.x
  • Version 2.0.0

    • Supported "akiVersion": 3.1.x
  • Version 1.9.9

    • Updated for Typescript
    • Supported "akiVersion": 3.0.0
  • Version 1.9.0

    • Updated for new api parameters
    • Fixed to update ragfair offers table
    • Supported "akiVersion": 2.3.x
  • Version 1.8.0

    • tarkov.dev is back to online as tarkov-tools.com fork
    • Supported "akiVersion": 2.3.x and 2.2.x
  • Version 1.6.0 (Revoke)

    • Seems like market.tarkov.dev is went down and tarkov-tools.com is still running API, revoked to 1.6.0
    • Supported "akiVersion": 2.2.x
  • Version 1.7.0

    • This version might not work properly, Not Tested.
    • Changed market data host from tarkov-tools.com to market.tarkov.dev
      • Thanks to r1ft for the info
    • Price data update interval is 12h, no need to update every hour anymore
    • Supported "akiVersion": 2.2.x
  • Outdated mod.


    Use for example Live Flea Prices by DrakiaXYZ.

    Heart 1
  • Hi, does anyone have a mod running on version 3.7.0? Faced with endless loading of the game.

  • Is this compitable with 3.6.1?

    • I would also like to know. I installed the mod, he seems to update the prices without errors, but If i look up the "graphic card" for example, it is still around 220k while real flea is on 400k.

  • seems to not update prices correctly for me. For example, gpu's have been going for 400k+ on flea for at least the last 24h but in spt it is only showing them going for ~280k. I have enabled it in the files and placed it in the correct folder. no error messages.

    • prices are from the mod and from the prices.json file.

    • @FiveF: how to setup that you only get prices from the "real" flea and not from orginal AKI?

  • My aki is complaining about a faulty prices.json after i copied this in.


    Aki_Data/Server/database/templates/prices.json - Detected faulty json, please fix your json file using VSCodium

    • delete last ",".
      Prices.json was updated and fixed :p

    • Thanks, seems to have fixed it.

  • My flea market is showing the prices from the mod and from the base spt database, Does anyone know how to fix it? the prices from the spt database are way lower

    • You can edit prices manually in prices.json file, but there are +2000 items. idk if you want.

      Moreover , it looks more or less like this:

      JSON: prices.json
        "60a7acf20c5cb24b01346648": 16431,
        "5aa7e4a4e5b5b000137b76f2": 46480,
        "5b40e5e25acfc4001a599bea": 10000,
        "61c18db6dfd64163ea78fbb4": 33400,
        "5aa7e454e5b5b0214e506fa2": 48463,
        "5bd073c986f7747f627e796c": 19451,
        "6040de02647ad86262233012": 30684,
        "5f60e6403b85f6263c14558c": 19038,


      Item ID & Roubles.

  • Comments in mod.js is funny.

    Happy 1
  • The mod works well on latest 3.6.1
    I made some dirty fixes to satisfy my own balancing standard and want to share
    I have no intention to provide support so use at your own risk :evil:

    If a trader is selling the item on LL1, use the trader price
    - It doesn't make sense for the simulated players to buy at price much higher than trader price


    Heavily reduce flea prices of cheap items (mainly weapon parts and mods)
    - In live market, no one buys garbage parts, but people post expensive garbage offers thus breaks the balance of SPT with this mod
    - The simulated players only cares if the price are lower than average and pay insane money for garbage (for example, 500000 rubs for a AKM gas tube) and you can milk out hundreds of thousands rubs from a cheap gun


    Add a filter "med", change "avg" to "med" in config to use median price instead of average

    Replace mod.ts in src folder

    Thumbs Up 2 Heart 1
  • How does this mod even work? I did enable the mod in the config file but when I hover the mouse over an object, it does not show me the Flea market price.


    Maybe I misunderstood what this mod is supposed to do?...

    • this addon simply provides updated flea market pricing in your game, it does not add price tooltips.

    • Thank you. So it is used to have the SPT mod use realistic in-game prices as if you were playing live?

  • Working on 3.5.7, nothing seems wrong price wise

  • Works on 3.5.6 for me as well, avg prices match https://tarkov-market.com/ now

    At least for most items, haven't noticed any inconsistencies

  • uo0293V Working on 3.5.5 for me

  • Someone update this to 3.5.5!

    • Damnit one of the best mods on here cause I know these prices for default are completely jacked and don't come close to matching live.

    • i think this mod should still work for 3.5.5, im using it, let me check rq if prices are right...

      hmm... seems to work.

    • Does it really? Last time I tried it it gave me a ton of errors. Does it give you errors but still works.


      This is what I get:


  • Looks interesting.

  • This works on AKI 3.5.2, but prices on new items are not updated, so it seems a new update is needed

    • Are the new Items still available or are there no offers if you use this mod?

    • Sorry for late reply, I might be wrong with what I said, because offers do show up, and prices seem accurate to tarkov.dev (website where the mod gets info from) BUT im not 100% sure

    • I think the items giving errors or not values are custom items added in by other mods or SPT.

  • Does this mod work as-is on AKI 3.5.0 at the moment, or would that only be a future version?

    • It works I think, I'm seeing updated prices but I guess a few new items arent yet registered? Might be any of my mods though, but it works for now

  • For some reason certain items, like the M-LOK 4.1 in. rail, is extremely overpriced, its going for minimun 500k for me, could it be something to do with using SVM, I think at one point the vector stock was going for 1.2 mil.

    • Turned off Flea Market option in SVM and it currently seems to work properly

  • It appears to be an issue when generating the initial offers on startup, around 10-15 offers for each item use default SPTarkov base price, while the rest use updated prices pulled from the API. However, once those offers expire, the new offers generated use updated prices, so the mod seems to work fine after generating those initial offers. So what you can do is lower the expiration time with SVM or by changing ragfair.json in Aki_Data\Server\configs (default is between 5 - 60 minutes), you can put it to something like 1-5 minutes, that way after 5 minutes from start you only have new offers with accurate prices.

  • 3.4.1 needed

    works weirdly, prices are unbalanced. Some of the item prices are based on Tarkov.dev, some are not.

  • 3.4.1 when

  • Using 3.4.1 it seems that the default pricing is running along side this, for example M4 pricing is 30-50k for the first page and then the remaining pages are 1mil+, is this something that I have caused?

  • Using default config settings. Sometimes the prices ingame are way higher than what tarkov-market is displaying. For example, the SA-58 is 900k ingame but only around 78k avg on tarkov-market as of right now.


    Most other items are accurate but sometimes I see items like this where the price is just way higher than normal. Any ideas anyone?


    AKI 3.3.0 with v3.1.2 mod. Also have a few other mods installed but the only ones I think that could affect this are SVM and InternalError's BlackmarketTrader

    • Maybe mod parts installed in it?

    • Yeah maybe, but the guns looked pretty standard/factory iirc.

  • Hey, is there an easy way to say double or triple the prices of everything in the flea market? Would there be a way to automatically make everything more expensive on top of the flea market price?

  • Hi, I don't speak English. However, I am translating through Yandex Translator, please forgive me. Can you use another site, as an example I give the one I usually use when there is no access to the original tarkov: https://tarkov-market.com/ru / . Still, it seems that the prices there will be more precise...

    • Their API is paid service, I cannot provide without donation or account and which is why we're using current API.

    • That's how, it's a pity.

  • does this mod re-add flea market blacklisted items?

  • work with current Version?

    • Yes, it seems like it is working with 3.3.0.

    • Did this have an update specified for 3.3.x or is the mod's 3.1.2v work as is on the aki 3.2.x and 3.3.x ?

    • @S_gamez - correct it is.

  • how do i increase mine offers at flea market? I only have 2 and rep is going very slowly

    • Go to:

      Name of your SPT folder\Aki_Data\Server\database\


      Open globals.json with Notepad++


      Search for maxActiveOfferCount


      This is what needs to be entered in between

      "isOnlyFoundInRaidAllowed": true,

      and

      "maxRenewOfferTimeInHour": 48,


      "maxActiveOfferCount": [

      {

      "count": 20,

      "from": -10000,

      "to": 10000

      }

      ],


      So it will look like this:

      "isOnlyFoundInRaidAllowed": true,

      "maxActiveOfferCount": [

      {

      "count": 20,

      "from": -10000,

      "to": 10000

      }

      ],

      "maxRenewOfferTimeInHour": 48,



      That will give you 20 sell slots.

  • The greatest mod for money-nuts like me has returned. Praise.

  • Hi!

    I love this mod and I've been using it for about two weeks without any major issues. But since yesterday I noticed that the vanilla traders items disappeared from the list, even changing the filters.


    I tried with a new profile and the same thing happened.


    So unfortunately I uninstalled the mod and they showed up again.



    Version AKI: 3.2.1

    Mod: 3.1.1

    • I'll take a look, thanks.

    • Tested the new mod update (3.1.2) apparently everything its working fine now.


      Thank you very much!

  • This mod v3.1.1 (but zip says v3.2.1 anyways) installed on latest AKI v3.2.1, enabling the config results in

    UnhandledPromiseRejectionWarning: TypeError: colors[Colorizer.allColors[lookup]] is not a function



    ? 1
    • You sure you're on the SPT 3.2.1?

      And file renamed, thanks.

    • You are right. PEBKAC error, I was stupid. I am on 3.2.0.

      Sorry for the confusion.