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.