Enrich Company V1
curl --request POST \
--url https://api.aisa.one/apis/v1/leadmagic/enrich-company-v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"company_domain": "<string>",
"company_name": "<string>",
"profile_url": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/leadmagic/enrich-company-v1"
payload = {
"company_domain": "<string>",
"company_name": "<string>",
"profile_url": "<string>"
}
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({company_domain: '<string>', company_name: '<string>', profile_url: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/leadmagic/enrich-company-v1', 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/leadmagic/enrich-company-v1",
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([
'company_domain' => '<string>',
'company_name' => '<string>',
'profile_url' => '<string>'
]),
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/leadmagic/enrich-company-v1"
payload := strings.NewReader("{\n \"company_domain\": \"<string>\",\n \"company_name\": \"<string>\",\n \"profile_url\": \"<string>\"\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/leadmagic/enrich-company-v1")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"company_domain\": \"<string>\",\n \"company_name\": \"<string>\",\n \"profile_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/leadmagic/enrich-company-v1")
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 \"company_domain\": \"<string>\",\n \"company_name\": \"<string>\",\n \"profile_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"acquisitions_count": 123,
"active_web": true,
"b2b_growth_rate": 123,
"b2b_profile_url": "<string>",
"b2b_url": "<string>",
"companyId": 123,
"companyName": "<string>",
"competitors": [
"<string>"
],
"credits_consumed": 123,
"data_source": "<string>",
"description": "<string>",
"email_found": true,
"employeeCount": 123,
"employeeCountRange": {
"end": 123,
"start": 123
},
"employee_range": "<string>",
"facebook_url": "<string>",
"followerCount": 123,
"foundedOn": {
"day": 16,
"month": 6,
"year": 123
},
"founded_year": "<string>",
"funding_investor_count": 123,
"funding_rounds": 123,
"has_tech_stack": true,
"hashtag": "<string>",
"headquarter": {
"city": "<string>",
"country": "<string>",
"description": "<string>",
"geographicArea": "<string>",
"headquarter": true,
"latitude": 123,
"line1": "<string>",
"line2": "<string>",
"localizedName": "<string>",
"longitude": 123,
"postalCode": "<string>"
},
"industry": "<string>",
"last_funding_amount": 123,
"last_funding_date": "<string>",
"last_funding_round": "<string>",
"linkedin_url": "<string>",
"locations": [
{
"city": "<string>",
"country": "<string>",
"description": "<string>",
"geographicArea": "<string>",
"headquarter": true,
"latitude": 123,
"line1": "<string>",
"line2": "<string>",
"localizedName": "<string>",
"longitude": 123,
"postalCode": "<string>"
}
],
"logo_url": "<string>",
"message": "<string>",
"mobile_found": true,
"ownership_status": "<string>",
"revenue": 123,
"revenue_formatted": "<string>",
"specialities": [
"<string>"
],
"stock_ticker": "<string>",
"tagline": "<string>",
"total_funding": "<string>",
"twitter_url": "<string>",
"universalName": "<string>",
"url": "<string>",
"websiteUrl": "<string>"
}LeadMagic
Enrich Company V1
Enrich Company V1
POST
https://api.aisa.one
/
apis
/
v1
/
leadmagic
/
enrich-company-v1
Enrich Company V1
curl --request POST \
--url https://api.aisa.one/apis/v1/leadmagic/enrich-company-v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"company_domain": "<string>",
"company_name": "<string>",
"profile_url": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/leadmagic/enrich-company-v1"
payload = {
"company_domain": "<string>",
"company_name": "<string>",
"profile_url": "<string>"
}
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({company_domain: '<string>', company_name: '<string>', profile_url: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/leadmagic/enrich-company-v1', 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/leadmagic/enrich-company-v1",
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([
'company_domain' => '<string>',
'company_name' => '<string>',
'profile_url' => '<string>'
]),
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/leadmagic/enrich-company-v1"
payload := strings.NewReader("{\n \"company_domain\": \"<string>\",\n \"company_name\": \"<string>\",\n \"profile_url\": \"<string>\"\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/leadmagic/enrich-company-v1")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"company_domain\": \"<string>\",\n \"company_name\": \"<string>\",\n \"profile_url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/leadmagic/enrich-company-v1")
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 \"company_domain\": \"<string>\",\n \"company_name\": \"<string>\",\n \"profile_url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"acquisitions_count": 123,
"active_web": true,
"b2b_growth_rate": 123,
"b2b_profile_url": "<string>",
"b2b_url": "<string>",
"companyId": 123,
"companyName": "<string>",
"competitors": [
"<string>"
],
"credits_consumed": 123,
"data_source": "<string>",
"description": "<string>",
"email_found": true,
"employeeCount": 123,
"employeeCountRange": {
"end": 123,
"start": 123
},
"employee_range": "<string>",
"facebook_url": "<string>",
"followerCount": 123,
"foundedOn": {
"day": 16,
"month": 6,
"year": 123
},
"founded_year": "<string>",
"funding_investor_count": 123,
"funding_rounds": 123,
"has_tech_stack": true,
"hashtag": "<string>",
"headquarter": {
"city": "<string>",
"country": "<string>",
"description": "<string>",
"geographicArea": "<string>",
"headquarter": true,
"latitude": 123,
"line1": "<string>",
"line2": "<string>",
"localizedName": "<string>",
"longitude": 123,
"postalCode": "<string>"
},
"industry": "<string>",
"last_funding_amount": 123,
"last_funding_date": "<string>",
"last_funding_round": "<string>",
"linkedin_url": "<string>",
"locations": [
{
"city": "<string>",
"country": "<string>",
"description": "<string>",
"geographicArea": "<string>",
"headquarter": true,
"latitude": 123,
"line1": "<string>",
"line2": "<string>",
"localizedName": "<string>",
"longitude": 123,
"postalCode": "<string>"
}
],
"logo_url": "<string>",
"message": "<string>",
"mobile_found": true,
"ownership_status": "<string>",
"revenue": 123,
"revenue_formatted": "<string>",
"specialities": [
"<string>"
],
"stock_ticker": "<string>",
"tagline": "<string>",
"total_funding": "<string>",
"twitter_url": "<string>",
"universalName": "<string>",
"url": "<string>",
"websiteUrl": "<string>"
}请求规范
- 方法与路径: POST /apis/v1/leadmagic/enrich-company-v1
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/leadmagic/enrich-company-v1
{
"operationId": "leadmagic.enrich-company-v1",
"method": "POST",
"path": "/apis/v1/leadmagic/enrich-company-v1",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"company_domain": {
"description": "Company domain, such as example.com.",
"minLength": 1,
"type": "string"
},
"company_name": {
"description": "Company name when its domain or profile URL is unavailable.",
"minLength": 1,
"type": "string"
},
"profile_url": {
"description": "Business company profile URL or identifier.",
"minLength": 1,
"type": "string"
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.0203 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
请求体
application/json
响应
Tool result data