搜索人物
curl --request POST \
--url https://revor.ai/api/v2/search/people \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"limit": 123,
"response.detail": "<string>",
"response.include": [
"<string>"
]
}
'import requests
url = "https://revor.ai/api/v2/search/people"
payload = {
"query": "<string>",
"limit": 123,
"response.detail": "<string>",
"response.include": ["<string>"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
limit: 123,
'response.detail': '<string>',
'response.include': ['<string>']
})
};
fetch('https://revor.ai/api/v2/search/people', 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://revor.ai/api/v2/search/people",
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([
'query' => '<string>',
'limit' => 123,
'response.detail' => '<string>',
'response.include' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"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://revor.ai/api/v2/search/people"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"limit\": 123,\n \"response.detail\": \"<string>\",\n \"response.include\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
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://revor.ai/api/v2/search/people")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"limit\": 123,\n \"response.detail\": \"<string>\",\n \"response.include\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/search/people")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"limit\": 123,\n \"response.detail\": \"<string>\",\n \"response.include\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"人物 compact": {},
"人物 standard": {},
"experience 扩展": {},
"education 扩展": {},
"evidence": {}
}公司与人物搜索
搜索人物
用自然语言发现人物候选,返回结构化资料、相关原文片段和来源链接。
POST
/
api
/
v2
/
search
/
people
搜索人物
curl --request POST \
--url https://revor.ai/api/v2/search/people \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"limit": 123,
"response.detail": "<string>",
"response.include": [
"<string>"
]
}
'import requests
url = "https://revor.ai/api/v2/search/people"
payload = {
"query": "<string>",
"limit": 123,
"response.detail": "<string>",
"response.include": ["<string>"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
limit: 123,
'response.detail': '<string>',
'response.include': ['<string>']
})
};
fetch('https://revor.ai/api/v2/search/people', 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://revor.ai/api/v2/search/people",
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([
'query' => '<string>',
'limit' => 123,
'response.detail' => '<string>',
'response.include' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"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://revor.ai/api/v2/search/people"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"limit\": 123,\n \"response.detail\": \"<string>\",\n \"response.include\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
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://revor.ai/api/v2/search/people")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"limit\": 123,\n \"response.detail\": \"<string>\",\n \"response.include\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/search/people")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"limit\": 123,\n \"response.detail\": \"<string>\",\n \"response.include\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"人物 compact": {},
"人物 standard": {},
"experience 扩展": {},
"education 扩展": {},
"evidence": {}
}接口概览
| 方法 | POST |
| 路径 | /api/v2/search/people |
| 权限 | 创建需要 search:write 和 search:read;读取 job 需要 search:read |
| 幂等性 | 通过 Idempotency-Key 请求头支持 |
| 返回 | 带人物条目的异步任务结果 |
请求
API 使用Idempotency-Key 请求头进行安全重试。可传 Prefer: wait=20 等待结果;终态 HTTP 200,执行中 HTTP 202,使用返回的 job ID 查询 /api/v2/jobs/{id}。
参数
未知参数会被拒绝。当前不支持游标分页、任意字段提取或联系方式保证。
请求示例
cURL
curl -X POST "https://revor.ai/api/v2/search/people" \
-H "Authorization: Bearer sk-revor-REPLACE_ME" \
-H "Content-Type: application/json" \
-H "Prefer: wait=20" \
-d '{
"query": "德国工业自动化公司的采购负责人",
"limit": 10,
"response": {
"detail": "standard",
"include": ["experience", "education"]
}
}'
返回字段
标准公共 job 外壳包含id、status、result、error、billing。成功时 result 包含 query、returned_count、items。
每条结果包含:
id:仅标识该任务内条目,不是全局人物 IDtarget_kind:personentity:结构化资料evidence:原文片段与来源链接
实体字段
缺失标量为
null,集合无记录为 [],未请求的扩展字段省略。日期保留已知精度,如 2024、2024-06,不补造月日。结束日期为空时 is_current=null;positions=[] 不代表没有现职。人数等资料不是实时核验结果。来源页面与实体资料分开,托管资料页不冒充官网。搜索不生成 ICP 分数或验证状态,也不创建名单。行为说明
- 限流: API 与 MCP 共用会员
expensive_create限流 - 并发: 与公司搜索共享搜索任务并发桶
- 幂等重放和 job 查询不重复收费
积分
| 请求数量 | 每次积分 |
|---|---|
| 1-10 | 3 |
| 11-25 | 8 |
billing.charged_credits 为准。
MCP
revor_search_people 使用相同参数并增加 idempotency_key。工具可能直接返回终态,否则按 next_action 调用 revor_get_job。不要重复创建任务来检查进度。
