Hashrate IndexAPI DocumentationStocks

Get Market News

GET
/stocks/market-news

/stocks/market-news has rate limitation:

Initially, the API allows for a burst of 20 requests, and afterward, it gradually restores 1 request every 15 seconds until reaching the maximum allowable limit of 20. This limitation is imposed to manage and control the rate at which requests can be made to the API, preventing potential misuse or excessive use of resources.

Stock Market News

This endpoint provides the latest news and updates related to the stock market, focusing on companies and sectors relevant to our data scope. It aggregates news from trusted financial news sources and presents it in a structured format. This feature is invaluable for investors and analysts who need to stay informed about market trends, announcements, and events that could impact stock prices and investment decisions.

Authorization

ApiKeyAuth
X-Hi-Api-Key<token>

In: header

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/stocks/market-news"
{  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/MarketNewsData.json",  "data": [    {      "category": "string",      "headline": "string",      "source": "string",      "stock": "string",      "summary": "string",      "timestamp": "2019-08-24T14:15:22Z",      "url": "string"    }  ]}
{  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/ErrorModel.json",  "detail": "Property foo is required but is missing.",  "errors": [    {      "location": "string",      "message": "string",      "value": null    }  ],  "instance": "https://example.com/error-log/abc123",  "status": 400,  "title": "Bad Request",  "type": "https://example.com/errors/example"}
{  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/ErrorModel.json",  "detail": "Property foo is required but is missing.",  "errors": [    {      "location": "string",      "message": "string",      "value": null    }  ],  "instance": "https://example.com/error-log/abc123",  "status": 400,  "title": "Bad Request",  "type": "https://example.com/errors/example"}
{  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/ErrorModel.json",  "detail": "Property foo is required but is missing.",  "errors": [    {      "location": "string",      "message": "string",      "value": null    }  ],  "instance": "https://example.com/error-log/abc123",  "status": 400,  "title": "Bad Request",  "type": "https://example.com/errors/example"}