Search companies by criteria
curl --request POST \
--url https://api.aisa.one/apis/v1/companyenrich/search-companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"page": 50,
"page_size": 10
}
'import requests
url = "https://api.aisa.one/apis/v1/companyenrich/search-companies"
payload = {
"page": 50,
"page_size": 10
}
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({page: 50, page_size: 10})
};
fetch('https://api.aisa.one/apis/v1/companyenrich/search-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.aisa.one/apis/v1/companyenrich/search-companies",
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([
'page' => 50,
'page_size' => 10
]),
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/companyenrich/search-companies"
payload := strings.NewReader("{\n \"page\": 50,\n \"page_size\": 10\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/companyenrich/search-companies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"page\": 50,\n \"page_size\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/companyenrich/search-companies")
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 \"page\": 50,\n \"page_size\": 10\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"categories": [
"<string>"
],
"description": "<string>",
"domain": "<string>",
"employees": "<string>",
"financial": {
"funding": [
{
"amount": 123,
"date": "<string>",
"from": "<string>",
"round_type": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"funding_date": "<string>",
"funding_stage": "<string>",
"stock_exchange": "<string>",
"stock_symbol": "<string>",
"total_funding": 123
},
"founded_year": 123,
"id": "<string>",
"industries": [
"<string>"
],
"industry": "<string>",
"keywords": [
"<string>"
],
"legalName": "<string>",
"location": {
"address": "<string>",
"city": {
"id": 123,
"latitude": 123,
"longitude": 123,
"name": "<string>"
},
"country": {
"code": "<string>",
"latitude": 123,
"longitude": 123,
"name": "<string>"
},
"phone": "<string>",
"postal_code": "<string>",
"state": {
"code": "<string>",
"id": 123,
"latitude": 123,
"longitude": 123,
"name": "<string>"
}
},
"logo_url": "<string>",
"naics_codes": [
"<string>"
],
"name": "<string>",
"page_rank": 123,
"reported_employees": "<string>",
"revenue": "<string>",
"seo_description": "<string>",
"socials": {
"angellist_url": "<string>",
"crunchbase_url": "<string>",
"facebook_url": "<string>",
"g2_url": "<string>",
"github_url": "<string>",
"instagram_url": "<string>",
"linkedin_id": "<string>",
"linkedin_url": "<string>",
"twitter_url": "<string>",
"youtube_url": "<string>"
},
"subsidiaries": [
"<string>"
],
"technologies": [
"<string>"
],
"type": "<string>",
"updated_at": "<string>",
"website": "<string>",
"workforce": {
"company_id": "<string>",
"department_headcount": {},
"domain": "<string>",
"employee_count_range": "<string>",
"history": [
{
"date": "<string>",
"department_headcount": {},
"employee_count_range": "<string>",
"headcount": 123,
"observed_employee_count": 123,
"unclassified_headcount": 123
}
],
"observed_employee_count": 123,
"unclassified_headcount": 123
}
}
],
"page": 123,
"totalItems": 123,
"totalPages": 123
}CompanyEnrich
Search companies by criteria
Search companies by criteria
POST
https://api.aisa.one
/
apis
/
v1
/
companyenrich
/
search-companies
Search companies by criteria
curl --request POST \
--url https://api.aisa.one/apis/v1/companyenrich/search-companies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"page": 50,
"page_size": 10
}
'import requests
url = "https://api.aisa.one/apis/v1/companyenrich/search-companies"
payload = {
"page": 50,
"page_size": 10
}
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({page: 50, page_size: 10})
};
fetch('https://api.aisa.one/apis/v1/companyenrich/search-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.aisa.one/apis/v1/companyenrich/search-companies",
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([
'page' => 50,
'page_size' => 10
]),
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/companyenrich/search-companies"
payload := strings.NewReader("{\n \"page\": 50,\n \"page_size\": 10\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/companyenrich/search-companies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"page\": 50,\n \"page_size\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/companyenrich/search-companies")
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 \"page\": 50,\n \"page_size\": 10\n}"
response = http.request(request)
puts response.read_body{
"items": [
{
"categories": [
"<string>"
],
"description": "<string>",
"domain": "<string>",
"employees": "<string>",
"financial": {
"funding": [
{
"amount": 123,
"date": "<string>",
"from": "<string>",
"round_type": "<string>",
"type": "<string>",
"url": "<string>"
}
],
"funding_date": "<string>",
"funding_stage": "<string>",
"stock_exchange": "<string>",
"stock_symbol": "<string>",
"total_funding": 123
},
"founded_year": 123,
"id": "<string>",
"industries": [
"<string>"
],
"industry": "<string>",
"keywords": [
"<string>"
],
"legalName": "<string>",
"location": {
"address": "<string>",
"city": {
"id": 123,
"latitude": 123,
"longitude": 123,
"name": "<string>"
},
"country": {
"code": "<string>",
"latitude": 123,
"longitude": 123,
"name": "<string>"
},
"phone": "<string>",
"postal_code": "<string>",
"state": {
"code": "<string>",
"id": 123,
"latitude": 123,
"longitude": 123,
"name": "<string>"
}
},
"logo_url": "<string>",
"naics_codes": [
"<string>"
],
"name": "<string>",
"page_rank": 123,
"reported_employees": "<string>",
"revenue": "<string>",
"seo_description": "<string>",
"socials": {
"angellist_url": "<string>",
"crunchbase_url": "<string>",
"facebook_url": "<string>",
"g2_url": "<string>",
"github_url": "<string>",
"instagram_url": "<string>",
"linkedin_id": "<string>",
"linkedin_url": "<string>",
"twitter_url": "<string>",
"youtube_url": "<string>"
},
"subsidiaries": [
"<string>"
],
"technologies": [
"<string>"
],
"type": "<string>",
"updated_at": "<string>",
"website": "<string>",
"workforce": {
"company_id": "<string>",
"department_headcount": {},
"domain": "<string>",
"employee_count_range": "<string>",
"history": [
{
"date": "<string>",
"department_headcount": {},
"employee_count_range": "<string>",
"headcount": 123,
"observed_employee_count": 123,
"unclassified_headcount": 123
}
],
"observed_employee_count": 123,
"unclassified_headcount": 123
}
}
],
"page": 123,
"totalItems": 123,
"totalPages": 123
}请求规范
- 方法与路径: POST /apis/v1/companyenrich/search-companies
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/companyenrich/search-companies
{
"operationId": "companyenrich.search-companies",
"method": "POST",
"path": "/apis/v1/companyenrich/search-companies",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"category": {
"description": "The list of company categories to filter by",
"examples": [
[
"saas",
"b2b"
]
],
"items": {
"enum": [
"b2b",
"b2c",
"b2g",
"e-commerce",
"media",
"service-provider",
"mobile",
"saas"
],
"type": "string"
},
"type": "array"
},
"category_operator": {
"description": "The operator to apply to the filters. Defaults to And.",
"enum": [
"And",
"Or"
],
"type": "string"
},
"cities": {
"description": "The city IDs to filter by",
"items": {
"type": "integer"
},
"type": "array"
},
"countries": {
"description": "The 2 letter country codes to filter by",
"examples": [
[
"US",
"GB"
]
],
"items": {
"type": "string"
},
"type": "array"
},
"employees": {
"description": "The list of employee counts to filter by",
"items": {
"enum": [
"1-10",
"11-50",
"51-200",
"201-500",
"501-1K",
"1K-5K",
"5K-10K",
"over-10K"
],
"type": "string"
},
"type": "array"
},
"exclude": {
"additionalProperties": false,
"description": "Exclusion filters to apply on the companies.",
"properties": {
"category": {
"description": "The list of company categories to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"cities": {
"description": "The city IDs to exclude",
"items": {
"type": "integer"
},
"type": "array"
},
"countries": {
"description": "The country codes to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"domains": {
"description": "The domain names of companies to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"employees": {
"description": "The employee count ranges to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"funding_rounds": {
"description": "The funding rounds to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"keywords": {
"description": "The keywords to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"naics_code": {
"description": "The NAICS codes to exclude",
"items": {
"type": "integer"
},
"type": "array"
},
"regions": {
"description": "The region IDs to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"revenue": {
"description": "The revenue ranges to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"states": {
"description": "The state IDs to exclude",
"items": {
"type": "integer"
},
"type": "array"
},
"technologies": {
"description": "The technologies to exclude",
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"description": "The company types to exclude",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"founded_year": {
"additionalProperties": false,
"description": "The range of years",
"properties": {
"max": {
"description": "The maximum year (inclusive)",
"type": "integer"
},
"min": {
"description": "The minimum year (inclusive)",
"type": "integer"
}
},
"type": "object"
},
"funding_amount": {
"additionalProperties": false,
"description": "The funding amount range to filter by",
"properties": {
"max": {
"description": "The maximum funding amount (inclusive)",
"type": "number"
},
"min": {
"description": "The minimum funding amount (inclusive)",
"type": "number"
}
},
"type": "object"
},
"funding_rounds": {
"description": "The funding rounds to filter by",
"items": {
"enum": [
"seed",
"debt_financing",
"angel",
"venture",
"series_a",
"series_b",
"series_c",
"series_d",
"series_e",
"series_f",
"series_g",
"series_h",
"other"
],
"type": "string"
},
"type": "array"
},
"funding_year": {
"additionalProperties": false,
"description": "The range of years",
"properties": {
"max": {
"description": "The maximum year (inclusive)",
"type": "integer"
},
"min": {
"description": "The minimum year (inclusive)",
"type": "integer"
}
},
"type": "object"
},
"keywords": {
"description": "The keywords to filter by",
"items": {
"type": "string"
},
"type": "array"
},
"keywords_operator": {
"description": "The operator to apply to the filters. Defaults to And.",
"enum": [
"And",
"Or"
],
"type": "string"
},
"lists": {
"description": "The list IDs to filter by",
"items": {
"type": "string"
},
"type": "array"
},
"naics_code": {
"description": "The NAICS codes to filter by. Can be 2 to 6 digit codes. In case of a 2-5 digit code, all 6 digit codes under it will be included",
"items": {
"type": "integer"
},
"type": "array"
},
"page": {
"description": "The page number to return. Must be greater than 0",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"page_size": {
"description": "The number of results to return in each page. Must be between 1 and 100",
"examples": [
10
],
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "The search query to apply on the company name and domain",
"maxLength": 250,
"type": "string"
},
"regions": {
"description": "The region IDs to filter by",
"items": {
"type": "string"
},
"type": "array"
},
"require": {
"description": "The features that must exist for the company",
"items": {
"enum": [
"linkedin",
"twitter",
"facebook",
"instagram",
"angellist",
"crunchbase",
"youtube",
"country",
"city",
"state",
"revenue",
"foundedYear",
"anyFunding"
],
"type": "string"
},
"type": "array"
},
"revenue": {
"description": "The list of revenue ranges to filter by",
"items": {
"enum": [
"under-1m",
"1m-10m",
"10m-50m",
"50m-100m",
"100m-200m",
"200m-1b",
"over-1b"
],
"type": "string"
},
"type": "array"
},
"semantic_query": {
"description": "The semantic search query to find companies with. More natural language version of the standard query.",
"maxLength": 500,
"type": "string"
},
"semantic_weight": {
"description": "The semantic weight to apply to the results. Must be between 0 and 1. 0.7 is default.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"states": {
"description": "The state IDs to filter by",
"items": {
"type": "integer"
},
"type": "array"
},
"technologies": {
"description": "The technologies to filter by",
"items": {
"type": "string"
},
"type": "array"
},
"technologies_operator": {
"description": "The operator to apply to the filters. Defaults to And.",
"enum": [
"And",
"Or"
],
"type": "string"
},
"type": {
"description": "The list of company types to filter by",
"items": {
"enum": [
"private",
"public",
"self-employed",
"self-owned",
"partnership",
"nonprofit",
"educational",
"government"
],
"type": "string"
},
"type": "array"
},
"workforce_growth": {
"additionalProperties": false,
"description": "Filter companies by workforce growth percentage over a selected period and department.",
"properties": {
"department": {
"description": "The department to measure workforce growth for.",
"enum": [
"overall",
"c_suite",
"product_management",
"engineering_technical",
"design",
"education",
"finance",
"human_resources",
"information_technology",
"legal",
"marketing",
"medical_health",
"operations",
"sales",
"consulting"
],
"type": "string"
},
"max_percent": {
"description": "The maximum workforce growth percentage (inclusive). Example: 15 means 15% growth, -10 means 10% decline.",
"type": "number"
},
"min_percent": {
"description": "The minimum workforce growth percentage (inclusive). Example: 15 means 15% growth, -10 means 10% decline.",
"type": "number"
},
"period": {
"description": "The period to measure workforce growth over.",
"enum": [
"m6",
"y1",
"y2"
],
"type": "string"
}
},
"type": "object"
}
},
"required": [
"page",
"page_size"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0093 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
application/json