Research public web
curl --request POST \
--url https://revor.ai/api/v2/research/public-web \
--header 'Content-Type: application/json' \
--data '
{
"queries": [
"<string>"
],
"search_limit": 123,
"category": "<string>",
"include_domains": [
"<string>"
],
"user_location": "<string>"
}
'import requests
url = "https://revor.ai/api/v2/research/public-web"
payload = {
"queries": ["<string>"],
"search_limit": 123,
"category": "<string>",
"include_domains": ["<string>"],
"user_location": "<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({
queries: ['<string>'],
search_limit: 123,
category: '<string>',
include_domains: ['<string>'],
user_location: '<string>'
})
};
fetch('https://revor.ai/api/v2/research/public-web', 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/research/public-web",
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([
'queries' => [
'<string>'
],
'search_limit' => 123,
'category' => '<string>',
'include_domains' => [
'<string>'
],
'user_location' => '<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/research/public-web"
payload := strings.NewReader("{\n \"queries\": [\n \"<string>\"\n ],\n \"search_limit\": 123,\n \"category\": \"<string>\",\n \"include_domains\": [\n \"<string>\"\n ],\n \"user_location\": \"<string>\"\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/research/public-web")
.header("Content-Type", "application/json")
.body("{\n \"queries\": [\n \"<string>\"\n ],\n \"search_limit\": 123,\n \"category\": \"<string>\",\n \"include_domains\": [\n \"<string>\"\n ],\n \"user_location\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/research/public-web")
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 \"queries\": [\n \"<string>\"\n ],\n \"search_limit\": 123,\n \"category\": \"<string>\",\n \"include_domains\": [\n \"<string>\"\n ],\n \"user_location\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyPublic web and contacts
Research public web
Search public-web sources by query and return a list of sources with summaries.
POST
/
api
/
v2
/
research
/
public-web
Research public web
curl --request POST \
--url https://revor.ai/api/v2/research/public-web \
--header 'Content-Type: application/json' \
--data '
{
"queries": [
"<string>"
],
"search_limit": 123,
"category": "<string>",
"include_domains": [
"<string>"
],
"user_location": "<string>"
}
'import requests
url = "https://revor.ai/api/v2/research/public-web"
payload = {
"queries": ["<string>"],
"search_limit": 123,
"category": "<string>",
"include_domains": ["<string>"],
"user_location": "<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({
queries: ['<string>'],
search_limit: 123,
category: '<string>',
include_domains: ['<string>'],
user_location: '<string>'
})
};
fetch('https://revor.ai/api/v2/research/public-web', 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/research/public-web",
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([
'queries' => [
'<string>'
],
'search_limit' => 123,
'category' => '<string>',
'include_domains' => [
'<string>'
],
'user_location' => '<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/research/public-web"
payload := strings.NewReader("{\n \"queries\": [\n \"<string>\"\n ],\n \"search_limit\": 123,\n \"category\": \"<string>\",\n \"include_domains\": [\n \"<string>\"\n ],\n \"user_location\": \"<string>\"\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/research/public-web")
.header("Content-Type", "application/json")
.body("{\n \"queries\": [\n \"<string>\"\n ],\n \"search_limit\": 123,\n \"category\": \"<string>\",\n \"include_domains\": [\n \"<string>\"\n ],\n \"user_location\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://revor.ai/api/v2/research/public-web")
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 \"queries\": [\n \"<string>\"\n ],\n \"search_limit\": 123,\n \"category\": \"<string>\",\n \"include_domains\": [\n \"<string>\"\n ],\n \"user_location\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodySearch public-web sources by query and return a list of sources with summaries.
At a glance
| Method | POST |
| Path | /api/v2/research/public-web |
| Permission | Contact your admin to confirm this endpoint is included in your product plan. |
| Returns | Async job result with a list of sources |
Request
Idempotency-Key is optional; send and reuse it when safe retries are required. You may send Prefer: wait=20. If the job finishes during the wait window, the endpoint returns HTTP 200; otherwise it returns HTTP 202, and the caller continues polling /api/v2/jobs/{id}.
Parameters
Preferred page type:
company, news, financial report, people, or personal site. For example, use news for news pages and people for person-related pages.Example request
cURL
curl -X POST "https://revor.ai/api/v2/research/public-web" \
-H "Authorization: Bearer sk-revor-REPLACE_ME" \
-H "Content-Type: application/json" \
-H "Prefer: wait=20" \
-d '{
"queries": ["Banbros Commercial Inc company profile"],
"search_limit": 5,
"category": "company",
"include_domains": [],
"user_location": "US"
}'
Response
200
{
"status": "complete",
"queries": ["Banbros Commercial Inc company profile"],
"searched_queries": 1,
"results_per_query": 5,
"results": [
{
"query": "Banbros Commercial Inc company profile",
"sources": [
{
"url": "https://example.com/company",
"title": "Company Profile",
"published_date": null,
"author": null,
"image": null,
"highlights": ["..."],
"text": "..."
}
]
}
],
"errors": []
}
Behavior
- If one query fails while another succeeds,
statusmay bepartial, with failures listed inerrors. - Source text is length-limited;
...[truncated]means the source text was trimmed to the response limit.
Errors
| HTTP | Description |
|---|---|
400 | Invalid parameters or malformed request |
403 | Endpoint not included in product plan |
202 | Job is still running; poll /api/v2/jobs/{id} |

