cURL
curl --request POST \
--url https://api.recoupable.dev/api/research/enrich \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"schema": {
"type": "object",
"properties": {}
},
"processor": "base"
}
'import requests
url = "https://api.recoupable.dev/api/research/enrich"
payload = {
"input": "<string>",
"schema": {
"type": "object",
"properties": {}
},
"processor": "base"
}
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({input: '<string>', schema: {type: 'object', properties: {}}, processor: 'base'})
};
fetch('https://api.recoupable.dev/api/research/enrich', 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.recoupable.dev/api/research/enrich",
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([
'input' => '<string>',
'schema' => [
'type' => 'object',
'properties' => [
]
],
'processor' => 'base'
]),
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://api.recoupable.dev/api/research/enrich"
payload := strings.NewReader("{\n \"input\": \"<string>\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {}\n },\n \"processor\": \"base\"\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://api.recoupable.dev/api/research/enrich")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"<string>\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {}\n },\n \"processor\": \"base\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recoupable.dev/api/research/enrich")
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 \"input\": \"<string>\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {}\n },\n \"processor\": \"base\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"output": {},
"citations": [
{
"url": "<string>",
"title": "<string>",
"field": "<string>"
}
]
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Request failed with status 501"
}Web & social
Enrich
Enrich an entity with structured data from web research. Provide a description of who or what to research and a JSON schema defining the fields to extract. Returns typed data with citations. Important: The schema object must include "type": "object" at the top level — requests without an explicit type will be rejected.
POST
/
api
/
research
/
enrich
cURL
curl --request POST \
--url https://api.recoupable.dev/api/research/enrich \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"schema": {
"type": "object",
"properties": {}
},
"processor": "base"
}
'import requests
url = "https://api.recoupable.dev/api/research/enrich"
payload = {
"input": "<string>",
"schema": {
"type": "object",
"properties": {}
},
"processor": "base"
}
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({input: '<string>', schema: {type: 'object', properties: {}}, processor: 'base'})
};
fetch('https://api.recoupable.dev/api/research/enrich', 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.recoupable.dev/api/research/enrich",
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([
'input' => '<string>',
'schema' => [
'type' => 'object',
'properties' => [
]
],
'processor' => 'base'
]),
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://api.recoupable.dev/api/research/enrich"
payload := strings.NewReader("{\n \"input\": \"<string>\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {}\n },\n \"processor\": \"base\"\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://api.recoupable.dev/api/research/enrich")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"<string>\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {}\n },\n \"processor\": \"base\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recoupable.dev/api/research/enrich")
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 \"input\": \"<string>\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {}\n },\n \"processor\": \"base\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"output": {},
"citations": [
{
"url": "<string>",
"title": "<string>",
"field": "<string>"
}
]
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Request failed with status 501"
}Body
application/json
What to research (e.g., "Drake rapper from Dallas Texas").
JSON schema defining the fields to extract. Must include "type": "object" at the top level.
Show child attributes
Show child attributes
Research depth: base (fast), core (balanced), ultra (comprehensive).
Available options:
base, core, ultra Was this page helpful?
⌘I
