Methodology

Pricing rules, warning flags and data sources

Leaderboard Missions

What this tool ranks

The calculator ranks NPC LP-store offers by realistic ISK per LP. It compares selling into Jita buy orders with listing against Jita sell orders, after taxes, broker fees, required item costs, and (when blueprint manufacture rows are shown) material costs and the manufacturing job installation fee.

How one row's ISK per LP is made, for each of the two ways to sell.
Sell into buy orders List a sell order
+Product value Jita buy-order prices, order by order every unit at the cheapest ask
−Market fees sales tax sales tax and one broker fee
−Input cost LP-store ISK cost and required items
−Build cost materials and the job installation fee, on manufacture rows only
=Net profit a figure for each way of selling that has a value
÷LP cost what the offer costs in loyalty points
=ISK per LP the default sort uses the higher of the two

The detail drawer of a row has this sum for that row in its Profit block: a line for each amount, one column for selling into buy orders and one for listing.

What the default list shows and hides

The default leaderboard:

  • Shows all access-risk tiers and ranks by the higher of buy-order and sell-order ISK/LP.
  • Groups duplicate store economics, uses minVolume=0, and assumes 30000 LP/hour for the ISK/hour column.
  • Excludes SDE corporations without an earnable LP source before any user filter runs; normal agent, CONCORD/special, and faction warfare LP sources remain eligible. Level 5 mission corporations are shown by default.
  • Enables the No warns, No vanity, and Sec L4+ quality filters, so rows with strong warnings or multiple warning flags, vanity/cosmetic products, plus corporations without normal level 4 or 5 Security agents are hidden until those toggles are switched off.
  • Includes standard corporation LP; faction warfare, special-source LP, and blueprint-copy rows (both direct sale and manufacture) are opt-in.
  • Keeps rows below 100 units and 250m ISK of average daily market volume visible but flags them LOW_VOLUME. Rows above 100 m3 carry a cargo-volume flag, with a stronger red flag above 500 m3.
Controls that change the list
  • The Space control can narrow results to highsec-accessible stores or show all known access tiers.
  • The Level 5 Missions control can show all corporations, only corporations with level 5 agents, or hide them.
  • Ranking controls can choose the valuation basis, scale runs, set LP/hour, require minimum 28-day market volume, and optionally hide rows above a maximum packaged cargo volume in m3.
  • Quality toggles control Jita-only pricing, suspicious rows, vanity rows, no-Security-L4+ corporations, faction warfare, special LP stores, and duplicate store rows.
  • The BPC control picks which blueprint-copy rows appear: none, direct contract sales, manufacture conversions, or both.

Data sources

Market orders, market history, adjusted prices and LP offers come from EVE's public ESI API. Static game data, including the agents that decide which corporations have earnable LP, comes from the official SDE export.

  • LP offers: public ESI /latest/loyalty/stores/{corporation_id}/offers/.
  • Jita orders: public ESI region 10000002 market orders, persisted as top 50 sell and buy levels per type.
  • Market history: public ESI region 10000002 history, summarized into a 28 calendar-day average daily volume (days with no trades count as zero) and median price.
    How the 28-day window is chosen

    The window is the 28 days ending with the newest day ESI has published. Each run reads that day from the five most-traded items that traded on at least 27 of the 28 days of their last window, and never ends later than yesterday (UTC), or the day before yesterday before 11:05 UTC, when ESI normally posts it. If ESI posts yesterday late, the window ends the day before instead of counting yesterday as a day without trades. It is recomputed every day even when ESI returns the same records, so an item whose last trade is older than the window shows zero volume and no median.

  • Adjusted reference prices: public ESI /latest/markets/prices/, stored per type and used as the EIV basis for the manufacturing job installation fee.
  • Static data: official Fenris Creations (formerly CCP Games) JSON Lines SDE ZIP, cached under data/sde/ and imported into SQLite.
  • Earnable LP sources: derived from SDE agent references for normal, CONCORD/special, and faction warfare agent corporations, then applied before LP-store fetches and leaderboard filters.
  • SDE metadata: recorded in source_imports and exposed through /api/health.

Core calculation

A row has up to two net profits: one for selling the products into buy orders and one for listing them as a sell order. ISK per LP is the selected net profit divided by the offer's LP cost.

The valuation basis can use buy-order cashout, sell-order listing, or the higher of both. With the higher of both (Highest), ISK/LP is the higher of the two ratios and ROI is the higher of the buy-order and sell-order ROI, which is also the value the ROI sort ranks by. An offer that costs no LP has no ISK/LP but still has an ROI.

The formulas
buy_order_sell = sell products into buy orders, pay sales tax
sell_order_listing = list products at the cheapest ask, pay sales tax plus one broker-fee pass
product_value_sell_order = quantity * cheapest ask, summed over the products

input_cost = LP-store ISK cost + required items bought from sell orders
build_cost = BPC materials (after Material Efficiency) bought from sell orders
job_cost = manufacturing job installation fee on built rows (see BPC manufacturing)
net_buy_order = product_value_buy_order * (1 - sales_tax_rate)
  - input_cost - build_cost - job_cost
net_sell_order = product_value_sell_order * (1 - sales_tax_rate - broker_fee_rate)
  - input_cost - build_cost - job_cost
isk_per_lp = selected net_profit / LP cost
capital_required = input_cost + build_cost + job_cost
roi = selected net_profit / capital_required
Runs and budgets

runs scales LP, ISK, required items, manufacturing materials, cargo, and order-book depth. When lpBudget or iskBudget is provided, the calculator picks the largest run count, up to 10,000, whose LP cost fits the LP budget and whose full capital_required fits the ISK budget. The capital is depth-walked at that run count, so an input that gets dearer per unit as the order book thins out lowers the run count instead of pushing the capital past the budget. An offer that costs no LP is not limited by an LP budget, and a row whose capital cannot be priced (see UNPRICED_INPUT) is left out under an ISK budget.

The run count is not limited by order-book depth: when a budget buys more runs than the saved top 50 orders cover for the buy-order sale, a required input or a build material, the row gets INSUFFICIENT_DEPTH and is hidden while Hide suspicious is on, so a large budget shortens the default list. A sell-order listing takes no orders from the book, so it never raises that flag.

Inputs that have no price

A required input or build material with no sell orders and no public-contract ask read within the last 30 days has no price: the row's costs, net profits, ISK/LP and ROI show as unknown instead of treating that leg as free.

The ISK/hour column

The ISK/hour display multiplies the selected ISK/LP basis by the URL-backed lpPerHour value. A blank, zero, negative or non-numeric LP/hour means the 30000 default, for the ISK/hr column, the Best ISK/hr figure and the API alike; the box is reset to 30000 and the URL leaves the value out.

Contract-priced rows show a dash instead: their ISK/LP is a real one-off conversion rate, but public contracts for such items sell at most a few times per day game-wide, so extrapolating by LP/hour would invent income the market cannot absorb. These rows also sort last when the leaderboard is sorted by ISK/hour.

Fees and skills

The default view charges what a character with no trade skills and no standings pays: 7.5% sales tax and a 3% broker fee. Accounting lowers the sales tax; Broker Relations and positive standings lower the broker fee.

These are the Tranquility NPC-station rates: sales tax starts at 7.5% and falls to 3.375% at Accounting V; the broker fee starts at 3%, drops 0.3 percentage points per Broker Relations level plus up to 0.3 from faction and 0.2 from corporation standing, and never goes below 1%. Accounting, Broker Relations, Advanced Broker Relations, faction standing, and corporation standing are URL-backed filters. Defaults are zero so the default view is pessimistic for a fresh character. Advanced Broker Relations only affects relist fees in Realistic patient mode.

The fee formulas
sales_tax_rate = 0.075 * (1 - 0.11 * Accounting)
broker_fee_rate = max(
  0.03
  - 0.003 * BrokerRelations
  - 0.0003 * factionStanding
  - 0.0002 * corporationStanding,
  0.01
)
Selling through contracts with no market fees

The optional No market fees (contract sale) channel, bundled into Manufacturer mode, models listing through item-exchange contracts instead of sell orders. A contract charges only a flat creation fee (about 10k ISK, noise at faction-item prices), so the sell-order (patient) basis pays neither the sales tax nor the broker fee. That is the only way to reach 0%: the skill sliders above floor at 3.375% sales tax and 1% broker. It matches the fee-free treatment contract-priced rows already receive. A contract cannot fill a buy order, so the buy-order (instant) basis is still a market sale and keeps the sales tax for your Accounting level.

Depth walking

Anything bought from sell orders, and anything sold into buy orders, is priced order by order through the saved Jita order book for the full quantity. A sell-order listing is valued at the cheapest ask for every unit.

How purchases and buy-order sales walk the book

Purchases and buy-order sales walk the persisted Jita order book for the full requested quantity instead of using only top-of-book. Products sold through buy orders walk buy orders, but only buy orders a seller standing at Jita 4-4 could actually fill: region-range orders, plus station- or system-range orders that sit at Jita 4-4 or in the Jita system. Required items and build materials walk sell orders. If the saved top 50 orders do not cover the requested fill of the output's buy-order sale, a required input or a build material, the row gets the strong INSUFFICIENT_DEPTH flag and the missing quantity is priced at the last consumed order, the worst price seen.

How a sell-order listing is valued

A product listed through sell orders does not walk the book. A seller who lists has to match the cheapest ask to be bought first, so every unit is valued at the cheapest ask: the lowest-priced saved sell order in The Forge, or, when no sell order is saved, the cheapest sell price from the last price fetch, or, for a contract-only item, the cheapest credible contract ask. No undercut is subtracted. Ten units against a book of 3 at 132M, 1 at 132.9M and 1 at 290.1M are valued at 10 x 132M.

A listing takes no orders from the book, so it has no depth to run out of and never raises INSUFFICIENT_DEPTH; the fill estimate below says how long that many units take to sell.

A product with no sell order and no contract ask at all has no listing value: its sell-order ISK/LP, net profit and ROI show as unknown, and the Highest basis uses the buy-order value. Such a row carries the strong NO_SELL_ORDERS flag and is hidden while Hide suspicious is on.

Patient listing realism

The sell-order (patient) basis above assumes a listing fills in full at the cheapest ask. In reality a listing joins a queue and waits behind the orders already listed at that price.

Every row therefore carries an estimated fill time for the primary output, shown in the detail drawer:

queue_ahead  = sell-book units listed at or below the cheapest ask (the listing price)
sell_rate    = 0.5 * avg_daily_volume_28d
days_to_fill = (queue_ahead + quantity) / sell_rate

The SLOW_FILL flag uses this queue-aware estimate for the output leg: warn past 7 days, strong past 28. A product with no price to list at gets no SLOW_FILL.

Why half of the daily volume, and when there is no estimate

The 0.5 factor exists because ESI daily volume mixes both trade directions and only buyer-initiated trades consume the sell book; with no public split, half is the symmetric prior. Items with no market history get no estimate. A product with no sell order and no contract ask gets none either, because it has no price to list at; the drawer then reads "n/a (no sell orders)".

The Realistic patient toggle

The optional Realistic patient quality toggle (off by default, URL-backed) goes further and discounts the sell-order valuation itself:

relist_discount  = 0.5 + 0.06 * AdvancedBrokerRelations          (80% at V)
expected_relists = ceil(days_to_fill / 2) - 1, floored at 0
relist_cost      = expected_relists * (1 - relist_discount) * broker_fee_rate * product_value
patient_effective = net_buy_order + (net_sell_order - relist_cost - net_buy_order)
                    * exp(-days_to_fill / 7)

The exponential decay pulls slow fills toward the guaranteed buy-order cashout: a fill estimated a week out keeps about 37% of the patient premium, and a month-long fill keeps almost none. Relist fees model staying competitive against undercutting, using the Tranquility relist mechanic where modifying an order down costs the undiscounted share of the broker fee on the new price; Advanced Broker Relations is a URL-backed skill filter next to the other fee skills. With the toggle off, nothing changes: the patient and best columns keep the optimistic immediate-fill values.

BPC manufacturing

A blueprint-copy offer can be valued as the built product minus materials and the job fee, or as a direct contract sale of the copy. Both kinds of row stay hidden until the BPC control turns them on.

Manufacture rows, sell rows and the BPC control

When an offered product is a blueprint copy with a manufacturing recipe in the SDE, the calculator can value the manufactured output and subtract material costs ("manufacture" rows), and when fresh public-contract asks exist it can value the copy as a direct contract sale ("sell" rows). Both are hidden by default because blueprint rows can dominate the table with assumptions that are more sensitive to build settings, material liquidity, and contract depth.

The four-position BPC control in the Quality filters picks which rows appear: None (default), Sell, Build (manufacture conversions), or All. Build is a buildables-only lens: it shows manufacture conversion rows alone and hides plain direct-item LP offers, because the facility, Material Efficiency, and job-cost settings act only on built rows; those direct items stay in the default None view.

Facility presets and Manufacturer mode

LP-store blueprint copies are unresearched (Material Efficiency 0), so the default view buys the full base material quantities, matching a build in an NPC station with no rigs. Manufacturer mode's Facility preset instead models a rigged structure: a T2 ME rig in highsec (about 3.2% material savings) or in null / wormhole space (about 5.8%), applying EVE's per-material round-then-ceil ME formula.

Manufacturer mode is a standalone top-bar toggle that bundles these blueprint build rows (and only those, so every row responds to the build settings; plain direct-item offers are hidden), this facility, the job installation fee below, and the no-market-fees contract channel, and tints the workspace to signal it is not the default view.

The job installation fee

Built rows also carry the manufacturing job installation fee, which is on by default. EVE charges this per job as a percentage of the job's Estimated Item Value (EIV = the sum of each base material quantity times CCP's daily adjusted reference price, ignoring Material Efficiency):

job_cost = EIV * (system_cost_index * structure_bonus + 0.0025 facility_tax + 0.04 SCC)

The facility tax and SCC surcharge (about 4.25% together) are location-independent; only the system cost index varies, so Manufacturer mode exposes it as a single configurable percent (default 2.5% for an NPC station, where structure_bonus is 1). The fee is real ISK the builder fronts, so unlike the LP-paid blueprint it lowers net profit and raises capital_required and the ROI denominator. Adjusted reference prices come from public ESI /latest/markets/prices/, refreshed daily; a material CCP does not price is skipped from EIV, so job cost is understated rather than wrong.

Risk and access

A row's access tier, which the Space filter and the risk icons use, comes from the least risky known NPC station its corporation owns. The headquarters can sit in more dangerous space and is shown separately.

Highsec is security 0.5 and above, lowsec is 0.0 through 0.4, and nullsec covers below 0.0 plus any wormhole or unknown-security store access.

Store access and the HQ station

Space filtering and row risk icons use practical LP-store access risk, derived from the least risky known NPC station owned by the corporation. The corporation headquarters is still shown, labelled HQ station and HQ system in the offer details with the row's access tier beside it, so a highsec-accessible corporation with a nullsec HQ (Sisters of EVE at X-7OMU, Thukker Mix at M-MD3B) does not read as a nullsec-only store. In the CSV export, risk_tier is the HQ tier and access_risk_tier is the access tier.

Special LP stores, faction warfare and picking an owner

DED, CONCORD, and similar special-source LP stores are marked as special LP and excluded from the global default leaderboard. Faction warfare offers are also opt-in. Choosing a specific corporation or faction in the Corporation / Faction filter overrides these global exclusions and the no-Security-agent filter, so the selected owner's full catalog is shown even when the matching toggles are off; for example, picking a faction-warfare militia returns its offers instead of an empty table. Picking a faction does this for each of its corporations: Caldari State includes the State Protectorate militia, and CONCORD Assembly is the CONCORD and DED special stores.

LP-store corporations with no earnable LP source, such as event or placeholder LP stores without agents, are excluded before these user-facing filters are applied. Risk chips are visual warnings on the row; highsec-accessible rows do not get a risk chip.

Quality flags

A flag marks a row whose price, liquidity, cargo size, product type or store access needs a second look. While No warns (Hide suspicious) is on, which is the default, a row with one strong market-quality flag or two market-quality warnings is hidden.

Filters that interact with these flags

Three quality filters interact with these flags:

  • Hide suspicious removes any row with at least one strong persisted market-quality flag or at least two persisted market-quality warning flags.
  • Jita-priced only requires every output, required input, and build-material sell leg to have its cheapest order at Jita 4-4.
  • Sec L4+ is a separate optional quality filter that removes corporations with no normal level 4 or 5 Security agents in the SDE-derived agent reference; it does not control the base earnable-LP gate.
Flag chips on the leaderboard

Tapping or clicking a flag chip on the leaderboard expands it into its full message; the ? inside opens that flag's row in this table and highlights it, and on a risk chip it opens Risk and access. Cargo-volume, vanity, and access-risk chips are added by the frontend from row metadata so they remain visible even when the persisted market-quality flags are otherwise clean.

FlagRuleSeverity
Liquidity and fill time
LOW_VOLUME28-day average daily volume is below 100 units and below 250m ISK; expensive items that move serious ISK on few units are not flagged.Warn; shown as a yellow flag.
SLOW_FILLThe estimated sell-order fill of the output (the units listed at or below the cheapest ask plus the requested quantity, against the sell-side half of daily volume; see Patient listing realism) exceeds 7 days. Cost legs keep the plain quantity-versus-volume rule. Not raised for an output with no sell order and no contract ask (NO_SELL_ORDERS).Warn; strong above 28 days.
NO_HISTORYMarket history has fewer than seven days.Warn
Order book and price
THIN_BOOKSell order count is 2 or less, or the top sell order has more than 80% of sell quantity. An output with no sell order and no contract ask gets NO_SELL_ORDERS instead, and a required input or build material priced from contract asks gets CONTRACT_PRICED_INPUT.Warn
WIDE_SPREADSell minimum is more than 50% above buy maximum. Not raised for an output with no sell order and no contract ask, or for a required input or build material priced from contract asks.Warn
PRICE_SPIKECurrent sell minimum is more than twice the 28-day median price. Not raised for an output with no sell order and no contract ask, or for a required input or build material priced from contract asks.Strong
BUY_SPIKECurrent buy maximum on the output is more than 1.5x the 28-day median price. Buy maxima normally sit below the median, so this usually means a seeded buy wall is inflating the buy-order valuation.Strong
OFF_HUBCheapest sell order is not at Jita 4-4. An output with no sell order and no contract ask gets NO_SELL_ORDERS instead, and a required input or build material priced from contract asks gets CONTRACT_PRICED_INPUT.Warn, or strong when multiple significant cost legs are off-hub.
INSUFFICIENT_DEPTHPersisted order-book depth does not cover the requested fill of the output's buy-order sale, a required input or a build material; the message names each short leg. A sell-order listing is valued at the cheapest ask and takes no orders, so it is never short. Contract-priced outputs are exempt, their cost legs are not.Strong
Missing prices and contract prices
UNPRICED_INPUTA required input or build material has no sell orders in Jita and no public-contract ask read within the last 30 days, so it cannot be bought and has no price. The row's input or build cost, capital, net profits, ISK/LP and ROI are shown as unknown rather than counting that leg as free, and the row is left out of ISK-budget results.Strong
NO_SELL_ORDERSAn output has no sell order and no contract ask, so a sell-order listing has no price (see Depth walking). Its sell-order value, net profit, ISK/LP and ROI are shown as unknown; the buy-order values do not change.
How it combines with other flags

The output gets this flag in place of THIN_BOOK and OFF_HUB, and no SLOW_FILL, WIDE_SPREAD or PRICE_SPIKE, since there is no sell order for them to describe. LOW_VOLUME, NO_HISTORY and BUY_SPIKE read market history and buy orders and still apply. An offer with several outputs gets one flag that names each output without a price.

Strong
CONTRACT_PRICEDThe product cannot be listed on the regular market (no market group, typically a faction blueprint copy) and is valued from scam-filtered public-contract asks in The Forge: blueprint copies are normalized to price per run, decoy listings are screened by a recipe cap (a copy's per-run value cannot exceed what the built product sells for) and a band anchored on the cheapest credible ask, and at least two independent asks must survive. The patient basis skips the sales tax and broker fee because item-exchange contracts pay only a flat creation fee; no instant-sell value exists.
The two rows of a blueprint offer

Blueprint offers with both a manufacture recipe and a contract price appear twice: a (sell) row for the direct contract sale and a (manufacture) conversion row whose net profit keeps total-realization math; the consumed copy is paid for in LP, so its contract value is excluded from net profit, capital required, and ROI alike, and the (sell) row is where that value surfaces. The (sell) row's only ISK cost is the token LP-store fee, so it shows no ROI (like ISK/hour): its return is measured per LP, not per ISK. Both are hidden until the BPC control enables them.

Warn
NICHE_DEMANDA contract-priced blueprint copy where one copy covers at least half a day of the built product's entire Jita demand (copy runs against the product's 28-day average daily volume). The whole market absorbs only a handful of fresh copies per day, so sale velocity, not LP/hour, caps what the offer can actually earn; the flag message states the copy-to-demand ratio.Warn
CONTRACT_PRICED_INPUTA required input or build material has no sell order in Jita and is priced from scam-filtered public-contract asks read within the last 30 days instead: every unit at the cheapest of them, with no depth limit. Raised when that leg is 5% or more of the row's priced capital, the share at which a cost leg's market flags count. The message names the leg, the number of asks and the day they were read.
How it combines with other flags

The leg gets this flag in place of THIN_BOOK, OFF_HUB, WIDE_SPREAD and PRICE_SPIKE, which describe sell orders it does not have; LOW_VOLUME, NO_HISTORY and SLOW_FILL read market history and still apply, so a leg with no market history gets three warnings and the row is hidden while Hide suspicious is on. Each such leg gets its own flag, so a row with two of them is hidden too. An output sold through contracts gets CONTRACT_PRICED instead.

Warn
Cargo volume
HEAVYPackaged cargo volume is above 100 m3 and at or below 500 m3.Warn; shown as a yellow flag.
VERY_HEAVYPackaged cargo volume is above 500 m3.Strong visual; shown as a red flag.
Product type and store access
VANITYThe product is a vanity or cosmetic item: SDE apparel, SKIN, or personalization categories and groups, or a SKIN-named type.Warn; frontend chip from row metadata.
RISK_LOWSECBest known LP-store access is a low security station (see Risk and access); highsec-accessible rows get no chip.Warn; frontend chip from row metadata.
RISK_NULLSECBest known LP-store access is null security or wormhole space.Strong; frontend chip from row metadata.
RISK_UNKNOWNNo known NPC station for the corporation, so the access risk tier is unknown.Strong; frontend chip from row metadata.

Search and grouping

Each search word must be the start of a word in the offer or product name. The corporation box filters only when its text names exactly one corporation or faction, and by default identical offers sold by several stores share one row.

How search matches words

The compute step materializes offer names, product signatures, risk/source fields, flag counts, ratios, and compact API summaries into calc, and rebuilds the SQLite FTS search index for offer and product names when one of those names changed. Search splits text into words the way that index does, so hyphens, apostrophes and other punctuation separate words, and each search word must be the start of a word in the offer or product name: mid-grade crystal and mid grade crystal return the same rows, and gun does not match Railgun. The same rule applies whether a request is answered from the precomputed table or recomputed live.

Picking a corporation or faction

Corporation filtering uses a name autocomplete over corporations and factions together. Text applies a filter only when it names exactly one owner.

The full name of a corporation is checked first, then the full name of a faction. After that the corporations set the rule: the start of a name, else the start of a word in a name (such as Tribunal), whichever of the two first matches any corporation. Factions that match by that same rule count beside the corporations, so eve, which starts EverMore but only a word of Sisters of EVE, matches one corporation and two factions (EverMore and Servant Sisters of EVE) and applies no filter. A faction whose only listed corporation is the other match does not count as a second owner: Mordu starts Mordu's Legion and the Mordu's Legion Command faction, and picks the corporation. Text that matches no corporation is checked against the factions alone by the same two rules, so Gall picks Gallente Federation.

A corporation scopes the leaderboard to that single owner; a faction scopes it to every listed corporation in the faction, and the note under the box says how many (Showing all 49 Caldari State corporations.). Both relax the faction-warfare, special-source, and no-Security-agent guardrails as noted under Risk and access. When the text names a corporation without being its full name, the note names the corporation being shown.

Text that matches no owner, or several (Caldari starts six corporation names and Caldari State; Thukker starts Thukker Mix and the Thukker Tribe faction), applies no filter: the box is marked, the note repeats the text and counts the corporations and factions it matched, and the table, URL and CSV link stay on all corporations until one is picked. Letters from inside a word, such as ke from Thukker, match nothing. The suggestion list marks each faction with its size, as in Caldari State (Faction, 49 corporations).

A link carries a corporation ID or a faction ID, and keeps the corporation when it has both. The box shows the linked owner's name; if the corporation list fails to load, the note says the rows are filtered by that ID, and an ID that is not in the list is dropped, with a note, in favour of all corporations.

How duplicate stores are grouped

Identical offer economics are grouped by default so duplicate corporation stores do not crowd out distinct opportunities; "Show duplicate stores" returns each store row. A grouped row names its least risky store: the one with the safest access tier (highsec, then lowsec, then nullsec), then the one with the safest HQ, then the first by corporation name. That is the store its drawer shows and the first one its tooltip lists, under every sort. The drawer names the other stores in its "Also sold by" row, each linked to that corporation's mission hubs in the agent finder.

The default list groups six stores that sell Gallente Drone Specialization for 3,000 LP into one row and names Federal Intelligence Office, the first by name of the three highsec stores. The Servant Sisters of EVE list names Sisters of EVE for Cybernetic Subprocessor - Basic: all three stores that sell it have their HQ in nullsec X-7OMU, and only Sisters of EVE also has highsec stations.

A faction selection groups the same way, among that faction's corporations only: all 49 Caldari State corporations sell Limited Cybernetic Subprocessor - Beta at the same LP and ISK cost, so the Caldari State list shows it on one row with a store count of 49, and "Show duplicate stores" gives each of the 49 stores its own row. A corporation selection always lists every row of its one store, so "Show duplicate stores" is disabled while one corporation is selected; its setting is kept and applies again once the selection is cleared or a faction is picked.

Known limitations

  • Market pricing is Jita-only.
  • No ESI OAuth or per-character standing import exists in v1.
  • Manufacturing supports the Material Efficiency facility presets and an EIV-based job installation fee, but not per-blueprint Time Efficiency, structure-specific job-cost bonuses, or T2 reaction-chain modeling.
  • Market history is summarized for liquidity and spike checks, not shown as long-range charts.
  • The fill estimator assumes half of daily volume consumes the sell book and a fixed two-day relist cadence; ESI does not publish trade direction or order ages, so both are priors rather than measurements.
  • The visible client ID is a support diagnostic only, not an ESI identity or account link.
  • The missions section at /missions/ is a separate static reference surface and does not change LP calculations.
  • The current LP frontend is served directly at the /lp base path.

Running the site

The last three sections cover the refresh schedule, how the leaderboard page loads, and what the API reports. They are written for whoever runs the site or builds on its API.

Refresh cadence

Hot market prices refresh every 15 minutes and every referenced market type refreshes hourly. LP offers, adjusted reference prices and market history refresh once a day, after EVE downtime.

The scheduler refreshes:

  • Hot market prices every 15 minutes, for the market types behind the first 100 rows of each default sort.
  • Every referenced market type hourly at minute 53, from the full order book of The Forge, Jita's region.
  • After EVE downtime (11:00 UTC): database backup at 11:51 UTC, LP offers at 12:09 UTC, adjusted reference prices at 12:13 UTC and market history at 12:17 UTC, after ESI publishes the previous day at 11:05 UTC.
  • An hourly check reruns any daily fetch that failed or missed its slot. It also reruns a database backup that failed or was missed, and the 12:03 UTC SDE check when it could not reach CCP or was missed.
Startup, ESI caching and retries

Startup warmup fills missing or stale SDE, LP, market, and history data before normal cadence takes over. Fetchers honor ESI Expires headers: most responses are kept in the SQLite ESI cache until they expire, and the hourly bulk read of The Forge's order book keeps only each page's Expires time, so a second read within 5 minutes waits for it instead of downloading the same pages again.

They retry an ESI 5xx answer up to three times, after 2, 4 and 8 seconds, and a dropped connection or timeout once. When ESI reports fewer than 20 errors left in its error-limit window, every request waits for the window to reset.

When ESI answers a market-order, market-history or LP-store request with an empty body, the fetcher keeps that item's previous prices, history or offers instead of reading the gap as "no orders", and the run records which items it skipped. If more than 5% of a run's items come back empty, the run counts as failed.

What the freshness chips in the header report

The leaderboard header reports hot and cold market-price ages separately, LP offer freshness as a daily feed, and an overall Updates OK or Needs attention state from /api/health. That state counts data problems only: a price, LP or history fetcher that failed, is overdue or has never run, an empty required table, a leaderboard recompute that failed or has stopped, a failed Cloudflare purge, and trending fits that failed or are missing. A failed or overdue database backup, old backups that could not be deleted, and a failed SDE check are not among them, because none of them changes a number on this page; the owner reads those from the issues list of /api/health and from the logs.

A fetcher run that skipped items because ESI returned an empty body for them shows Needs attention until that fetcher's next clean run, and so does a market history run that finds ESI's history 2 or more days behind. A daily LP timestamp that is a few hours old is expected; hot prices are the freshness signal that should normally move every 15 minutes.

While the page is open and visible it asks /api/health again every 5 minutes, and at once when a hidden tab comes back after 5 minutes or more; between requests the ages and their colors are recomputed every minute. If a health request fails, or gets no answer within 15 seconds, the chips read unavailable instead of keeping the last good state. An answer without the data-problem state (visitor_status), such as one from an older server, also leaves the overall chip unavailable.

Frontend loading and diagnostics

The leaderboard page reuses recent results from a session cache, and every API call carries a browser client ID that is also shown in the header.

Loading and the session cache

The LP page starts the rows, corporations, and health requests without blocking the browser page-load event. It renders skeleton rows for a first load, reuses session-cached rows immediately for repeated filters, ignores stale filter responses, builds an offer's detail drawer only when its row is opened, and shows a compact topbar loading state only while the current request is still active.

The session cache holds at most 6 filter states and 2 million characters (a 100-row response is 0.36 to 0.81 million), dropping the least recently used first; when the browser's storage quota is full it frees older entries and retries once, then loads that filter state from the network only.

Client ID and request IDs

A persistent browser client ID is shown in the header and sent as X-EVE-Client-Id on API calls. The server also returns a fresh X-Request-Id for every request and writes problem-only JSON lines for 4xx and 5xx responses to logs/http-problems.log. The visible client ID helps correlate a player report without exposing request IDs in the UI.

API and health

Each client, counted by IP address, gets 180 API requests per minute. /api/health reports data freshness and current issues, and POST /api/refresh recomputes the leaderboard for a caller with the admin token.

Rate limits and shared cache entries

Each client has one budget of 180 API requests per minute, shared by every endpoint at /api/* and /lp/api/*, for GET, HEAD and POST alike; responses set permissive CORS. A client is an IPv4 address, or the /64 prefix of an IPv6 address.

A leaderboard request that no cache can answer is computed on the spot, and each such computation is charged to the client by the time it takes: 10 seconds per minute, which is at least 23 filter changes or hundreds of searches. Past that the API answers 429 with live_compute_rate_limited and a Retry-After header.

Query strings that ask for the same list share one cached response: parameter order, repeated or unknown parameters, number spellings, upper or lower case in a search, and values the calculation clamps anyway (an n above 1000, Accounting above V, a facility while manufacture rows are hidden) all map to the same entry.

What /api/health reports

/api/health reports

  • fetcher freshness,
  • fetcher runs that skipped items (or, for market history, found ESI's history 2 or more days behind),
  • empty core tables,
  • database size,
  • the last compute (its time, compute_failed while the latest recompute failed, and compute_stale when the leaderboard has waited more than 30 minutes for a recompute and none has succeeded in that time; the previous leaderboard stays served until a recompute succeeds),
  • the last database backup (a failed one or one older than 26 hours is listed as an issue, and backup_rotation_failed means the backup was written but old backups could not be deleted),
  • SDE import metadata,
  • the last SDE check (sde_refresh_failed while the latest one failed),
  • the stored trending-fits result and its last refresh (fits_trending_failed when the last one failed, fits_trending_missing when a window still has no stored result 10 minutes after startup),
  • and the size of the in-memory response caches.

Its status is degraded while its issues list is not empty. visitor_status and visitor_issues are the same two without backup_failed, stale_backup, backup_rotation_failed and sde_refresh_failed; the header chip and its tooltip read them, except in a browser where the site owner turned on the owner view, where they read status and issues.

Recomputing on request

POST /api/refresh recomputes the leaderboard, answers once the new result is published, answers 409 with refresh_busy while another recompute or a data command holds its lock, and requires X-Admin-Token.

Compute, stored responses and Cloudflare

Each compute runs on a worker thread beside the request handler, rewrites only the calc rows whose numbers changed, and then materializes the canonical leaderboard, CSV, and corporation responses into SQLite with ETags and Brotli bodies. The browser revalidates leaderboard responses on every use and Cloudflare holds them for up to 15 minutes, so a reload never shows rows from an older compute than the edge has; health stays short-lived. When Cloudflare credentials are configured, compute purges the LP API prefixes; deploys that change unhashed LP HTML/CSS/JS should run the static purge helper after build.