curl --request POST \
--url https://api.monaco.com/v1/tam/preview/estimate \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_filters": {
"account_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filtering_rules": {
"filters": [
{
"field": "<string>",
"condition": "<string>",
"value": null
}
],
"operator": "and"
},
"searching_rule": {
"value": "<string>"
}
},
"contact_filters": {
"include_keywords": [
"<string>"
],
"exclude_keywords": [
"<string>"
],
"countries": [
"<string>"
]
},
"exclude_companies_without_titles": false,
"tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"contact_tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"tag_existing_accounts": true,
"tag_existing_contacts": true,
"qualifier_signal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"qualifier_rule": {
"value": true,
"operator": "equals"
},
"search_input": {
"filtering_rules": {
"filters": [
{
"field": "<string>",
"condition": "<string>",
"value": null
}
],
"operator": "and"
},
"title_enrichment": {
"condition": "or",
"criterias": []
},
"searching_rule": {
"value": "<string>"
},
"grouping_rule": {
"field": "<string>"
},
"sorting_rules": [],
"with_titles": false,
"title_search": [],
"exclude_companies_in_tam": false,
"max_candidates": 2,
"query_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'import requests
url = "https://api.monaco.com/v1/tam/preview/estimate"
payload = {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_filters": {
"account_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filtering_rules": {
"filters": [
{
"field": "<string>",
"condition": "<string>",
"value": None
}
],
"operator": "and"
},
"searching_rule": { "value": "<string>" }
},
"contact_filters": {
"include_keywords": ["<string>"],
"exclude_keywords": ["<string>"],
"countries": ["<string>"]
},
"exclude_companies_without_titles": False,
"tag_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"contact_tag_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"tag_existing_accounts": True,
"tag_existing_contacts": True,
"qualifier_signal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"qualifier_rule": {
"value": True,
"operator": "equals"
},
"search_input": {
"filtering_rules": {
"filters": [
{
"field": "<string>",
"condition": "<string>",
"value": None
}
],
"operator": "and"
},
"title_enrichment": {
"condition": "or",
"criterias": []
},
"searching_rule": { "value": "<string>" },
"grouping_rule": { "field": "<string>" },
"sorting_rules": [],
"with_titles": False,
"title_search": [],
"exclude_companies_in_tam": False,
"max_candidates": 2,
"query_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
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({
request_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
company_filters: {
account_view_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
filtering_rules: {
filters: [{field: '<string>', condition: '<string>', value: null}],
operator: 'and'
},
searching_rule: {value: '<string>'}
},
contact_filters: {
include_keywords: ['<string>'],
exclude_keywords: ['<string>'],
countries: ['<string>']
},
exclude_companies_without_titles: false,
tag_ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
contact_tag_ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
tag_existing_accounts: true,
tag_existing_contacts: true,
qualifier_signal_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
qualifier_rule: {value: true, operator: 'equals'},
search_input: {
filtering_rules: {
filters: [{field: '<string>', condition: '<string>', value: null}],
operator: 'and'
},
title_enrichment: {condition: 'or', criterias: []},
searching_rule: {value: '<string>'},
grouping_rule: {field: '<string>'},
sorting_rules: [],
with_titles: false,
title_search: [],
exclude_companies_in_tam: false,
max_candidates: 2,
query_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
account_view_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
}
})
};
fetch('https://api.monaco.com/v1/tam/preview/estimate', 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.monaco.com/v1/tam/preview/estimate",
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([
'request_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'company_filters' => [
'account_view_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'filtering_rules' => [
'filters' => [
[
'field' => '<string>',
'condition' => '<string>',
'value' => null
]
],
'operator' => 'and'
],
'searching_rule' => [
'value' => '<string>'
]
],
'contact_filters' => [
'include_keywords' => [
'<string>'
],
'exclude_keywords' => [
'<string>'
],
'countries' => [
'<string>'
]
],
'exclude_companies_without_titles' => false,
'tag_ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'contact_tag_ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'tag_existing_accounts' => true,
'tag_existing_contacts' => true,
'qualifier_signal_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'qualifier_rule' => [
'value' => true,
'operator' => 'equals'
],
'search_input' => [
'filtering_rules' => [
'filters' => [
[
'field' => '<string>',
'condition' => '<string>',
'value' => null
]
],
'operator' => 'and'
],
'title_enrichment' => [
'condition' => 'or',
'criterias' => [
]
],
'searching_rule' => [
'value' => '<string>'
],
'grouping_rule' => [
'field' => '<string>'
],
'sorting_rules' => [
],
'with_titles' => false,
'title_search' => [
],
'exclude_companies_in_tam' => false,
'max_candidates' => 2,
'query_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'account_view_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
]),
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.monaco.com/v1/tam/preview/estimate"
payload := strings.NewReader("{\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"company_filters\": {\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n }\n },\n \"contact_filters\": {\n \"include_keywords\": [\n \"<string>\"\n ],\n \"exclude_keywords\": [\n \"<string>\"\n ],\n \"countries\": [\n \"<string>\"\n ]\n },\n \"exclude_companies_without_titles\": false,\n \"tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contact_tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tag_existing_accounts\": true,\n \"tag_existing_contacts\": true,\n \"qualifier_signal_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"qualifier_rule\": {\n \"value\": true,\n \"operator\": \"equals\"\n },\n \"search_input\": {\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"title_enrichment\": {\n \"condition\": \"or\",\n \"criterias\": []\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n },\n \"grouping_rule\": {\n \"field\": \"<string>\"\n },\n \"sorting_rules\": [],\n \"with_titles\": false,\n \"title_search\": [],\n \"exclude_companies_in_tam\": false,\n \"max_candidates\": 2,\n \"query_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\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.monaco.com/v1/tam/preview/estimate")
.header("Content-Type", "application/json")
.body("{\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"company_filters\": {\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n }\n },\n \"contact_filters\": {\n \"include_keywords\": [\n \"<string>\"\n ],\n \"exclude_keywords\": [\n \"<string>\"\n ],\n \"countries\": [\n \"<string>\"\n ]\n },\n \"exclude_companies_without_titles\": false,\n \"tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contact_tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tag_existing_accounts\": true,\n \"tag_existing_contacts\": true,\n \"qualifier_signal_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"qualifier_rule\": {\n \"value\": true,\n \"operator\": \"equals\"\n },\n \"search_input\": {\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"title_enrichment\": {\n \"condition\": \"or\",\n \"criterias\": []\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n },\n \"grouping_rule\": {\n \"field\": \"<string>\"\n },\n \"sorting_rules\": [],\n \"with_titles\": false,\n \"title_search\": [],\n \"exclude_companies_in_tam\": false,\n \"max_candidates\": 2,\n \"query_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monaco.com/v1/tam/preview/estimate")
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 \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"company_filters\": {\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n }\n },\n \"contact_filters\": {\n \"include_keywords\": [\n \"<string>\"\n ],\n \"exclude_keywords\": [\n \"<string>\"\n ],\n \"countries\": [\n \"<string>\"\n ]\n },\n \"exclude_companies_without_titles\": false,\n \"tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contact_tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tag_existing_accounts\": true,\n \"tag_existing_contacts\": true,\n \"qualifier_signal_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"qualifier_rule\": {\n \"value\": true,\n \"operator\": \"equals\"\n },\n \"search_input\": {\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"title_enrichment\": {\n \"condition\": \"or\",\n \"criterias\": []\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n },\n \"grouping_rule\": {\n \"field\": \"<string>\"\n },\n \"sorting_rules\": [],\n \"with_titles\": false,\n \"title_search\": [],\n \"exclude_companies_in_tam\": false,\n \"max_candidates\": 2,\n \"query_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"companies": 1,
"cost": {
"unit_product": "<string>",
"charged": true,
"companies": 123,
"units": 123,
"unit_rate": 123,
"estimated_ai_signal_credits": 123,
"actual_ai_signal_credits": 123,
"rate_basis": "list",
"charged_operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}Estimate a TAM Preview's Qualifier cost
Price the Qualifier research of a Preview request before running it, in AI signal credits at the list rate: matched companies x the AI signal rate. Creates, researches and charges nothing. The Preview charges nothing either; the research is charged, per usable answer, only when that Preview’s Import is accepted.
curl --request POST \
--url https://api.monaco.com/v1/tam/preview/estimate \
--header 'Content-Type: application/json' \
--data '
{
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_filters": {
"account_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filtering_rules": {
"filters": [
{
"field": "<string>",
"condition": "<string>",
"value": null
}
],
"operator": "and"
},
"searching_rule": {
"value": "<string>"
}
},
"contact_filters": {
"include_keywords": [
"<string>"
],
"exclude_keywords": [
"<string>"
],
"countries": [
"<string>"
]
},
"exclude_companies_without_titles": false,
"tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"contact_tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"tag_existing_accounts": true,
"tag_existing_contacts": true,
"qualifier_signal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"qualifier_rule": {
"value": true,
"operator": "equals"
},
"search_input": {
"filtering_rules": {
"filters": [
{
"field": "<string>",
"condition": "<string>",
"value": null
}
],
"operator": "and"
},
"title_enrichment": {
"condition": "or",
"criterias": []
},
"searching_rule": {
"value": "<string>"
},
"grouping_rule": {
"field": "<string>"
},
"sorting_rules": [],
"with_titles": false,
"title_search": [],
"exclude_companies_in_tam": false,
"max_candidates": 2,
"query_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'import requests
url = "https://api.monaco.com/v1/tam/preview/estimate"
payload = {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_filters": {
"account_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"filtering_rules": {
"filters": [
{
"field": "<string>",
"condition": "<string>",
"value": None
}
],
"operator": "and"
},
"searching_rule": { "value": "<string>" }
},
"contact_filters": {
"include_keywords": ["<string>"],
"exclude_keywords": ["<string>"],
"countries": ["<string>"]
},
"exclude_companies_without_titles": False,
"tag_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"contact_tag_ids": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"tag_existing_accounts": True,
"tag_existing_contacts": True,
"qualifier_signal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"qualifier_rule": {
"value": True,
"operator": "equals"
},
"search_input": {
"filtering_rules": {
"filters": [
{
"field": "<string>",
"condition": "<string>",
"value": None
}
],
"operator": "and"
},
"title_enrichment": {
"condition": "or",
"criterias": []
},
"searching_rule": { "value": "<string>" },
"grouping_rule": { "field": "<string>" },
"sorting_rules": [],
"with_titles": False,
"title_search": [],
"exclude_companies_in_tam": False,
"max_candidates": 2,
"query_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_view_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
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({
request_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
company_filters: {
account_view_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
filtering_rules: {
filters: [{field: '<string>', condition: '<string>', value: null}],
operator: 'and'
},
searching_rule: {value: '<string>'}
},
contact_filters: {
include_keywords: ['<string>'],
exclude_keywords: ['<string>'],
countries: ['<string>']
},
exclude_companies_without_titles: false,
tag_ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
contact_tag_ids: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
tag_existing_accounts: true,
tag_existing_contacts: true,
qualifier_signal_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
qualifier_rule: {value: true, operator: 'equals'},
search_input: {
filtering_rules: {
filters: [{field: '<string>', condition: '<string>', value: null}],
operator: 'and'
},
title_enrichment: {condition: 'or', criterias: []},
searching_rule: {value: '<string>'},
grouping_rule: {field: '<string>'},
sorting_rules: [],
with_titles: false,
title_search: [],
exclude_companies_in_tam: false,
max_candidates: 2,
query_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
account_view_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
}
})
};
fetch('https://api.monaco.com/v1/tam/preview/estimate', 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.monaco.com/v1/tam/preview/estimate",
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([
'request_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'company_filters' => [
'account_view_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'filtering_rules' => [
'filters' => [
[
'field' => '<string>',
'condition' => '<string>',
'value' => null
]
],
'operator' => 'and'
],
'searching_rule' => [
'value' => '<string>'
]
],
'contact_filters' => [
'include_keywords' => [
'<string>'
],
'exclude_keywords' => [
'<string>'
],
'countries' => [
'<string>'
]
],
'exclude_companies_without_titles' => false,
'tag_ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'contact_tag_ids' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'tag_existing_accounts' => true,
'tag_existing_contacts' => true,
'qualifier_signal_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'qualifier_rule' => [
'value' => true,
'operator' => 'equals'
],
'search_input' => [
'filtering_rules' => [
'filters' => [
[
'field' => '<string>',
'condition' => '<string>',
'value' => null
]
],
'operator' => 'and'
],
'title_enrichment' => [
'condition' => 'or',
'criterias' => [
]
],
'searching_rule' => [
'value' => '<string>'
],
'grouping_rule' => [
'field' => '<string>'
],
'sorting_rules' => [
],
'with_titles' => false,
'title_search' => [
],
'exclude_companies_in_tam' => false,
'max_candidates' => 2,
'query_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'account_view_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
]),
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.monaco.com/v1/tam/preview/estimate"
payload := strings.NewReader("{\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"company_filters\": {\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n }\n },\n \"contact_filters\": {\n \"include_keywords\": [\n \"<string>\"\n ],\n \"exclude_keywords\": [\n \"<string>\"\n ],\n \"countries\": [\n \"<string>\"\n ]\n },\n \"exclude_companies_without_titles\": false,\n \"tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contact_tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tag_existing_accounts\": true,\n \"tag_existing_contacts\": true,\n \"qualifier_signal_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"qualifier_rule\": {\n \"value\": true,\n \"operator\": \"equals\"\n },\n \"search_input\": {\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"title_enrichment\": {\n \"condition\": \"or\",\n \"criterias\": []\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n },\n \"grouping_rule\": {\n \"field\": \"<string>\"\n },\n \"sorting_rules\": [],\n \"with_titles\": false,\n \"title_search\": [],\n \"exclude_companies_in_tam\": false,\n \"max_candidates\": 2,\n \"query_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\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.monaco.com/v1/tam/preview/estimate")
.header("Content-Type", "application/json")
.body("{\n \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"company_filters\": {\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n }\n },\n \"contact_filters\": {\n \"include_keywords\": [\n \"<string>\"\n ],\n \"exclude_keywords\": [\n \"<string>\"\n ],\n \"countries\": [\n \"<string>\"\n ]\n },\n \"exclude_companies_without_titles\": false,\n \"tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contact_tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tag_existing_accounts\": true,\n \"tag_existing_contacts\": true,\n \"qualifier_signal_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"qualifier_rule\": {\n \"value\": true,\n \"operator\": \"equals\"\n },\n \"search_input\": {\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"title_enrichment\": {\n \"condition\": \"or\",\n \"criterias\": []\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n },\n \"grouping_rule\": {\n \"field\": \"<string>\"\n },\n \"sorting_rules\": [],\n \"with_titles\": false,\n \"title_search\": [],\n \"exclude_companies_in_tam\": false,\n \"max_candidates\": 2,\n \"query_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monaco.com/v1/tam/preview/estimate")
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 \"request_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"company_filters\": {\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n }\n },\n \"contact_filters\": {\n \"include_keywords\": [\n \"<string>\"\n ],\n \"exclude_keywords\": [\n \"<string>\"\n ],\n \"countries\": [\n \"<string>\"\n ]\n },\n \"exclude_companies_without_titles\": false,\n \"tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"contact_tag_ids\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tag_existing_accounts\": true,\n \"tag_existing_contacts\": true,\n \"qualifier_signal_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"qualifier_rule\": {\n \"value\": true,\n \"operator\": \"equals\"\n },\n \"search_input\": {\n \"filtering_rules\": {\n \"filters\": [\n {\n \"field\": \"<string>\",\n \"condition\": \"<string>\",\n \"value\": null\n }\n ],\n \"operator\": \"and\"\n },\n \"title_enrichment\": {\n \"condition\": \"or\",\n \"criterias\": []\n },\n \"searching_rule\": {\n \"value\": \"<string>\"\n },\n \"grouping_rule\": {\n \"field\": \"<string>\"\n },\n \"sorting_rules\": [],\n \"with_titles\": false,\n \"title_search\": [],\n \"exclude_companies_in_tam\": false,\n \"max_candidates\": 2,\n \"query_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"account_view_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"companies": 1,
"cost": {
"unit_product": "<string>",
"charged": true,
"companies": 123,
"units": 123,
"unit_rate": 123,
"estimated_ai_signal_credits": 123,
"actual_ai_signal_credits": 123,
"rate_basis": "list",
"charged_operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found"
}
}Body
Keep this ID when repeating the same Preview request.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Add tag_ids to existing Accounts reused by this Import too. False tags only Accounts this Import creates; existing tags are always kept.
Add contact_tag_ids to existing Contacts reused by this Import too. False tags only Contacts this Import creates; existing tags are always kept.
The Account AI field whose researched answer decides which companies pass. Any AI-filled Account field of this organization can be this run's Qualifier. Leave it empty to run no Qualifier.
The passing answer for qualifier_signal_id, as {"operator": "equals", "value": …}. Rule operators: equals | contains (contains ignores case; use it for text and multi-select). A researched answer that does not pass the rule excludes the company and its people, the same as a failed or unanswered one; passing rows remain importable and Import writes each passing answer into the field. Required with qualifier_signal_id.
Show child attributes
Show child attributes
Exact Search criteria supplied by the caller for this Preview.
Show child attributes
Show child attributes