Skip to main content
GET
/
v1
/
datasets
List datasets
curl --request GET \
  --url https://api.trydatadriver.com/v1/datasets
import 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_body

When 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 dd_a3f9b2c1d4e5f6g7h8i9j0"
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

FieldTypeWhat it means
datasetsarrayThe list of tables you can read. Empty array = your key has no permissions yet.
tablestringThe internal table name. Use this in /datasets/{table}/... URLs.
namestringA friendlier name you can display in your UI.
descriptionstringA sentence about what the data is.
row_countintegerApproximate total rows. Updated periodically.
last_updated_atstring (ISO 8601)Timestamp of the most recent ingest. Useful for cache-busting.
verticalstringThe 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.