Back

Docs /

Getting Started

Gzip Compression

U.S Stocks

Forex

Crypto

CFD Indices

CFD ETFS

UK Stock Market

Indian Market

Canada Market

Russian Market

Bonds

Fundamentals

Forex Last Quote

You can get the last quote for a symbol with this endpoint.

https://api.finage.co.uk/last/forex/{ symbol }?apikey=YOUR_API_KEY


Params

  • symbol = Forex symbol that you want to get prices

Queries

  • apikey = Your API key

https://api.finage.co.uk/last/forex/GBPUSD?apikey=YOUR_API_KEY


With the given example above, you can get the last prices of the GBPUSD.

Response

An example response given below when you make an API request.

Please login to make an API request

{
  "symbol":"GBPUSD",
  "ask":1.36305,
  "bid":1.36292,
  "timestamp":1609875979000
}

Forex Last Trade

You can get the last trade price for a symbol with this endpoint.

https://api.finage.co.uk/last/trade/forex/{ symbol }?apikey=YOUR_API_KEY


Params

  • symbol = Forex symbol that you want to get the last trade price

Queries

  • apikey = Your API key

https://api.finage.co.uk/last/trade/forex/GBPUSD?apikey=YOUR_API_KEY


With the given example above, you can get the last trade price of the GBPUSD.

Response

An example response given below when you make an API request.

Please login to make an API request

{
  "symbol": "GBPUSD",
  "price": 1.37,
  "timestamp": 1618001940
}

Forex Aggregates

With the Forex Aggregates API, you can get the tick bars of the forex symbol.

https://api.finage.co.uk/agg/forex/{ symbol }/{ multiply }/{ time }/{ from }/{ to }?apikey=YOUR_API_KEY


Params

  • symbol = Forex symbol
  • multiply = Time multiplier
  • time = Size of the time. [minute, hour, day, week, month, quarter, year]
  • from = Start date
  • to = End date

Queries

  • apikey = Your API key
  • limit = Limit of the results. Default is 100, maximum allowed limit is 50000. Please set a limit if you are using the API in the production.
  • sort = You can sort the results by timestamp. asc will return ascending results oldest to newest, desc will return descending results newest to oldest. Default is asc.
  • dbt_filter = Daily-based time filter. You can allow the time filters to filter daily based. Otherwise, the filter will only trim the start and end of the output. Default is false.
  • st = Start time in UTC. (Eg. 17:30)
  • et = End time in UTC. (Eg. 17:45)

https://api.finage.co.uk/agg/forex/GBPUSD/1/day/2021-01-01/2021-01-05?apikey=YOUR_API_KEY&st=10:00&et=13:30


You can get the tick bars of the GBPUSD with the given example above.

Response



Please login to make an API request

{
  "symbol":"GBPUSD",
  "totalResults":4,
  "results":[
    {
      "v":254,
      "o":1.3642,
      "c":1.3667,
      "h":1.3677,
      "l":1.3642,
      "t":1609477200000
    },
    ...
  ]}

Parameters

  • symbol = Forex symbol
  • totalResults = Total result size
  • o = Open price
  • h = High price
  • l = Low price
  • c = Close price
  • v = Volume
  • t = Timestamp [ms]

Forex Previous Close

With the Forex Previous Close API, you can get the previous day's last tick bar of the forex market.

https://api.finage.co.uk/agg/forex/prev-close/{ symbol }?apikey=YOUR_API_KEY


Params

  • symbol = Symbol of the forex
  • unadjusted = Unadjust the prices. Default is true.

Queries

  • apikey = Your API key

https://api.finage.co.uk/agg/forex/prev-close/GBPUSD?apikey=YOUR_API_KEY


You can get the previous day's last tick bar of the GBPUSD with the given example above.

Response



Please login to make an API request

{
  "symbol": "GBPUSD",
  "totalResults": 1,
  "results": [
    {
      "o": 1.40456,
      "h": 1.41105,
      "l": 1.4034,
      "c": 1.40948,
      "v": 103566,
      "t": 1621036799999
    }
  ]
}

Parameters

  • symbol = Symbol of the forex
  • totalResults = Total result size
  • o = Open price
  • h = High price
  • l = Low price
  • c = Close price
  • v = Volume
  • t = Timestamp [ms]

Forex Currency Converter API

With this endpoint, you can convert the currencies with the real-time prices.

https://api.finage.co.uk/convert/forex/{ from }/{ to }/{ amount }?apikey=YOUR_API_KEY


Params

  • from = "From" symbol of the currency.
  • to = "To" symbol of the currency.
  • amount = The amount to convert.

Queries

  • apikey = Your API key

https://api.finage.co.uk/convert/forex/GBP/USD/3?apikey=YOUR_API_KEY


With the given example above, you can get the converted price value.

Response

An example response given below when you make an API request.

Please login to make an API request

{
  "from": "GBP",
  "to": "USD",
  "amount": 3,
  "value": 4.2285,
  "timestamp": 1621027210000
}



Request a consultation

Blog

Gamifying Finance: Fantasy Trading and Web3

The interesting thing about the realm of finance is that it is always in a state of evolution. However, when you think of the fact that we are in a digital age, it's hard to think that there's anywhere else to go, but that isn't the case. Enter Web3 and its take on finance which is a new step that

What Are the Key Macroeconomic Indicators to Watch?

If you're a stock market trader, part of your job is to look through every source. You probably use different tools and services like the market data API that is available to seek out information that can be used to traders advantage. Sure, it can provide you with the information you need to gain

Read more

Please note that all data provided under Finage and on this website, including the prices displayed on the ticker and charts pages, are not necessarily real-time or accurate. They are strictly intended for informational purposes and should not be relied upon for investing or trading decisions. Redistribution of the information displayed on or provided by Finage is strictly prohibited. Please be aware that the data types offered are not sourced directly or indirectly from any exchanges, but rather from over-the-counter, peer-to-peer, and market makers. Therefore, the prices may not be accurate and could differ from the actual market prices. We want to emphasize that we are not liable for any trading or investing losses that you may incur. By using the data, charts, or any related information, you accept all responsibility for any risks involved. Finage will not accept any liability for losses or damages arising from the use of our data or related services. By accessing our website or using our services, all users/visitors are deemed to have accepted these conditions.

Finage LTD 2024

Copyright