扩展更多潜客
curl --request POST \
--url https://revor.ai/api/v2/prospect-lists/{webset_id}/expand \
--header 'Content-Type: application/json' \
--data '{
"count": 123
}'import requests
url = "https://revor.ai/api/v2/prospect-lists/{webset_id}/expand"
payload = { "count": 123 }
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({count: 123})
};
fetch('https://revor.ai/api/v2/prospect-lists/{webset_id}/expand', 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/prospect-lists/{webset_id}/expand",
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([
'count' => 123
]),
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/prospect-lists/{webset_id}/expand"
payload := strings.NewReader("{\n \"count\": 123\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/prospect-lists/{webset_id}/expand")
.header("Content-Type", "application/json")
.body("{\n \"count\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/prospect-lists/{webset_id}/expand")
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 \"count\": 123\n}"
response = http.request(request)
puts response.read_body潜客名单
扩展更多潜客
原入口 POST /api/v2/websets//find-more 继续支持,参数、返回字段和权限均保持一致。两个 URL 执行同一操作。
POST
/
api
/
v2
/
prospect-lists
/
{webset_id}
/
expand
扩展更多潜客
curl --request POST \
--url https://revor.ai/api/v2/prospect-lists/{webset_id}/expand \
--header 'Content-Type: application/json' \
--data '{
"count": 123
}'import requests
url = "https://revor.ai/api/v2/prospect-lists/{webset_id}/expand"
payload = { "count": 123 }
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({count: 123})
};
fetch('https://revor.ai/api/v2/prospect-lists/{webset_id}/expand', 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/prospect-lists/{webset_id}/expand",
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([
'count' => 123
]),
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/prospect-lists/{webset_id}/expand"
payload := strings.NewReader("{\n \"count\": 123\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/prospect-lists/{webset_id}/expand")
.header("Content-Type", "application/json")
.body("{\n \"count\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/prospect-lists/{webset_id}/expand")
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 \"count\": 123\n}"
response = http.request(request)
puts response.read_body在已有 Webset 上启动一轮新的挖掘。
原入口
保存
count 表示希望新增的数量,不是新的总数。
接口概览
| 方法 | POST |
| 路径 | /api/v2/prospect-lists/{webset_id}/expand |
| 权限 | websets:write |
| 幂等性 | Idempotency-Key 必填 |
| 计费 | 会消耗积分 |
| 返回 | 202,含 job 对象 |
POST /api/v2/websets/{webset_id}/find-more 继续支持,参数、返回字段和权限均保持一致。两个 URL 执行同一操作。异步执行。
调用前
先读完当前 Items 快照,保存第一页的stream_cursor 与 items_revision。启动成功后,这对旧 checkpoint 用于订阅本次 Find More 的全部变化。
请求
Idempotency-Key 必填;网络重试复用同一个值。
cURL
curl -X POST "https://revor.ai/api/v2/prospect-lists/WEBSET_ID/expand" \
-H "Authorization: Bearer sk-revor-REPLACE_ME" \
-H "Idempotency-Key: find-more-001" \
-H "Content-Type: application/json" \
-d '{
"count": 25
}'
请求体
{
"count": 25
}
响应
HTTP202 已接受:
202
{
"ok": true,
"request_id": "req_xxx",
"item": {
"id": "job-uuid",
"action": "websets.find_more",
"status": "queued",
"progress": {
"stage": "queued",
"percent": 0
},
"resource": {
"type": "webset",
"id": "webset-uuid"
},
"scheduled_at": "2026-09-24T08:10:00.000Z",
"started_at": null,
"finished_at": null,
"attempt_count": 0,
"result": null,
"error": null,
"billing": {
"status": "pending",
"charged_credits": 0,
"pending_units": 0
}
}
}
错误码
| HTTP | Code | 说明 |
|---|---|---|
400 | idempotency_key_required | 缺少 Idempotency-Key 头。 |
409 | idempotency_conflict | 同一个幂等键用于不同请求。 |
item.id 作为 job_id,随后连接 Find More SSE。
