Enrich company by properties
curl --request POST \
--url https://api.aisa.one/apis/v1/companyenrich/enrich-by-properties \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"expand": [],
"facebook_url": "https://www.facebook.com/Google",
"instagram_url": "https://www.instagram.com/google",
"linkedin_id": "<string>",
"linkedin_url": "https://www.linkedin.com/company/google",
"name": "Google",
"twitter_url": "https://twitter.com/google",
"you_tube_url": "https://www.youtube.com/google"
}
'import requests
url = "https://api.aisa.one/apis/v1/companyenrich/enrich-by-properties"
payload = {
"expand": [],
"facebook_url": "https://www.facebook.com/Google",
"instagram_url": "https://www.instagram.com/google",
"linkedin_id": "<string>",
"linkedin_url": "https://www.linkedin.com/company/google",
"name": "Google",
"twitter_url": "https://twitter.com/google",
"you_tube_url": "https://www.youtube.com/google"
}
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({
expand: [],
facebook_url: 'https://www.facebook.com/Google',
instagram_url: 'https://www.instagram.com/google',
linkedin_id: '<string>',
linkedin_url: 'https://www.linkedin.com/company/google',
name: 'Google',
twitter_url: 'https://twitter.com/google',
you_tube_url: 'https://www.youtube.com/google'
})
};
fetch('https://api.aisa.one/apis/v1/companyenrich/enrich-by-properties', 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/enrich-by-properties",
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([
'expand' => [
],
'facebook_url' => 'https://www.facebook.com/Google',
'instagram_url' => 'https://www.instagram.com/google',
'linkedin_id' => '<string>',
'linkedin_url' => 'https://www.linkedin.com/company/google',
'name' => 'Google',
'twitter_url' => 'https://twitter.com/google',
'you_tube_url' => 'https://www.youtube.com/google'
]),
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/enrich-by-properties"
payload := strings.NewReader("{\n \"expand\": [],\n \"facebook_url\": \"https://www.facebook.com/Google\",\n \"instagram_url\": \"https://www.instagram.com/google\",\n \"linkedin_id\": \"<string>\",\n \"linkedin_url\": \"https://www.linkedin.com/company/google\",\n \"name\": \"Google\",\n \"twitter_url\": \"https://twitter.com/google\",\n \"you_tube_url\": \"https://www.youtube.com/google\"\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/enrich-by-properties")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"expand\": [],\n \"facebook_url\": \"https://www.facebook.com/Google\",\n \"instagram_url\": \"https://www.instagram.com/google\",\n \"linkedin_id\": \"<string>\",\n \"linkedin_url\": \"https://www.linkedin.com/company/google\",\n \"name\": \"Google\",\n \"twitter_url\": \"https://twitter.com/google\",\n \"you_tube_url\": \"https://www.youtube.com/google\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/companyenrich/enrich-by-properties")
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 \"expand\": [],\n \"facebook_url\": \"https://www.facebook.com/Google\",\n \"instagram_url\": \"https://www.instagram.com/google\",\n \"linkedin_id\": \"<string>\",\n \"linkedin_url\": \"https://www.linkedin.com/company/google\",\n \"name\": \"Google\",\n \"twitter_url\": \"https://twitter.com/google\",\n \"you_tube_url\": \"https://www.youtube.com/google\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"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,
"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
}
}CompanyEnrich
Enrich company by properties
Enrich company by properties
POST
https://api.aisa.one
/
apis
/
v1
/
companyenrich
/
enrich-by-properties
Enrich company by properties
curl --request POST \
--url https://api.aisa.one/apis/v1/companyenrich/enrich-by-properties \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"expand": [],
"facebook_url": "https://www.facebook.com/Google",
"instagram_url": "https://www.instagram.com/google",
"linkedin_id": "<string>",
"linkedin_url": "https://www.linkedin.com/company/google",
"name": "Google",
"twitter_url": "https://twitter.com/google",
"you_tube_url": "https://www.youtube.com/google"
}
'import requests
url = "https://api.aisa.one/apis/v1/companyenrich/enrich-by-properties"
payload = {
"expand": [],
"facebook_url": "https://www.facebook.com/Google",
"instagram_url": "https://www.instagram.com/google",
"linkedin_id": "<string>",
"linkedin_url": "https://www.linkedin.com/company/google",
"name": "Google",
"twitter_url": "https://twitter.com/google",
"you_tube_url": "https://www.youtube.com/google"
}
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({
expand: [],
facebook_url: 'https://www.facebook.com/Google',
instagram_url: 'https://www.instagram.com/google',
linkedin_id: '<string>',
linkedin_url: 'https://www.linkedin.com/company/google',
name: 'Google',
twitter_url: 'https://twitter.com/google',
you_tube_url: 'https://www.youtube.com/google'
})
};
fetch('https://api.aisa.one/apis/v1/companyenrich/enrich-by-properties', 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/enrich-by-properties",
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([
'expand' => [
],
'facebook_url' => 'https://www.facebook.com/Google',
'instagram_url' => 'https://www.instagram.com/google',
'linkedin_id' => '<string>',
'linkedin_url' => 'https://www.linkedin.com/company/google',
'name' => 'Google',
'twitter_url' => 'https://twitter.com/google',
'you_tube_url' => 'https://www.youtube.com/google'
]),
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/enrich-by-properties"
payload := strings.NewReader("{\n \"expand\": [],\n \"facebook_url\": \"https://www.facebook.com/Google\",\n \"instagram_url\": \"https://www.instagram.com/google\",\n \"linkedin_id\": \"<string>\",\n \"linkedin_url\": \"https://www.linkedin.com/company/google\",\n \"name\": \"Google\",\n \"twitter_url\": \"https://twitter.com/google\",\n \"you_tube_url\": \"https://www.youtube.com/google\"\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/enrich-by-properties")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"expand\": [],\n \"facebook_url\": \"https://www.facebook.com/Google\",\n \"instagram_url\": \"https://www.instagram.com/google\",\n \"linkedin_id\": \"<string>\",\n \"linkedin_url\": \"https://www.linkedin.com/company/google\",\n \"name\": \"Google\",\n \"twitter_url\": \"https://twitter.com/google\",\n \"you_tube_url\": \"https://www.youtube.com/google\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/companyenrich/enrich-by-properties")
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 \"expand\": [],\n \"facebook_url\": \"https://www.facebook.com/Google\",\n \"instagram_url\": \"https://www.instagram.com/google\",\n \"linkedin_id\": \"<string>\",\n \"linkedin_url\": \"https://www.linkedin.com/company/google\",\n \"name\": \"Google\",\n \"twitter_url\": \"https://twitter.com/google\",\n \"you_tube_url\": \"https://www.youtube.com/google\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"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,
"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
}
}Request contract
- Method and path: POST /apis/v1/companyenrich/enrich-by-properties
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/companyenrich/enrich-by-properties
{
"operationId": "companyenrich.enrich-by-properties",
"method": "POST",
"path": "/apis/v1/companyenrich/enrich-by-properties",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"expand": {
"default": [],
"description": "Expandable response fields. Repeat the parameter to request multiple expansions. Supported values: workforce (adds the workforce field).",
"items": {
"enum": [
"workforce"
],
"type": "string"
},
"maxItems": 1,
"minItems": 0,
"type": "array"
},
"facebook_url": {
"description": "The Facebook URL of the company to enrich.",
"examples": [
"https://www.facebook.com/Google"
],
"type": "string"
},
"instagram_url": {
"description": "The Instagram URL of the company to enrich.",
"examples": [
"https://www.instagram.com/google"
],
"type": "string"
},
"linkedin_id": {
"description": "The LinkedIn ID of the company to enrich.",
"type": "string"
},
"linkedin_url": {
"description": "The LinkedIn URL of the company to enrich.",
"examples": [
"https://www.linkedin.com/company/google"
],
"type": "string"
},
"name": {
"description": "The name of the company to enrich.",
"examples": [
"Google",
"Stripe",
"Microsoft"
],
"type": "string"
},
"twitter_url": {
"description": "The Twitter URL of the company to enrich.",
"examples": [
"https://twitter.com/google"
],
"type": "string"
},
"you_tube_url": {
"description": "The YouTube URL of the company to enrich.",
"examples": [
"https://www.youtube.com/google"
],
"type": "string"
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0093 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
Tool result data