List datasets
curl --request GET \
--url https://api.trydatadriver.com/v1/datasetsimport requests
url = "https://api.trydatadriver.com/v1/datasets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.trydatadriver.com/v1/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://api.trydatadriver.com/v1/datasets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.trydatadriver.com/v1/datasets"
req, _ := http.NewRequest("GET", url, nil)
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.trydatadriver.com/v1/datasets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trydatadriver.com/v1/datasets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyEndpoints
List datasets
Find out which tables of data you can read with your key.
GET
/
v1
/
datasets
List datasets
curl --request GET \
--url https://api.trydatadriver.com/v1/datasetsimport requests
url = "https://api.trydatadriver.com/v1/datasets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.trydatadriver.com/v1/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://api.trydatadriver.com/v1/datasets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.trydatadriver.com/v1/datasets"
req, _ := http.NewRequest("GET", url, nil)
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.trydatadriver.com/v1/datasets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trydatadriver.com/v1/datasets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyWhen you’d use this
This is usually the first call you make. It tells you what’s available — for example, “leads” — and how many rows are in each table. Think of it like opening a library catalog.Request
curl https://api.trydatadriver.com/v1/datasets \
-H "Authorization: Bearer YOUR_API_KEY"
const r = await fetch('https://api.trydatadriver.com/v1/datasets', {
headers: { Authorization: `Bearer ${process.env.DD_API_KEY}` },
});
const { datasets } = await r.json();
import os, requests
r = requests.get(
'https://api.trydatadriver.com/v1/datasets',
headers={'Authorization': f"Bearer {os.environ['DD_API_KEY']}"},
)
datasets = r.json()['datasets']
Response
{
"datasets": [
{
"table": "leads",
"name": "Leads",
"description": "Enriched contacts",
"row_count": 102345,
"last_updated_at": "2026-05-09T11:48:41Z",
"vertical": "home_services_moving"
}
]
}
Field reference
| Field | Type | What it means |
|---|---|---|
datasets | array | The list of tables you can read. Empty array = your key has no permissions yet. |
table | string | The internal table name. Use this in /datasets/{table}/... URLs. |
name | string | A friendlier name you can display in your UI. |
description | string | A sentence about what the data is. |
row_count | integer | Approximate total rows. Updated periodically. |
last_updated_at | string (ISO 8601) | Timestamp of the most recent ingest. Useful for cache-busting. |
vertical | string | The data category (e.g. moving, solar, insurance). |
If you want to know what columns exist in a table, that’s the
next endpoint — Get schema.