Which Fees and Spreads Should You Check for a Broker API

Check broker API fees spreads independently to estimate execution costs and limits.

Direct answer

When using a Broker API for forex trading, the most important fees and spread-related items to check are the ones that can change your total trading cost from the prices you see in documentation to the effective prices you receive after execution. Published pricing inputs usually include commissions and any financing charges, while execution outcomes depend on how spreads behave and how orders are actually filled.

A practical way to think about it is: separate (1) relatively stable “published cost components” from (2) “variable execution outcomes” that can change with market conditions and order handling.

Mechanism and definition

A Broker API typically exposes two different categories of cost information:

  1. Published pricing and fee components: items documented by the provider that you can treat as inputs when estimating cost. Examples commonly include:
  • Commission or trading fee per order or per volume.
  • Financing-related charges for holding positions over time (often described as rollover, swap, or overnight financing).
  • Non-trading service fees (for example, platform access or API/service fees), if applicable.
  1. Spread behavior during execution: the spread is the difference between a reference buy and sell price used for converting your intent (buy/sell) into a fill. What matters for cost is not only the spread’s number, but also how the number is produced and applied:
  • Whether the API/documentation describes fixed vs variable spreads.
  • Whether the quoted spread is a reference that may widen during volatility.
  • Whether there are execution-time adjustments such as price improvement, requotes, or fill rules that change the effective difference you pay.

Key assumption for any calculation: you are estimating effective cost, so you must decide which documented values are inputs (commissions, financing) and which are uncertain (execution spread and fill price).

Evidence or example (how to validate with assumptions)

Even without live market data, you can validate that you checked the right items by doing a structured “cost model” using stated assumptions.

Example cost model (generic):

  • Assume you trade one currency pair with a stated commission per lot and a documented financing rate per day.
  • Assume the spread is variable, so you choose a conservative “spread scenario” value for estimation.
  • Assume your order fills fully at one execution price (not always true, see limitations).

Then compute total estimated cost as:

  • Trading fee (commission) + financing/rollover (if you hold) + effective spread cost (difference between buy and sell sides as applied to your direction)

Finally, compare your estimate to what the execution confirmation shows (fill price, any commission breakdown, and any financing applied). If the confirmation differs, the missing item is usually either:

  • a fee component you didn’t include (e.g., a service charge or a particular financing definition), or
  • an execution rule you didn’t account for (e.g., slippage or partial fills).

Limitations and risks (material failure modes)

Several limitations can make “checking fees and spreads” incomplete unless you also account for execution uncertainty:

  • Slippage and timing risk: even with an expected spread, actual fill price can move between order submission and execution.
  • Partial fills: if one order fills in multiple trades, commission and effective spread costs can differ across fills.
  • Requotes or price revalidation: some systems may require updated pricing, changing effective cost versus the original quote.
  • Spread widening during volatility: spreads that are “normally small” can widen quickly, increasing effective cost.
  • Different definitions of “spread”: documentation may use a reference spread, while confirmations reflect effective prices after internal venue rules.
  • Venue/jurisdiction differences: the same API concept can behave differently depending on account type, routing, or local policies.

Historical relationships do not guarantee future outcomes, because execution quality and fee application can change with market conditions, provider configuration, and order parameters.

Verification or next question

To independently verify the facts you need, look for these categories in the provider’s API documentation and account fee schedule:

  1. A full fee checklist: commission/trading fee, any rollover/financing terms, and any service/API fees.
  2. A spread/price application description: how spreads are quoted, whether they are fixed or variable, and what happens at execution time.
  3. A breakdown of execution confirmations: the fields that show commission, fill price, and any financing applied.
Trading foreign exchange and CFDs involves substantial risk. Information on FoxiForex is educational and is not personal financial advice. Sponsored placements are labelled clearly.