A currency quote on a phone screen may look like a single number. But in practice, several systems work together to deliver it. Liquidity providers publish prices that a broker’s pricing engine processes into a tradable quote, before an API delivers the information to the user’s screen.
Placing a trade sends a message back along the same path, while the money moves on a separate network. Following that path shows how APIs have become the layer linking everyday software to global markets.
Why Financial Markets Use Standardized Messages
Before financial APIs became common in consumer applications, trading firms needed a shared way to exchange information. To resolve this problem, Fidelity Investments and Salomon Brothers created a protocol called FIX in 1992. Standardization was the real value of FIX. Firms using this protocol could exchange trading messages without building a separate communication system for every new counterparty.
Over time, FIX became a widely adopted messaging standard for institutional trading, supporting forex trading as well as transactions in equities, fixed-income securities and derivatives. The standard continues to be maintained by the non-profit FIX Trading Community.
Retail applications connect to currency markets through different tools. Many brokers offering services to individual traders use web APIs built on HTTPS and JSON, which developers can call from Python or JavaScript without specialist FIX libraries. One of the first tasks these APIs handle is delivering current market prices to an application.
How APIs Deliver Market Prices
On the broker side, a pricing engine can aggregate quotes from several liquidity providers into a single mid-point and apply a spread around it. That mid-point shifts constantly as wholesale prices move.
Delivery is where API design gains importance. Polling a REST endpoint wastes requests and still delivers stale data, because quotes can change more than once a second. Streaming solves this. OANDA's v20 pricing stream, for example, holds one HTTP connection open and pushes newline-delimited JSON as prices update. It also sends a heartbeat every five seconds so that the client can tell the difference between a quiet market and a dropped connection.
For DevOps teams, heartbeat also serves as a health check. If an application stops receiving price updates and heartbeats, it should attempt to reconnect and trigger an alert rather than continue displaying potentially outdated quotes. But delivering a price is only part of the process.
How Applications Submit Orders
Orders are made from the application to the broker, through authenticated REST requests. However, if a request times out, the user cannot know whether the trade went through, and may continue resubmitting blindly. This creates the risk of doubling a position. Attaching a client-generated ID to every order removes the guesswork, because the v20 API lets an application look up an order by that ID before retrying.
Account state needs similar care. Applications should retrieve a complete account snapshot when they start, then request only the updates recorded since the last transaction ID. Developers should also respect API rate limits, reuse persistent connections where possible and avoid opening unnecessary new connections.
In a containerized environment, repeated restarts or poorly managed retries can quickly generate excessive requests. Implementing exponential backoff helps prevent an application from overwhelming an API when requests fail.
How Banks Process Payments
Funding an account or settling a cross-border payment depends on interbank messaging, which has recently been rebuilt. Swift ended the coexistence period between its legacy MT format and ISO 20022 for cross-border payments in November 2025, after a transition that began in March 2023. Within days, SWIFT reported that 97% of payment instructions were already using the new standard.
ISO 20022 replaces loosely formatted text with structured data, so details such as names and addresses arrive in defined fields rather than free-form text. Applications that read and process those fields can automate reconciliation with far less manual review. Yet every added connection is also another place where a failure can spread.
What Happens When a Software Fails
The Knight Capital incident remains one of the clearest examples of how a software deployment failure can disrupt financial markets. In August 2012, the firm rolled out new code to SMARS, its automated equity order router. A technician failed to copy it to one of eight servers, and nobody checked the deployment. Once markets opened, that server ran retired logic and sent more than 4 million orders while trying to fill just 212 customer orders. In roughly 45 minutes, it built up positions that ultimately cost the firm more than $460 million.
The SEC's findings highlighted several failures that DevOps teams will recognize. Automated emails had flagged an error before the market opened, but these were not designed as actionable alerts, and the system had no effective mechanism to stop order flow when its behavior became abnormal.
The lessons apply directly to modern deployment pipelines. Automated release checks should verify that every server or node runs the same approved build. Any service capable of sending orders also needs a kill switch tied to preset limits.
Keeping Financial APIs Reliable
Modern financial applications connect to global markets through layered interfaces. Prices and orders reach consumer apps through streaming and REST APIs built on decades of institutional standards, while the money underneath moves on structured interbank messages. For the engineers maintaining those links, the job comes down to the habits that keep any production system healthy, applied to software where a single request can move real money.

