curl --request POST \
--url https://api.aisa.one/apis/v1/people-data-labs/company/enrich \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"website": "example.com"
}
'import requests
url = "https://api.aisa.one/apis/v1/people-data-labs/company/enrich"
payload = { "website": "example.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({website: 'example.com'})
};
fetch('https://api.aisa.one/apis/v1/people-data-labs/company/enrich', 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.aisa.one/apis/v1/people-data-labs/company/enrich",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'website' => 'example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/people-data-labs/company/enrich"
payload := strings.NewReader("{\n \"website\": \"example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/people-data-labs/company/enrich")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"website\": \"example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/people-data-labs/company/enrich")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"website\": \"example.com\"\n}"
response = http.request(request)
puts response.read_body{
"employee_count": 120,
"id": "example-company",
"industry": "computer software",
"likelihood": 9,
"location": {
"country": "united states"
},
"name": "Example Company",
"status": 200,
"website": "example.com"
}Company enrichment
Use when you have one company and want its firmographics, funding and headcount. Give it a domain, ticker or social profile if you possibly can - a bare name is the identifier most likely to miss.
curl --request POST \
--url https://api.aisa.one/apis/v1/people-data-labs/company/enrich \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"website": "example.com"
}
'import requests
url = "https://api.aisa.one/apis/v1/people-data-labs/company/enrich"
payload = { "website": "example.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({website: 'example.com'})
};
fetch('https://api.aisa.one/apis/v1/people-data-labs/company/enrich', 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.aisa.one/apis/v1/people-data-labs/company/enrich",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'website' => 'example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/people-data-labs/company/enrich"
payload := strings.NewReader("{\n \"website\": \"example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/people-data-labs/company/enrich")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"website\": \"example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/people-data-labs/company/enrich")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"website\": \"example.com\"\n}"
response = http.request(request)
puts response.read_body{
"employee_count": 120,
"id": "example-company",
"industry": "computer software",
"likelihood": 9,
"location": {
"country": "united states"
},
"name": "Example Company",
"status": 200,
"website": "example.com"
}Request contract
- Method and path: POST /apis/v1/people-data-labs/company/enrich
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/people-data-labs/company/enrich
{
"operationId": "people-data-labs.company.enrich",
"method": "POST",
"path": "/apis/v1/people-data-labs/company/enrich",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"website": "example.com"
}
}
},
"schema": {
"additionalProperties": true,
"allOf": [
{
"anyOf": [
{
"properties": {
"name": {}
},
"required": [
"name"
]
},
{
"properties": {
"pdl_id": {}
},
"required": [
"pdl_id"
]
},
{
"properties": {
"profile": {}
},
"required": [
"profile"
]
},
{
"properties": {
"ticker": {}
},
"required": [
"ticker"
]
},
{
"properties": {
"website": {}
},
"required": [
"website"
]
}
]
}
],
"properties": {
"country": {
"description": "Country, one value. Never sufficient on its own.",
"type": "string"
},
"data_include": {
"description": "Comma-separated schema fields to return, dot notation for subfields, a leading `-` to exclude instead, `\"\"` for none. Use it to reduce response size.",
"type": "string"
},
"include_if_matched": {
"default": false,
"description": "Return matching inputs: top-level matched for enrichment, or matched_on within Identify candidates.\n\nProvider reference: default false.",
"type": "boolean"
},
"locality": {
"description": "City, one value. Never sufficient on its own.",
"type": "string"
},
"location": {
"description": "Free-form location. Raises the likelihood of a name match; never sufficient on its own.",
"type": "string"
},
"min_likelihood": {
"default": 2,
"description": "Refuse a match below this confidence, 1-10, default 2. At 2 the match is only 10-30% likely to be the record asked for. Raising it turns a weak match into a 404, which is the cheaper answer: a 404 is free here and a wrong record is not.\n\nProvider reference: minimum 1; maximum 10; default 2.",
"type": "number",
"x-alexandria-option-metadata": {
"max": 10,
"min": 1
}
},
"name": {
"description": "Company name, for example \"Google, Inc.\". The weakest identifier by a distance - an ambiguous name answers 404 rather than guessing - so prefer website, ticker or profile whenever you have one.",
"type": "string"
},
"pdl_id": {
"description": "PDL company id, or a LinkedIn company slug such as `google`. A hard override: sent alongside anything else, every other match input is ignored.",
"type": "string"
},
"postal_code": {
"description": "Postal code, one value. Never sufficient on its own.",
"type": "string"
},
"profile": {
"description": "Social profile URL, for example linkedin.com/company/google.",
"type": "string"
},
"region": {
"description": "State or region, one value. Never sufficient on its own.",
"type": "string"
},
"required": {
"description": "Boolean expression over required top-level output fields using AND, OR and parentheses. Fields used as matching inputs cannot also be required. Access depends on the key's field bundles.",
"type": "string"
},
"street_address": {
"description": "Street address, one value. Never sufficient on its own.",
"type": "string"
},
"ticker": {
"description": "Stock ticker.",
"type": "string"
},
"titlecase": {
"default": false,
"description": "Return titlecased values. Responses are lowercase otherwise, which matters when the output is shown to a person rather than matched on.\n\nProvider reference: default false.",
"type": "boolean"
},
"website": {
"description": "Company domain. The most reliable single identifier.",
"type": "string"
}
},
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Refuse a match below this confidence, 1-10, default 2. At 2 the match is only 10-30% likely to be the record asked for. Raising it turns a weak match into a 404, which is the cheaper answer: a 404 is free here and a wrong record is not.
Provider reference: minimum 1; maximum 10; default 2.
Response
Full company record (only representative fields are listed here), with the schema fields at the TOP LEVEL beside status and likelihood - this endpoint does not wrap them in data. Fields the record has no value for come back null rather than absent.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
likelihood | number | Match confidence, 1-10. |
status | number | HTTP-style status mirrored into the body: 200 for a match. The call itself already answers 404 on a miss, so this is only ever 200 here. |
matched | string[] | Matching inputs, present when include_if_matched is true. |
id | string | PDL company id, and the pdl_id every other company capability takes. |
name | string | Canonical name. |
website | string | Primary domain. |
industry | string | Industry. |
size | string | Headcount band. |
employee_count | number | Headcount. |
location | object | Headquarters, with locality, region, country, metro, street_address and postal_code under it. |
total_funding_raised | number | Total funding raised. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.