querystringbắt buộc
Natural-language description of the target companies, e.g. 'fintech startups in Singapore founded after 2020'.
https://api.sandbase.ai/v1/api/hunter/discover-aiDescribe target companies in plain language; an AI picks the filters and runs the search.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
This API turns a plain-language description of target companies into search filters and returns the matching companies. It needs one input, query, such as AI startups in Paris. Each result gives a company domain, name, and a count of email addresses found for it.
emails_count.personal to find companies with many named contacts.meta.results.curl -X POST "https://api.sandbase.ai/v1/api/hunter/discover-ai" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "AI startups in Paris"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Natural-language description of the target companies, e.g. 'fintech startups in Singapore founded after 2020'. |
limit | integer | No | Companies per page. Default and max 100. |
offset | integer | No | Companies to skip. Max 10,000. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"domain": "oecd.ai",
"emails_count": {
"generic": 0,
"personal": 67,
"total": 67
},
"organization": "OECD.AI"
}
],
"meta": {
"filters": {
"headcount": [
"1-10"
],
"headquarters_location": {
"include": [
{
"city": "Paris",
"country": "FR"
}
]
},
"keywords": {
"include": [
"ai"
],
"match": "any"
},
"year_founded": {
"from": 2020
}
},
"limit": 100,
"offset": 0,
"params": {
"query": "AI startups in Paris"
},
"results": 1612
}
}
| Field | Meaning |
|---|---|
data[].domain | Website domain of the company, for example omi.so. |
data[].organization | Company name. |
data[].emails_count.total | Total number of email addresses found for the domain. It equals generic plus personal in the sample. |
data[].emails_count.generic / data[].emails_count.personal | Count of generic addresses and count of addresses tied to a person. |
meta.filters | The filters the AI built from your query. In the sample these are headcount, headquarters location, keywords and founding year. |
meta.filters.headquarters_location.include[].city / meta.filters.headquarters_location.include[].country | City and country code used to filter company headquarters. |
meta.filters.keywords.include | Keywords the search matched on. meta.filters.keywords.match shows whether any or all must match. |
meta.results | Total number of companies that match the filters, across all pages. |
meta.limit / meta.offset | Page size and number of companies skipped for this response. |
meta.filters to see how it interpreted your query. Rewrite the query if the filters look wrong.offset by limit. limit is at most 100 and offset is at most 10,000.domain value as input when you want more detail on a single company with Hunter Companies Find.$0.1 per successful call. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/hunter/discover-ai" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "AI startups in Paris"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
querystringbắt buộcNatural-language description of the target companies, e.g. 'fintech startups in Singapore founded after 2020'.
limitintegerCompanies per page. Default and max 100.
offsetintegerCompanies to skip. Max 10,000.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Hunter Discover AiAPI này Hunter | $0.10 mỗi lần gọi | JSON bất đồng bộ |
Hunter | $0.0049 mỗi lần gọi | JSON bất đồng bộ |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/hunter/discover-ai với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.10 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: query (string). Tùy chọn: limit (integer) và offset (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất. README trên trang này có ví dụ phản hồi.
Không. Hunter Discover Ai chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Hunter.