Create a deep research job
curl --request POST \
--url https://api.messari.io/ai/v1/deep-research \
--header 'Content-Type: */*' \
--header 'X-Messari-API-Key: <api-key>' \
--data '
{
"query": "<string>",
"instructions": "<string>",
"job_id": "aSDinaTvuI8gbWludGxpZnk="
}
'import requests
url = "https://api.messari.io/ai/v1/deep-research"
payload = {
"query": "<string>",
"instructions": "<string>",
"job_id": "aSDinaTvuI8gbWludGxpZnk="
}
headers = {
"X-Messari-API-Key": "<api-key>",
"Content-Type": "*/*"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Messari-API-Key': '<api-key>', 'Content-Type': '*/*'},
body: JSON.stringify({
query: '<string>',
instructions: '<string>',
job_id: 'aSDinaTvuI8gbWludGxpZnk='
})
};
fetch('https://api.messari.io/ai/v1/deep-research', 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.messari.io/ai/v1/deep-research",
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>',
'instructions' => '<string>',
'job_id' => 'aSDinaTvuI8gbWludGxpZnk='
]),
CURLOPT_HTTPHEADER => [
"Content-Type: */*",
"X-Messari-API-Key: <api-key>"
],
]);
$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.messari.io/ai/v1/deep-research"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"instructions\": \"<string>\",\n \"job_id\": \"aSDinaTvuI8gbWludGxpZnk=\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Messari-API-Key", "<api-key>")
req.Header.Add("Content-Type", "*/*")
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.messari.io/ai/v1/deep-research")
.header("X-Messari-API-Key", "<api-key>")
.header("Content-Type", "*/*")
.body("{\n \"query\": \"<string>\",\n \"instructions\": \"<string>\",\n \"job_id\": \"aSDinaTvuI8gbWludGxpZnk=\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/ai/v1/deep-research")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Messari-API-Key"] = '<api-key>'
request["Content-Type"] = '*/*'
request.body = "{\n \"query\": \"<string>\",\n \"instructions\": \"<string>\",\n \"job_id\": \"aSDinaTvuI8gbWludGxpZnk=\"\n}"
response = http.request(request)
puts response.read_body{
"created_at": 123,
"job_id": "aSDinaTvuI8gbWludGxpZnk=",
"model": "<string>",
"object": "<string>",
"query": "<string>",
"status": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}Deep Research
Create Deep Research Job
Start a new deep research report generation. The job runs asynchronously and typically takes 5-10 minutes to complete.
POST
/
ai
/
v1
/
deep-research
Create a deep research job
curl --request POST \
--url https://api.messari.io/ai/v1/deep-research \
--header 'Content-Type: */*' \
--header 'X-Messari-API-Key: <api-key>' \
--data '
{
"query": "<string>",
"instructions": "<string>",
"job_id": "aSDinaTvuI8gbWludGxpZnk="
}
'import requests
url = "https://api.messari.io/ai/v1/deep-research"
payload = {
"query": "<string>",
"instructions": "<string>",
"job_id": "aSDinaTvuI8gbWludGxpZnk="
}
headers = {
"X-Messari-API-Key": "<api-key>",
"Content-Type": "*/*"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Messari-API-Key': '<api-key>', 'Content-Type': '*/*'},
body: JSON.stringify({
query: '<string>',
instructions: '<string>',
job_id: 'aSDinaTvuI8gbWludGxpZnk='
})
};
fetch('https://api.messari.io/ai/v1/deep-research', 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.messari.io/ai/v1/deep-research",
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>',
'instructions' => '<string>',
'job_id' => 'aSDinaTvuI8gbWludGxpZnk='
]),
CURLOPT_HTTPHEADER => [
"Content-Type: */*",
"X-Messari-API-Key: <api-key>"
],
]);
$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.messari.io/ai/v1/deep-research"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"instructions\": \"<string>\",\n \"job_id\": \"aSDinaTvuI8gbWludGxpZnk=\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Messari-API-Key", "<api-key>")
req.Header.Add("Content-Type", "*/*")
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.messari.io/ai/v1/deep-research")
.header("X-Messari-API-Key", "<api-key>")
.header("Content-Type", "*/*")
.body("{\n \"query\": \"<string>\",\n \"instructions\": \"<string>\",\n \"job_id\": \"aSDinaTvuI8gbWludGxpZnk=\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.messari.io/ai/v1/deep-research")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Messari-API-Key"] = '<api-key>'
request["Content-Type"] = '*/*'
request.body = "{\n \"query\": \"<string>\",\n \"instructions\": \"<string>\",\n \"job_id\": \"aSDinaTvuI8gbWludGxpZnk=\"\n}"
response = http.request(request)
puts response.read_body{
"created_at": 123,
"job_id": "aSDinaTvuI8gbWludGxpZnk=",
"model": "<string>",
"object": "<string>",
"query": "<string>",
"status": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}{
"data": "<unknown>",
"error": "<string>"
}Authorizations
Body
*/*
Response
Default response
Unix timestamp when the job was created
Unique identifier for the deep research job
Model used for the deep research
Type of object returned, always 'deep_research'
The research query that was submitted for this job
Current status of the deep research job: queued, in_progress, completed, failed, cancelled
⌘I

