curl --request POST \
--url https://catchall.newscatcherapi.com/catchAll/datasets \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "My Portfolio",
"description": "Companies in our investment portfolio",
"entity_ids": [
"854198fa-f702-49db-a381-0427fa87f173",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
]
}
'import requests
url = "https://catchall.newscatcherapi.com/catchAll/datasets"
payload = {
"name": "My Portfolio",
"description": "Companies in our investment portfolio",
"entity_ids": ["854198fa-f702-49db-a381-0427fa87f173", "a1b2c3d4-e5f6-7890-abcd-ef1234567890"]
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'My Portfolio',
description: 'Companies in our investment portfolio',
entity_ids: ['854198fa-f702-49db-a381-0427fa87f173', 'a1b2c3d4-e5f6-7890-abcd-ef1234567890']
})
};
fetch('https://catchall.newscatcherapi.com/catchAll/datasets', 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://catchall.newscatcherapi.com/catchAll/datasets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'My Portfolio',
'description' => 'Companies in our investment portfolio',
'entity_ids' => [
'854198fa-f702-49db-a381-0427fa87f173',
'a1b2c3d4-e5f6-7890-abcd-ef1234567890'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://catchall.newscatcherapi.com/catchAll/datasets"
payload := strings.NewReader("{\n \"name\": \"My Portfolio\",\n \"description\": \"Companies in our investment portfolio\",\n \"entity_ids\": [\n \"854198fa-f702-49db-a381-0427fa87f173\",\n \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://catchall.newscatcherapi.com/catchAll/datasets")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"My Portfolio\",\n \"description\": \"Companies in our investment portfolio\",\n \"entity_ids\": [\n \"854198fa-f702-49db-a381-0427fa87f173\",\n \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://catchall.newscatcherapi.com/catchAll/datasets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"My Portfolio\",\n \"description\": \"Companies in our investment portfolio\",\n \"entity_ids\": [\n \"854198fa-f702-49db-a381-0427fa87f173\",\n \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "ccabb755-afc2-4047-b84c-78d1f23d49b2",
"organization_id": "e5d9e9b0-e415-4941-8ef0-916c5ee56207",
"name": "My Portfolio",
"description": "Companies in our investment portfolio",
"entity_count": 4,
"entity_status_breakdown": {
"ready": 4
},
"health_score": 100,
"health_breakdown": {
"company": 100
},
"latest_status": "ready",
"created_by_user_id": "870e258e-12ec-4a47-8656-e7a43b0265b3",
"created_at": "2026-04-08T15:21:36.026993",
"updated_at": "2026-04-08T15:21:36.027001"
}Create dataset
Creates a new dataset from a list of existing entity IDs. The optional description field here describes the dataset itself — it is separate from the entity-level description used for matching.
Entities must be created before adding them to a dataset. Each entity requires a name plus at least one of: a description or a domain. Use Create entity or Create entities batch to create entities first.
If any of the provided entity IDs do not exist or do not belong to
your organization, the request fails with 400. All entity IDs must
be valid before the dataset is created.
To create a dataset and entities in one step, use the Create dataset from CSV
endpoint instead.
curl --request POST \
--url https://catchall.newscatcherapi.com/catchAll/datasets \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "My Portfolio",
"description": "Companies in our investment portfolio",
"entity_ids": [
"854198fa-f702-49db-a381-0427fa87f173",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
]
}
'import requests
url = "https://catchall.newscatcherapi.com/catchAll/datasets"
payload = {
"name": "My Portfolio",
"description": "Companies in our investment portfolio",
"entity_ids": ["854198fa-f702-49db-a381-0427fa87f173", "a1b2c3d4-e5f6-7890-abcd-ef1234567890"]
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'My Portfolio',
description: 'Companies in our investment portfolio',
entity_ids: ['854198fa-f702-49db-a381-0427fa87f173', 'a1b2c3d4-e5f6-7890-abcd-ef1234567890']
})
};
fetch('https://catchall.newscatcherapi.com/catchAll/datasets', 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://catchall.newscatcherapi.com/catchAll/datasets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'My Portfolio',
'description' => 'Companies in our investment portfolio',
'entity_ids' => [
'854198fa-f702-49db-a381-0427fa87f173',
'a1b2c3d4-e5f6-7890-abcd-ef1234567890'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://catchall.newscatcherapi.com/catchAll/datasets"
payload := strings.NewReader("{\n \"name\": \"My Portfolio\",\n \"description\": \"Companies in our investment portfolio\",\n \"entity_ids\": [\n \"854198fa-f702-49db-a381-0427fa87f173\",\n \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://catchall.newscatcherapi.com/catchAll/datasets")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"My Portfolio\",\n \"description\": \"Companies in our investment portfolio\",\n \"entity_ids\": [\n \"854198fa-f702-49db-a381-0427fa87f173\",\n \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://catchall.newscatcherapi.com/catchAll/datasets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"My Portfolio\",\n \"description\": \"Companies in our investment portfolio\",\n \"entity_ids\": [\n \"854198fa-f702-49db-a381-0427fa87f173\",\n \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "ccabb755-afc2-4047-b84c-78d1f23d49b2",
"organization_id": "e5d9e9b0-e415-4941-8ef0-916c5ee56207",
"name": "My Portfolio",
"description": "Companies in our investment portfolio",
"entity_count": 4,
"entity_status_breakdown": {
"ready": 4
},
"health_score": 100,
"health_breakdown": {
"company": 100
},
"latest_status": "ready",
"created_by_user_id": "870e258e-12ec-4a47-8656-e7a43b0265b3",
"created_at": "2026-04-08T15:21:36.026993",
"updated_at": "2026-04-08T15:21:36.027001"
}Body
Response
Full dataset object with metadata and current status.
Processing status of a dataset.
pending: Dataset created, entities queued for enrichment.enriching: Entities are being enriched.ready: All entities enriched and indexed — ready for use in jobs.failed: One or more entity enrichments failed.
pending, enriching, ready, failed Was this page helpful?

