post https://sandbox.crimescan.ai/v1/news
The News Search API empowers users to query news content with precision, utilizing parameters such as name, context, fuzzy matching, date range (from_date to to_date), and sources. This versatile API provides a comprehensive solution for accessing news data tailored to specific criteria, enhancing the efficiency and relevance of news retrieval processes.
Method: POST
URL : https://prod.crimescan.ai/v1/news
Function: search news regarding entity
Parameters : name, context, fuzzy,from_date,to_date,sources
Authorization : Bearer
Output Type : JSON
fields | Description | Required/Optional |
---|---|---|
entity | Entity name to search | required |
context | Context for entity like “fraud”, “murder” | optional |
fuzzy | 1 or 0 1- fuzzy 0 - exact | Optional default 1 |
from_date | News from date Eg. "2019-12-01" | Optional default all time |
to_date | News to date Eg: "2019-12-31", | Optional default all time |
sources | Name of source. Eg. rss-Times Of India | optional |
Example:
curl -X POST \
https://apis.verify24x7.in/v1/news \
-H 'authorization: Bearer xxxxxxxxxxxxxxxxxxx' \
-H 'content-type: application/json' \
-d '{
"entity":"icici",
"context":"mumbai,delhi",
"from_date":"2019-12-10",
"to_date":"2020-12-10",
"sources":""
}'
Response:
If success-
{
"count": 23,
"hits": [
{
"title": "Sensex drops over 100 pts amid thin global trade",
"article": "Mumbai, Dec 31 () Equity benchmark BSE Sensex tumbled over 100 points in opening session on Tuesday tracking weak global cues as year-end holidays thinned trading across markets.\n The 30-share BSE index fell 108.21 points or 0.26 per cent to 41,449.79, and the broader NSE Nifty slipped 28.10 points or 0.23 per cent to 12,227.75.\n Tech Mahindra was the top loser in the Sensex pack, dropping up to 1.51 per cent, followed by Hero MotoCorp, IndusInd Bank, Mahindra and Mahindra, ICICI Bank and HDFC twins.\n On the other hand, Axis Bank was the top gainer, rising up to 0.42 per cent. Sun Pharma, Ultratech Cement, HUL, ITC and SBI were also trading in the green.\n In the previous session, the 30-share gauge ended 17.14 points, or 0.04 per cent, lower at 41,558. The Nifty, however, closed 10.05 points,",
"link": "https://www.businessinsider.in/business/news/sensex-drops-over-100-pts-amid-thin-global-trade/articleshow/73040371.cms",
"date": "2019-12-31",
"image": "",
"sub_source": "rss-Business Insider India",
"source": "news",
"id": "2f577466e3c2dd61fdc7876be172bdc2"
},
{
"title": "Sensex Tanks 304 Pts On Last Day Of 2019; Nifty Drops Below 12,200",
"article": "
Mumbai: Market benchmark Sensex slumped 304 points on the last trading session of 2019, dragged by losses in index-heavyweights Reliance Industries, HDFC twins, ICICI Bank and TCS. After swinging over 423 points intra-day, the 30-share BSE Sensex ended down by 304.26 points, or 0.73 per cent, at 41,253.74. The broader NSE Nifty closed 87.40 points, […]",
"link": "https://odishatv.in/business_economy/sensex-tanks-304-pts-on-last-day-of-2019-nifty-drops-below-12200-424912",
"date": "2019-12-31",
"image": "",
"sub_source": "rss-Odisha TV",
"source": "news",
"id": "df23d37f64777170f231b3fefdddfcdb"
},
{
"title": "Sensex, Nifty end on a mixed note",
"article": "
Mumbai, Dec. 30 (PTI): Market benchmarks Sensex and Nifty closed mixed after a see-saw trade on Monday amid lack of domestic as well as global cues. After swinging over 260 points during the day, the 30-share BSE Sensex ended 17.14 points, or 0.04 per cent, lower at 41,558. The broader NSE Nifty, however, closed 10.05 points, or 0.08 per cent, higher at 12,255.85. ICICI Bank was the top loser in the Sensex pack, shedding 0.99 per cent, followed by SBI, TCS, HUL, Asian Paints and Axis Bank. On the other hand, Nestle India, Hero MotoCorp, Mahindra and Mahindra, Bharti Airtel and Tata Steel were among the gainers Analysts attributed this lacklustre trading pattern to absence of any major trigger points in the market. Globally, bourses in Shanghai and Hong Kong ended higher, while those in Tokyo and Seoul settled in the red. Stock exchanges in Europe started on a negative note. On the currency front, the rupee was trading flat against the US dollar at 71.34 (intra-day). Brent futures, the global oil benchmark, advanced marginally to USD 66.94 per barrel.
\n
The posthttps://www.easternmirrornagaland.com/sensex-nifty-end-on-a-mixed-note/\">Sensex, Nifty end on a mixed note appeared first onhttps://www.easternmirrornagaland.com\">EasternMirror.
",
"link": "https://www.easternmirrornagaland.com/sensex-nifty-end-on-a-mixed-note/",
"date": "2019-12-30",
"image": "",
"sub_source": "rss-Eastern Mirror",
"source": "news",
"id": "bfd5e95be9cbeb6acf5edf7a73580e83"
}
]
}
If unsuccessfull-
{
"statusCode": 401,
"statusMsg": "Failed",
"msg": "Unauthorized access!"
}
HTTP Status Codes:
HTTP Codes | Explanation |
---|---|
200 | success |
401 | Authentication Failed |