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

Crypto Last Trade API

You can get the prices in Real-Time with this endpoint.

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


Params

  • symbol
    = Crypto symbol that you want to get price

Queries

  • apikey
    = Your API key

https://api.finage.co.uk/last/crypto/btcusd?apikey=YOUR_API_KEY


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

Response

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

Please login to make an API request

{
  "symbol": "BTCUSD",
  "price": 56385.08,
  "timestamp": 1620757059440
}

Crypto Last Quote API

You can get the last quote prices in Real-Time with this endpoint.

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


Params

  • symbol
    = Crypto symbol that you want to get price

Queries

  • apikey
    = Your API key

https://api.finage.co.uk/last/quote/crypto/btcusd?apikey=YOUR_API_KEY


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

Response

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

Please login to make an API request

{
  "symbol": "BTCUSD",
  "ask": 56385.07,
  "asize": 0.075349,
  "bid": 56385.06,
  "bsize": 0.36976,
  "timestamp": 1620757064667
}

Crypto Aggregates API

With the Crypto Market Aggregates API, you can get the tick bars of the crypto market.

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


Params

  • symbol
    = Symbol of the crypto
  • multiply
    = Time multiplier [1, 3, 5, 15, 30]
  • time
    = Size of the time. [minute, hour, day, week, month]
  • from = Start date
  • to = End date

Queries

  • apikey
    = Your API key
  • limit
    = Limit of the results. Default is 500, maximum allowed limit is 30000. 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/crypto/BTCUSD/1/day/2020-02-05/2020-02-07?apikey=YOUR_API_KEY


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

Response



Please login to make an API request

{
  "symbol":"BTCUSD",
  "totalResults":3,
  "results":[
    { "o":9164.33,"h":9775,"l":9142.52,"c":9613.82,"v":54480.149862462065,"t":1580860800000 },
    { "o":9613.91,"h":9863.39,"l":9520,"c":9763.01,"v":61112.15618754777,"t":1580947200000 },
    { "o":9763.01,"h":9885,"l":9683.9,"c":9805.2,"v":45132.69009042265,"t":1581033600000 }
  ]
}
  • Parameters
    • symbol
      = Symbol of the crypto
    • totalResults
      = Total result size
    • o
      = Open price
    • h
      = High price
    • l
      = Low price
    • c
      = Close price
    • v
      = Volume
    • t
      = Timestamp [ms]

Crypto Previous Close API

With the Crypto Previous Close endpoint, you can get the previous day's last tick bar of the crypto market.

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


Params

  • symbol
    = Symbol of the crypto

Queries

  • apikey
    = Your API key

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


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

Response



Please login to make an API request

{
  "symbol": "BTCUSD",
  "totalResults": 1,
  "results": [
    {
      "o": 55816.14,
      "h": 56850,
      "l": 54370,
      "c": 56672.24,
      "v": 57725.397404,
      "t": 1620691200000
    }
  ]
}
  • Parameters
    • symbol
      = Symbol of the crypto
    • totalResults
      = Total result size
    • o
      = Open price
    • h
      = High price
    • l
      = Low price
    • c
      = Close price
    • v
      = Volume
    • t
      = Timestamp [ms]

Crypto Market Depth API

You can get every single trade with one API request. We are providing Level 1 data.

https://api.finage.co.uk/depth/crypto/{ symbol }?apikey=YOUR_API_KEY


Params

  • symbol
    = Crypto symbol

Queries

  • apikey
    = Your API key

https://api.finage.co.uk/depth/crypto/BTCUSD?apikey=YOUR_API_KEY



Response



Please login to make an API request


{
	"bids":[
		["18466.48000000","0.64376500"],
		["18465.93000000","0.00842600"],
		...
	],
	"asks": [
		["18466.49000000","2.25283700"],
		["18467.93000000","0.00817800"],
		...
	]
}
  • Parameters
    • [ price , quantity ]

Crypto Historical Market Depth API

You can get every single trade with one API request in historical. We are providing Level 1 data.

https://api.finage.co.uk/history/crypto/depth/{ symbol }/{ from }/{ to }?limit=LIMIT&apikey=YOUR_API_KEY


Params

  • symbol
    = Crypto symbol
  • from = Start date [Timestamp (ms)]
  • to = End date [Timestamp (ms)]
You can define up to 1 hour between the start (from) and end (to) dates.

Queries

  • apikey
    = Your API key
  • limit
    = Response limit, default is 500. [Maximum 1000]

https://api.finage.co.uk/history/crypto/depth/btcusd/1606392000000/1606394700000?apikey=YOUR_API_KEY



Response



Please login to make an API request


[
	{
		"p":"17281.16000000",
		"q":"0.06082300",
		"t":1606394698681
	},
	{
		"p":"17281.17000000",
		"q":"0.05380600",
		"t":1606394698878
	},
	...
]
  • Parameters
    • p = Price
    • q = Quantity
    • t
      = Timestamp

Crypto Converter API

You can convert crypto by using this API. (eg. BTC to ETH, USD to DOGE, SHIB to BTC etc.)

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


Params

  • from = "From" symbol of the crypto (eg. BTC).
  • to = "To" symbol of the currency (eg. SHIB).
  • amount
    = The amount to convert.

Queries

  • apikey
    = Your API key

https://api.finage.co.uk/convert/crypto/BTC/SHIB/2?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": "BTC",
  "to": "SHIB",
  "amount": 2,
  "value": 1960784313.72549,
  "timestamp": 1635946933092
}

Crypto Snapshot API

Crypto Snapshot API will give you access to all available crypto with one single API request. You can get the latest trades, quotes or both of them with one request.

https://api.finage.co.uk/snapshot/crypto?apikey=YOUR_API_KEY


Queries

  • quotes
    = Enable or disable last quotes. Default is true.
  • trades
    = Enable or disable last trades. Default is false.
  • symbols
    = You can get the data from specific symbols by using this query. If you leave it empty, you will get the all available last data. (Separate symbols with commas.)
  • apikey
    = Your API key

https://api.finage.co.uk/snapshot/crypto?quotes=true&trades=true&symbols=BTCUSD,DOGEUSD&apikey=YOUR_API_KEY

📌 You can enable Gzip compression to obtain the best performance in your application. Check out the pros of the Gzip Compression.


Response



Please login to make an API request

{
  "totalResults": 2,
  "lastQuotes": [
    {
      "s": "BTCUSD",
      "a": 44361.36,
      "b": 44356.82,
      "asz": 0.00043,
      "bsz": 0.19834,
      "t": 1644505310197
    },
    {
      "s": "DOGEUSD",
      "a": 0.1548,
      "b": 0.1547,
      "asz": 133376,
      "bsz": 138504,
      "t": 1644505310197
    }
  ],
  "lastTrades": [
    {
      "s": "BTCUSD",
      "p": 44447.81,
      "sz": 0.1,
      "t": 1644505310197
    },
    {
      "s": "DOGEUSD",
      "p": 0.1550595,
      "sz": 136211.88,
      "t": 1644505310197
    }
  ]
}
  • Parameters
    • s
      = Crypto symbol
    • p = Last trade price
    • a = Last ask price
    • b = Last bid price
    • asz
      = Ask size
    • bsz
      = Bid size
    • sz
      = Trade size
    • t
      = Timestamp (microseconds)
    • totalResults
      = Total incoming symbol number.

Crypto Historical Market Cap API

You can get the market cap between the specified dates with this endpoint.

https://api.finage.co.uk/history/market-cap/crypto/{ name }/{ from }/{ to }?apikey=YOUR_API_KEY


Params

  • name
    = Full name of the crypto
  • from = Start date
  • to = End date
  • ess
    = Enable symbol search query will allow you to make requests by using the short symbol name instead of the full name. (eg. BTC, LTC). [Default is false]

Queries

  • apikey
    = Your API key
  • limit
    = Result limit. Maximum is 10000 default is 1000.

https://api.finage.co.uk/history/market-cap/crypto/dogecoin/2021-04-01/2021-04-30?limit=50&apikey=YOUR_API_KEYa



Response



Please login to make an API request

{
  "name": "dogecoin",
  "totalResult": 50,
  "results": [
    {
      "p": 0.0544,
      "mc": 7014689873,
      "v": 1044102929,
      "t": 1617235661257
    },
    {
      "p": 0.0546,
      "mc": 7046572589,
      "v": 1055710577,
      "t": 1617239843015
    },
    ...
  ]
}
  • Parameters
    • name
      = Full name of the crypto
    • totalResult
      = Total results that found between the specified dates.
    • p = Price
    • mc
      = Market cap
    • v
      = Volume
    • t
      = Timestamp

Request a consultation

Blog

IEX Cloud Shutdown or Why Finage is Your Best Alternative

In May 2024, IEX Cloud announced that they were closing their company and would be retiring on August 31, 2024. Because of this, the IEX customers are now looking for a reliable alternative to maintain their operations. Many of them are stuck in the position of looking into different companies and

Stock Market Mastery: Insights for Today's Investor

In today's fast-paced financial world, navigating the stock market can seem like a daunting task. The constant flux of market trends, coupled with an overwhelming amount of information, can leave even seasoned investors feeling overwhelmed. Yet, mastering the stock market remains an attainable goa

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