Skip to main content
GET
/
ai
/
v1
/
deep-research
/
{id}
Get deep research job status and result
curl --request GET \
  --url https://api.messari.io/ai/v1/deep-research/{id} \
  --header 'X-Messari-API-Key: <api-key>'
import requests

url = "https://api.messari.io/ai/v1/deep-research/{id}"

headers = {"X-Messari-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-Messari-API-Key': '<api-key>'}};

fetch('https://api.messari.io/ai/v1/deep-research/{id}', 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/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)

func main() {

url := "https://api.messari.io/ai/v1/deep-research/{id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-Messari-API-Key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.messari.io/ai/v1/deep-research/{id}")
.header("X-Messari-API-Key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.messari.io/ai/v1/deep-research/{id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Messari-API-Key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "created_at": 123,
  "job_id": "aSDinaTvuI8gbWludGxpZnk=",
  "model": "<string>",
  "object": "<string>",
  "query": "<string>",
  "status": "<string>",
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "output": {
    "report": "<string>",
    "sources": [
      {
        "citationId": 123,
        "domain": "<string>",
        "title": "<string>",
        "url": "<string>"
      }
    ]
  }
}
{
"data": "<unknown>",
"error": "<string>"
}
{
"data": "<unknown>",
"error": "<string>"
}
{
"data": "<unknown>",
"error": "<string>"
}

Authorizations

X-Messari-API-Key
string
header
required

Response

Default response

created_at
integer<int64>
required

Unix timestamp when the job was created

job_id
string<byte>
required

Unique identifier for the deep research job

model
string
required

Model used for the deep research

object
string
required

Type of object returned, always 'deep_research'

query
string
required

The research query that was submitted for this job

status
string
required

Current status of the deep research job: queued, in_progress, completed, failed, cancelled

error
object

Error details, populated when status is 'failed'

output
object

The research output, populated when status is 'completed'