curl --request GET \
--url https://idle.api.datacircle.dev/files/ \
--header 'Authorization: <api-key>'import requests
url = "https://idle.api.datacircle.dev/files/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://idle.api.datacircle.dev/files/', 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://idle.api.datacircle.dev/files/",
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: <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"
"net/http"
"io"
)
func main() {
url := "https://idle.api.datacircle.dev/files/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://idle.api.datacircle.dev/files/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://idle.api.datacircle.dev/files/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": 123,
"rank": "us_10m",
"row_count": 123,
"size_bytes": 123,
"sha256": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"allowed": true
}
]List files
curl --request GET \
--url https://idle.api.datacircle.dev/files/ \
--header 'Authorization: <api-key>'import requests
url = "https://idle.api.datacircle.dev/files/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://idle.api.datacircle.dev/files/', 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://idle.api.datacircle.dev/files/",
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: <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"
"net/http"
"io"
)
func main() {
url := "https://idle.api.datacircle.dev/files/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://idle.api.datacircle.dev/files/")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://idle.api.datacircle.dev/files/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": 123,
"rank": "us_10m",
"row_count": 123,
"size_bytes": 123,
"sha256": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"allowed": true
}
]Authorizations
Token <your API key>
Response
Every file with allowed for this workspace
The file's id: pass it to POST /files/{file_id}/download-link/. Every daily file gets a new id; old ids still download.
Which file it is: us_10m is the 10M US dataset (10M+ US B2B leads), us_50m the 50M US dataset (50M+ US B2B), coop the co-op file: a Parquet file of every LinkedIn profile fetched through iBlinked, rebuilt every day. GET /files/ lists the newest file of each rank.
us_10m, coop, us_50m Rows in the file; null when we have not counted it.
The file's size, in bytes.
The file's SHA-256, in hex, to check your download; null when we have not measured it.
When the file was exported (ISO 8601).
Whether this workspace may download it: always true for us_10m; true for coop once this workspace spent 50 USD on credit or 3 people you invited signed up (coop_file_unlocked in GET /credits/); true for us_50m only once 3 people you invited signed up (GET /me/invites/).