Products

Charts

Resources

Products

Charts

Resources

Back to Blog

by Finage at November 12, 2020 3 MIN READ

Stocks

Stok Market API – Technical Usage Guide

 

Stock market APIs are hard to find and usually, they have low performance and high latency. In this post, we will find a better way. 

We will discuss the Stock News, Stock Details, and the Market Status APIs in this
post. If you need a historical stock API or real-time stock WebSocket you can visit
finage.co.uk.

If you need a historical stock API or real-time stock WebSocket you can visit
finage.co.uk.

Stock Details API

Stock details API is very important. If you are building a financial application, you will
need to serve all details of the stock market.
For example, let’s talk about Apple Inc. (AAPL). Your customers might want to see all
details of the AAPL.

https://api.finage.co.uk/detail/stock/AAPL?apikey=YOUR_API_KEY

This API request will send a response you like given below.

{
  "symbol": "AAPL",
  "logo": "https://finage.s3.eu-west-2.amazonaws.com/stock/logo/AAPL.png",
  "name": "Apple Inc.",
  "url": "http://www.apple.com",
  "description": "Apple Inc is designs, manufactures and markets mobile   communication
and media devices and personal computers, and sells a variety of related software,
services, accessories, networking solutions and third-party
applications.",
digital content and
  "exchange": "Nasdaq Global Select",
  "ceo": "Timothy D. Cook",
  "industry": "Computer Hardware",
  "state": "CA",
  "address": "1 Infinite Loop Cupertino CA, 95014",
  "employees": 123000,
  "sector": "Technology",
  "marketcap": 908316631180
}

In this response, you can find all details about the company.

 

Market Status API

Stock markets and the FX market are not open 24/7. If you need an API that shows the
current status of the market, then you can use the Market Status API.


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


It’s very easy to use and it will respond like the given example below.

{
  "market": "open",
  "exchanges": {
    "nyse": "open",
    "nasdaq": "open",
    "otc": "open"
  },
  "currencies": {
    "fx": "open",
    "crypto": "open"
  }
}


In the stock chart pages of your website or, if you are building a trading application then
this API will be very useful for you.

Market News API

The Market News API is very useful for your website or application. With this API, you can
get the latest news about the company. Currently, news is coming from one source, Finage
is improving the API and adding new sources.


https://api.finage.co.uk/news/market/amzn?apikey=YOUR_API_KEY


Response;

[
  {
    "title": "Rotating Into Consumer Discretionary? This 1 Stock Is Making it   Harder",
    "description": "If you're adding consumer discretionary ETFs to your portfolio, you may
not be buying exactly what you think you are.",
    "url": "https://finance.yahoo.com/m/d04776c9-8d6b-3f65-8049-30b92939a260/rotating-
into-consumer.html?.tsrc=rss"
  },
  {
    "title": "Why Wall Street Loved Alphabet's Q3 Earnings",
    "description": "Investors were watching\u00A0Alphabet (NASDAQ: GOOG) (NASDAQ:
GOOGL) closely when the company reported third-quarter results late last month. In this
segment of\u00A0Fool Live recorded on Oct. 30, senior technology specialists Daniel
Sparks and Danny Vena join \"The Wrap\" host Jason Hall to discuss how the tech
company returned to growth in Q3. Jason Hall: Daniel, Danny, who wants to lead off with
what's going on with Alphabet?",
    "url": "https://finance.yahoo.com/m/6d9038e1-517d-355e-a279-5ed08e2f4c87/why-
wall-street-loved.html?.tsrc=rss"
  },
  {
    "title": "How Singles' Day compares to Black Friday and Amazon Prime Day",
    "description": "Alibaba’s Singles' is the biggest online shopping event in the.world.
Here's how it stacks up against Black Friday, Cyber Monday, and Amazon Prime Day.",
    "url": "https://finance.yahoo.com/news/how-singles-day-compares-to-black- friday-
and-amazon-prime-day-210545606.html?.tsrc=rss"
  },
  …
]

Faster APIs

Given APIs above are coming from the cache, they are not coming from the database.
Finage’s caching the data according to data refresh rate and request frequency. The
Cache Engine will offer you the best performance in the market.

GET YOUR FREE STOCK API KEY

You can get your free API key with the given link below;


https://moon.finage.co.uk/register?subscribe=API00


If you need more detailed information, you can visit the documentation.

Back to Blog

Request a consultation

Blog

Impact of AI on Forex Trading: Analyzing Advancements & Integration

Forex along with the entire financial market has seen many changes over the years and a lot of emphasis has been placed on the desire for automation. As you probably figure it out, this is something that Artificial Intelligence (AI) can help out with. When you consider just how prominent technolo

Why Crypto & Blockchain Are So Important in 2024?

In the last three years, there has been a small reduction in the buzz around crypto. This was mostly due to several factors including the pandemic, major scandals, and regulation issues in the crypto business, such as exchange hacks, fraudulent initial coin offerings (ICOs) and governmental restri

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