List datasets
curl --request GET \
--url https://api.example.com/v1/datasetsimport requests
url = "https://api.example.com/v1/datasets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.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.example.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.example.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.example.com/v1/datasets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.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_bodyDatasets
List datasets
List your datasets and public platform seed datasets.
GET
/
v1
/
datasets
List datasets
curl --request GET \
--url https://api.example.com/v1/datasetsimport requests
url = "https://api.example.com/v1/datasets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.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.example.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.example.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.example.com/v1/datasets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.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_bodyGET https://api-datahub.octoparse.com/v1/datasets
Authentication: API key required (Authorization: Bearer <API Key>).
Lists datasets you own, plus public platform seed datasets. Run results land in a dataset; mark retention when you need to keep them beyond the default window.
Request
Query parameters
integer
Offset, starting at 0.
integer
Page size.
Example request
curl -H "Authorization: Bearer $OCTOPARSE_API_KEY" "https://api-datahub.octoparse.com/v1/datasets?limit=50"
Response
200 success
{
"data": {
"items": [
{
"dataset_id": "ds_0bd5345d13d0",
"row_count": 120,
"retained": false,
"created_at": "2026-09-01T08:00:00+00:00"
}
],
"pagination": {
"offset": 0,
"limit": 50,
"count": 1,
"total": 1,
"has_more": false
}
}
}
Errors
| HTTP | code | category | Description |
|---|---|---|---|
| 401 | unauthorized | forbidden | Missing or invalid API key. |
{"error": {code, category, message, retryable}}. See Errors.
Client libraries
page = client.list_datasets(limit=50)
for ds in page["items"]:
print(ds["dataset_id"], ds["row_count"], ds["retained"])
const page = await client.listDatasets({ limit: 50 });
for (const ds of page.items) {
console.log(ds.dataset_id, ds.row_count, ds.retained);
}