List Companies
curl --request GET \
--url https://api.example.com/v1/companiesimport requests
url = "https://api.example.com/v1/companies"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/companies', 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/companies",
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/companies"
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/companies")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/companies")
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{
"data": {
"companies": [
{
"id": "<string>",
"name": "<string>",
"industry": "<string>",
"website": "<string>",
"linkedin_url": "<string>",
"size": "<string>",
"domain": "<string>",
"city": "<string>",
"country": "<string>",
"tags": [
{}
],
"created_date": "<string>",
"updated_date": "<string>"
}
]
},
"meta": {}
}Companies
List Companies
Retrieve a paginated list of companies in your workspace
GET
/
v1
/
companies
List Companies
curl --request GET \
--url https://api.example.com/v1/companiesimport requests
url = "https://api.example.com/v1/companies"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/companies', 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/companies",
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/companies"
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/companies")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/companies")
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{
"data": {
"companies": [
{
"id": "<string>",
"name": "<string>",
"industry": "<string>",
"website": "<string>",
"linkedin_url": "<string>",
"size": "<string>",
"domain": "<string>",
"city": "<string>",
"country": "<string>",
"tags": [
{}
],
"created_date": "<string>",
"updated_date": "<string>"
}
]
},
"meta": {}
}Request
Query Parameters
integer
default:"1"
Page number
integer
default:"50"
Items per page (max: 100)
string
Search by company name (partial match)
string
Filter by industry (partial match)
Headers
Authorization: Bearer wbk_your_api_key_here
Response
object
object
Pagination metadata with
page, per_page, totalcurl https://data.leadlex.com/functions/v1/api-gateway/v1/companies \
-H "Authorization: Bearer wbk_your_api_key_here"
import requests
API_KEY = "wbk_your_api_key_here"
BASE_URL = "https://data.leadlex.com/functions/v1/api-gateway"
headers = {"Authorization": f"Bearer {API_KEY}"}
response = requests.get(f"{BASE_URL}/v1/companies", headers=headers)
companies = response.json()["data"]["companies"]
const response = await fetch(
'https://data.leadlex.com/functions/v1/api-gateway/v1/companies',
{ headers: { 'Authorization': 'Bearer wbk_your_api_key_here' } }
);
const { data } = await response.json();
Example Response
{
"data": {
"companies": [
{
"id": "co-001",
"name": "Acme Legal",
"industry": "Legal Services",
"website": "https://acmelegal.com",
"size": "51-200",
"city": "New York",
"country": "US",
"tags": ["enterprise"],
"created_date": "2026-02-01T10:00:00Z"
}
]
},
"meta": { "page": 1, "per_page": 50, "total": 15 }
}
Errors
| Status | Code | Description |
|---|---|---|
| 403 | insufficient_permissions | Missing companies:read permission |
| 429 | rate_limited | Rate limit exceeded |