Skip to main content
POST
/
api
/
news
/
start
[Legacy] Initiate News Report
curl --request POST \
  --url https://api.wokelo.ai/api/news/start/ \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "whitelisted_domains": [
    {}
  ],
  "blacklisted_domains": [
    {}
  ],
  "news_limit": 123,
  "start_date": "<string>",
  "end_date": "<string>",
  "website": "<string>",
  "permalink": "<string>"
}
'
{
    "report_id": 2000156
}

Documentation Index

Fetch the complete documentation index at: https://docs.wokelo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Overview

This endpoint initiates news report on a company

Endpoint Details

  • Method: POST
  • Endpoint: /api/news/start/

Authentication requirements

  • Include a valid JWT token in your request header
  • If you don’t have a token yet, you can get one from the /auth/token/ endpoint first.

Request

Request Parameter

Header Parameters

Authorization
string
required
JWT token obtained from the Authentication request

Body Parameters

whitelisted_domains
array
Domains of news sources from which to fetch news
blacklisted_domains
array
News source domains to exclude from search
news_limit
integer
Number of news items to retrieve (Default: 1000)
start_date
string
Date from which news will be retrieved.
  • Default: 2 years
  • Format: YYYY-MM-DD
end_date
string
Date till which news will be retrieved.
  • Default: current date
  • Format: YYYY-MM-DD
website
string
required
Website of the target company
Crunchbase permalink of the target company
Note: Either of permalink or website is required as company identifier

Response

Successful response JSON will include the report_id of the news report
{
    "report_id": 2000156
}