Get single news article
curl --request GET \
--url https://api.dealroom.app/data/news/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dealroom.app/data/news/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dealroom.app/data/news/{id}', 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.dealroom.app/data/news/{id}",
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.dealroom.app/data/news/{id}"
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.dealroom.app/data/news/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dealroom.app/data/news/{id}")
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{
"data": {
"id": 9876543,
"url": "https://techcrunch.com/2024/06/15/example-startup-raises-50m",
"slug": "example-startup-raises-50m-series-b-2024",
"title": "Example Startup raises $50M Series B led by Sequoia",
"summary": "Example Startup announced a $50M Series B round…",
"preview": "Example Startup announced…",
"image_url": "https://images.example.com/notes/note-9876543.jpg",
"image_source": "Unsplash",
"source": "dealroom",
"article_type": "vc_round",
"category": "Funding rounds",
"news_types": [
{
"id": 3,
"name": "Funding rounds"
},
{
"id": 9,
"name": "Fintech"
}
],
"is_news": true,
"type": "public",
"status": "published",
"published_at": "2024-06-15T09:30:00.000Z",
"amount": 50000000,
"round_type": "SERIES_B",
"deal_date": "2024-06-14",
"sector": "Fintech",
"hq_country": "United States",
"enriched_summary": null,
"importance_score": 87.5,
"is_pinned": false,
"source_urls": [
"https://techcrunch.com/2024/06/15/example-startup-raises-50m"
],
"references": [],
"video_urls": [],
"pitch_deck_urls": [],
"author_entity_id": null,
"author_kind": null,
"created_at": "2024-06-15T10:30:00.000Z",
"updated_at": "2024-06-15T10:30:00.000Z",
"entities": [
{
"mention_role": "subject",
"is_primary": true,
"entity": {
"uuid": "<string>",
"type": "organization",
"subtype": "company",
"name": "<string>",
"image": "<string>",
"dealroom_url": "<string>"
}
}
]
},
"currency": "<string>"
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required — provide a valid bearer token.",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action.",
"details": null
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The requested resource was not found.",
"details": null
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded — retry after the delay in the `Retry-After` header.",
"details": null
}
}{
"error": {
"code": "SERVICE_UNAVAILABLE",
"message": "The service is temporarily unavailable.",
"details": null
}
}News
Get single news article
Returns one news article by numeric ID or slug, including its body excerpt, source, publish date, type, monetary amount (for deal articles, converted to the requested ?currency=), and any linked Dealroom entities.
GET
/
data
/
news
/
{id}
Get single news article
curl --request GET \
--url https://api.dealroom.app/data/news/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.dealroom.app/data/news/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.dealroom.app/data/news/{id}', 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.dealroom.app/data/news/{id}",
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.dealroom.app/data/news/{id}"
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.dealroom.app/data/news/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dealroom.app/data/news/{id}")
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{
"data": {
"id": 9876543,
"url": "https://techcrunch.com/2024/06/15/example-startup-raises-50m",
"slug": "example-startup-raises-50m-series-b-2024",
"title": "Example Startup raises $50M Series B led by Sequoia",
"summary": "Example Startup announced a $50M Series B round…",
"preview": "Example Startup announced…",
"image_url": "https://images.example.com/notes/note-9876543.jpg",
"image_source": "Unsplash",
"source": "dealroom",
"article_type": "vc_round",
"category": "Funding rounds",
"news_types": [
{
"id": 3,
"name": "Funding rounds"
},
{
"id": 9,
"name": "Fintech"
}
],
"is_news": true,
"type": "public",
"status": "published",
"published_at": "2024-06-15T09:30:00.000Z",
"amount": 50000000,
"round_type": "SERIES_B",
"deal_date": "2024-06-14",
"sector": "Fintech",
"hq_country": "United States",
"enriched_summary": null,
"importance_score": 87.5,
"is_pinned": false,
"source_urls": [
"https://techcrunch.com/2024/06/15/example-startup-raises-50m"
],
"references": [],
"video_urls": [],
"pitch_deck_urls": [],
"author_entity_id": null,
"author_kind": null,
"created_at": "2024-06-15T10:30:00.000Z",
"updated_at": "2024-06-15T10:30:00.000Z",
"entities": [
{
"mention_role": "subject",
"is_primary": true,
"entity": {
"uuid": "<string>",
"type": "organization",
"subtype": "company",
"name": "<string>",
"image": "<string>",
"dealroom_url": "<string>"
}
}
]
},
"currency": "<string>"
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required — provide a valid bearer token.",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action.",
"details": null
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The requested resource was not found.",
"details": null
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded — retry after the delay in the `Retry-After` header.",
"details": null
}
}{
"error": {
"code": "SERVICE_UNAVAILABLE",
"message": "The service is temporarily unavailable.",
"details": null
}
}Authorizations
oauth2bearerAuth
OAuth2 client-credentials flow against the Dealroom Auth0 tenant. Use the client_id / client_secret from a Programmatic API key. Tokens are valid for 1h — Swagger UI will reuse the same token across operations. Revoking or deactivating a key rejects it on the next request (within a ≤5-minute server-side cache window), not at token expiry.