Internet News
Search and retrieve news articles from Google News using keywords and date ranges, with structured results including titles and snippets.
Endpoint
POST /v1/news/google_newsTry it out in API Playground →
Request
Headers
Content-Type
string
Yes
application/json
X-API-KEY
string
Yes
your-api-key
Request Body Parameters
keywords
string
Yes
Comma-separated keywords to filter news articles (e.g., "revenue,growth,latest quarter")
start_date
string
Yes
Start date for news search in YYYY-MM-DD format (e.g., "2024-12-01")
end_date
string
Yes
End date for news search in YYYY-MM-DD format (e.g., "2024-12-08")
language
string
Yes
ISO 639-1 language code for news content (default: "en")
Example Request
curl -X 'POST' \
'https://api.orbitfin.ai/v1/news/google_news' \
-H 'accept: application/json' \
-H 'X-API-KEY: orbitfin_xxx' \
-H 'Content-Type: application/json' \
-d '{
"start_date": "2025-05-13",
"end_date": "2025-05-20",
"keywords": "revenue,growth,latest quarter",
"language": "en"
}'Response
Response Fields
Top-Level Fields
status_code
integer
HTTP status code (200 for success)
data
array
Array of news article objects
detail
string/null
Additional error details (null on success)
message
string
Response status message
News Article Object (data[])
date
string
Publication date of the news article (format: "Month DD, YYYY")
link
string
Direct URL to the original news article
title
string
Headline or title of the news article
source
string/null
News source or publisher name (null if unavailable)
snippet
string
Brief excerpt or summary of the article content
position
integer
Ranking position in search results (1-based index)
thumbnail
string
URL to the article's thumbnail image
Example Response
Error Handling
All endpoints in this section follow the standard error response format. When an error occurs, the API returns an appropriate HTTP status code along with a structured error response.
For detailed information about error codes, response formats, and troubleshooting guidelines, please refer to Appendix A: Error Codes and Messages.
Last updated