curl --request POST \
--url https://api.scrapebento.com/v1/public/search/answer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"q": "what does the current OpenAI Responses API replace?",
"provider": "google",
"maxResults": 3,
"includeContent": false,
"wait": true
}
'import requests
url = "https://api.scrapebento.com/v1/public/search/answer"
payload = {
"q": "what does the current OpenAI Responses API replace?",
"provider": "google",
"maxResults": 3,
"includeContent": False,
"wait": True
}
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({
q: 'what does the current OpenAI Responses API replace?',
provider: 'google',
maxResults: 3,
includeContent: false,
wait: true
})
};
fetch('https://api.scrapebento.com/v1/public/search/answer', 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.scrapebento.com/v1/public/search/answer",
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([
'q' => 'what does the current OpenAI Responses API replace?',
'provider' => 'google',
'maxResults' => 3,
'includeContent' => false,
'wait' => true
]),
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.scrapebento.com/v1/public/search/answer"
payload := strings.NewReader("{\n \"q\": \"what does the current OpenAI Responses API replace?\",\n \"provider\": \"google\",\n \"maxResults\": 3,\n \"includeContent\": false,\n \"wait\": true\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.scrapebento.com/v1/public/search/answer")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"what does the current OpenAI Responses API replace?\",\n \"provider\": \"google\",\n \"maxResults\": 3,\n \"includeContent\": false,\n \"wait\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapebento.com/v1/public/search/answer")
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 \"q\": \"what does the current OpenAI Responses API replace?\",\n \"provider\": \"google\",\n \"maxResults\": 3,\n \"includeContent\": false,\n \"wait\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"jobId": "job_answer_1",
"status": "succeeded",
"kind": "search",
"creditsCharged": 5,
"result": {
"query": "what does the current OpenAI Responses API replace?",
"provider": "google",
"answer": {
"status": "answered",
"text": "The Responses API replaces the need to stitch together separate chat and tool-calling flows for this use case.",
"citations": [
{
"index": 1,
"title": "OpenAI Responses API",
"url": "https://platform.openai.com/docs/",
"sourceType": "document",
"quote": "Responses unifies text generation and tool use."
}
]
},
"results": [
{
"index": 1,
"title": "OpenAI Responses API",
"url": "https://platform.openai.com/docs/",
"displayUrl": "platform.openai.com/docs",
"snippet": "Build agents with a unified responses interface.",
"sourceStatus": "fetched"
}
]
}
}
}Answer a question from fetched Google result documents
Requires api.write. Runs Google search, fetches the top result
documents, and synthesizes an attributed answer from the extracted
evidence. If no LLM is configured, the response still includes the
fetched result set with answer.status = "not_configured".
curl --request POST \
--url https://api.scrapebento.com/v1/public/search/answer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"q": "what does the current OpenAI Responses API replace?",
"provider": "google",
"maxResults": 3,
"includeContent": false,
"wait": true
}
'import requests
url = "https://api.scrapebento.com/v1/public/search/answer"
payload = {
"q": "what does the current OpenAI Responses API replace?",
"provider": "google",
"maxResults": 3,
"includeContent": False,
"wait": True
}
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({
q: 'what does the current OpenAI Responses API replace?',
provider: 'google',
maxResults: 3,
includeContent: false,
wait: true
})
};
fetch('https://api.scrapebento.com/v1/public/search/answer', 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.scrapebento.com/v1/public/search/answer",
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([
'q' => 'what does the current OpenAI Responses API replace?',
'provider' => 'google',
'maxResults' => 3,
'includeContent' => false,
'wait' => true
]),
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.scrapebento.com/v1/public/search/answer"
payload := strings.NewReader("{\n \"q\": \"what does the current OpenAI Responses API replace?\",\n \"provider\": \"google\",\n \"maxResults\": 3,\n \"includeContent\": false,\n \"wait\": true\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.scrapebento.com/v1/public/search/answer")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"what does the current OpenAI Responses API replace?\",\n \"provider\": \"google\",\n \"maxResults\": 3,\n \"includeContent\": false,\n \"wait\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapebento.com/v1/public/search/answer")
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 \"q\": \"what does the current OpenAI Responses API replace?\",\n \"provider\": \"google\",\n \"maxResults\": 3,\n \"includeContent\": false,\n \"wait\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"jobId": "job_answer_1",
"status": "succeeded",
"kind": "search",
"creditsCharged": 5,
"result": {
"query": "what does the current OpenAI Responses API replace?",
"provider": "google",
"answer": {
"status": "answered",
"text": "The Responses API replaces the need to stitch together separate chat and tool-calling flows for this use case.",
"citations": [
{
"index": 1,
"title": "OpenAI Responses API",
"url": "https://platform.openai.com/docs/",
"sourceType": "document",
"quote": "Responses unifies text generation and tool use."
}
]
},
"results": [
{
"index": 1,
"title": "OpenAI Responses API",
"url": "https://platform.openai.com/docs/",
"displayUrl": "platform.openai.com/docs",
"snippet": "Build agents with a unified responses interface.",
"sourceStatus": "fetched"
}
]
}
}
}Authorizations
Send a workspace API token in the Authorization: Bearer <token> header.
Keys carry the satk_ prefix and spend your organization's credit
balance. GET /v1/public/balance reports what is left.
Test-mode keys (satk_test_), which drew on a separate self-refilling
allowance, have been retired and no longer authenticate.
Headers
Optional deduplication key, scoped to your organization. Re-sending a request with a key that was already used returns the original job instead of creating and charging for a second one.
Supersedes the idempotencyKey body field, which remains supported as
a deprecated alias. If both are present, this header wins.
255Body
Wait for a terminal response before falling back to async job polling.
Optional client-requested sync wait timeout, bounded by the server maximum.
Optional public callback URL for terminal job delivery. Available to every organization.
Naming a URL here registers it as a webhook endpoint if it is not
registered already, so the signing secret exists before the first
delivery does. Fetch it from
GET /v1/public/webhooks/endpoints/{endpointId}/secret, or register
the endpoint up front with POST /v1/public/webhooks/endpoints to
have the secret in hand before you run anything.
Deliveries carry X-Scrapebento-Signature, an HMAC-SHA256 over
"<timestamp>.<body>" under that endpoint's own secret, so the
secret you need to verify your deliveries cannot forge anyone
else's. Every attempt is recorded in
GET /v1/public/webhooks/deliveries and can be re-sent from there.
Deprecated alias for the Idempotency-Key header, which is the
conventional transport and takes precedence when both are sent.
Still honoured so existing integrations keep working.
255How long this result may be reused, in seconds. Capped at 7 days (604800); larger values are clamped.
Omit it to accept the per-kind server default. Slow-moving kinds
cache by default — infra and brand for 6h, seo, sitemap,
site, and producthunt for 1h, and hn_search, hn_post, and
rss for 5m. Everything else defaults to no caching.
A cached result is charged at the same rate as a fresh scrape, so
the TTL is how stale an answer you can be billed for. Send 0 to
prevent this result being cached, and fresh: true to bypass an
existing cache entry on read.
0 <= x <= 604800Bypass cache and force a new scrape or search execution.
Honor the selected provider; disable cross-engine fallback.
Include data.meta.searchDiagnostics on terminal success and failure.
Show child attributes
Show child attributes
google Legacy alias for maxResults.
x <= 10x <= 10Response
Grounded answer search completed and returned a terminal response.
- Option 1
- Option 2
Show child attributes
Show child attributes