Adverse Media
curl --request GET \
--url https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Adverse Media data fetched successfully",
"data": {
"id": "aabbccdd-eeff-aabb-ccdd-eeffaabbccdd",
"business_id": "aabbccdd-eeff-aabb-ccdd-eeffaabbccdd",
"total_risk_count": 4,
"high_risk_count": 0,
"medium_risk_count": 0,
"low_risk_count": 4,
"average_risk_score": 1,
"articles": [
{
"id": "aabbccdd-eeff-aabb-ccdd-eeffaabbccdd",
"title": "Genistein, a Natural Isoflavone, Alleviates Seizure-Induced Respiratory Arrest in DBA/1 Mice",
"link": "https://www.frontiersin.org/journals/neurology/articles/10.3389/fneur.2021.761912/full",
"date": "2021-11-03T07:00:00.000Z",
"source": "Frontiers",
"entity_focus_score": 1,
"risk_level": "LOW",
"risk_description": "The title does not contain any adverse keywords, negative sentiment, or direct mention of the business entity or individuals. It appears to be related to a scientific study rather than an adverse media event.",
"final_score": 42.3,
"media_type": "business",
"created_at": "2025-02-18T11:39:46.750Z",
"updated_at": "2025-02-18T11:39:46.750Z"
}
]
}
}{
"status": "fail",
"message": "You are not allowed to access the data.",
"errorCode": "UNAUTHORIZED",
"data": {
"errorName": "AccessMiddlewareError"
}
}Business Details
Adverse Media
Retrieve adverse media associated with a particular businessID
GET
/
business
/
{businessID}
/
adverse-media
Adverse Media
curl --request GET \
--url https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.joinworth.com/integration/api/v1/business/{businessID}/adverse-media")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Adverse Media data fetched successfully",
"data": {
"id": "aabbccdd-eeff-aabb-ccdd-eeffaabbccdd",
"business_id": "aabbccdd-eeff-aabb-ccdd-eeffaabbccdd",
"total_risk_count": 4,
"high_risk_count": 0,
"medium_risk_count": 0,
"low_risk_count": 4,
"average_risk_score": 1,
"articles": [
{
"id": "aabbccdd-eeff-aabb-ccdd-eeffaabbccdd",
"title": "Genistein, a Natural Isoflavone, Alleviates Seizure-Induced Respiratory Arrest in DBA/1 Mice",
"link": "https://www.frontiersin.org/journals/neurology/articles/10.3389/fneur.2021.761912/full",
"date": "2021-11-03T07:00:00.000Z",
"source": "Frontiers",
"entity_focus_score": 1,
"risk_level": "LOW",
"risk_description": "The title does not contain any adverse keywords, negative sentiment, or direct mention of the business entity or individuals. It appears to be related to a scientific study rather than an adverse media event.",
"final_score": 42.3,
"media_type": "business",
"created_at": "2025-02-18T11:39:46.750Z",
"updated_at": "2025-02-18T11:39:46.750Z"
}
]
}
}{
"status": "fail",
"message": "You are not allowed to access the data.",
"errorCode": "UNAUTHORIZED",
"data": {
"errorName": "AccessMiddlewareError"
}
}Authorizations
Path Parameters
Response
OK
Successful response wrapper for adverse media retrieval operations.
Was this page helpful?