smallcase related news

The API returns data for news, articles or blogs, related to the stocks in the smallcase. The API provides the data for the articles/blogs like headline, date, image, link to blog/article, publisher, summary etc

<<apiUseCaseTerm>>: This API is ideal when you want to display relevant articles/blogs to the user corresponding to a particular smallcase

get/{gatewayname}/engine/market/news

Request

  • Base URL
    https://gatewayapi.smallcase.com/v1
  • URL
    https://gatewayapi.smallcase.com/v1/{gatewayname}/engine/market/news
  • Auth
    none required

Path parameters

gatewaynamestring required

Query parameters

scids[]string[]

Optional | array of smallcase Ids, for which relevant news are to be fetched

countinteger required

Required | Positive integer | number of news items expected in response

offsetinteger required

Requited | Positive integer | Index from which the news item will be returned

Headers

x-gateway-secretstring required

Required | apiSecret shared for authentication

x-gateway-authtokenstring required

Required | JWT signed with shared secret & payload of guest user or connected user

Response

200

successboolean
errorsunknown

Example response

{
  "success": true,
  "data": [
    {
      "_id": "60346d081173dda4f2b67ef0",
      "headline": "Gold Steadies After Sharp Gain With Powell’s Testimony in Focus",
      "createdAt": "2021-02-23T02:48:40.318Z",
      "date": "2021-02-23T13:44:10.000Z",
      "imageUrl": "https://pocket-image-cache.com/direct?url=http://gumlet.assettype.com/bloombergquint%2F2021-02%2Fa7199e70-1adf-4f37-8a03-5dd7330040e1%2F363631805.jpg?rect=0%2C0%2C4000%2C2100&w=1200&auto=format%2Ccompress&ogImage=true",
      "link": "https://www.bloombergquint.com/global-economics/gold-holds-gains-with-powell-s-testimony-stimulus-in-focus",
      "publisher": {
        "publisherId": "www.bloombergquint.com",
        "logo": "https://assets.tickertape.in/images/news-publishers/bloombergquint.png",
        "name": "Bloomberg Quint"
      },
      "summary": "Gold rose for a third straight session as investors awaited testimony from Federal Reserve Chair Jerome Powell.",
      "updatedAt": "2021-02-23T13:54:34.617Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.