Last Quote
GET
/v1/last_quote/currencies/{from}/{to}
Retrieve the most recent quote for a specified forex currency pair, including bid, ask, exchange, and timestamp. This endpoint provides up-to-date pricing data to inform currency trading strategies, market analysis, and application development.
Use Cases: Real-time forex monitoring, algorithmic trading, analytical insights, application development.
Path Parameters
from
string
required
The "from" symbol of the pair.
to
string
required
The "to" symbol of the pair.
Response Attributes
last
object
optional
Contains the requested quote data for the specified forex currency pair.
ask
number
The ask price.
bid
number
The bid price.
exchange
integer
The exchange ID. See Exchanges for Polygon.io's mapping of exchange IDs.
timestamp
integer
The Unix millisecond timestamp.
request_id
string
A request id assigned by the server.
status
string
The status of this request's response.
symbol
string
The symbol pair that was evaluated from the request.