curl --request POST \
--url https://api.dappier.com/zeroclick/aimodel/{aimodel_external_id} \
--header 'Content-Type: application/json' \
--header 'zc-request-id: <zc-request-id>' \
--header 'zc-signature: <api-key>' \
--data '
{
"query": "What is the latest news on AI regulation?"
}
'import requests
url = "https://api.dappier.com/zeroclick/aimodel/{aimodel_external_id}"
payload = { "query": "What is the latest news on AI regulation?" }
headers = {
"zc-request-id": "<zc-request-id>",
"zc-signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'zc-request-id': '<zc-request-id>',
'zc-signature': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({query: 'What is the latest news on AI regulation?'})
};
fetch('https://api.dappier.com/zeroclick/aimodel/{aimodel_external_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.dappier.com/zeroclick/aimodel/{aimodel_external_id}",
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' => 'What is the latest news on AI regulation?'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"zc-request-id: <zc-request-id>",
"zc-signature: <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.dappier.com/zeroclick/aimodel/{aimodel_external_id}"
payload := strings.NewReader("{\n \"query\": \"What is the latest news on AI regulation?\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("zc-request-id", "<zc-request-id>")
req.Header.Add("zc-signature", "<api-key>")
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.dappier.com/zeroclick/aimodel/{aimodel_external_id}")
.header("zc-request-id", "<zc-request-id>")
.header("zc-signature", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"What is the latest news on AI regulation?\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dappier.com/zeroclick/aimodel/{aimodel_external_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["zc-request-id"] = '<zc-request-id>'
request["zc-signature"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"What is the latest news on AI regulation?\"\n}"
response = http.request(request)
puts response.read_body{
"message": "<string>"
}Real Time Search (ZeroClick)
Real-time search against a Dappier AI model, authenticated by verifying the
zc-signature HMAC over the raw request bytes. The same orchestration as
POST /app/aimodel/{ai_model_id} runs behind it.
Only marketplace-enabled models are reachable — ZeroClick traffic carries no
Dappier tenant, so a private model resolves to 404.
On success, usage is settled with ZeroClick and reported via the zc-usage
response header. The request is not charged on the Dappier platform.
curl --request POST \
--url https://api.dappier.com/zeroclick/aimodel/{aimodel_external_id} \
--header 'Content-Type: application/json' \
--header 'zc-request-id: <zc-request-id>' \
--header 'zc-signature: <api-key>' \
--data '
{
"query": "What is the latest news on AI regulation?"
}
'import requests
url = "https://api.dappier.com/zeroclick/aimodel/{aimodel_external_id}"
payload = { "query": "What is the latest news on AI regulation?" }
headers = {
"zc-request-id": "<zc-request-id>",
"zc-signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'zc-request-id': '<zc-request-id>',
'zc-signature': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({query: 'What is the latest news on AI regulation?'})
};
fetch('https://api.dappier.com/zeroclick/aimodel/{aimodel_external_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.dappier.com/zeroclick/aimodel/{aimodel_external_id}",
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' => 'What is the latest news on AI regulation?'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"zc-request-id: <zc-request-id>",
"zc-signature: <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.dappier.com/zeroclick/aimodel/{aimodel_external_id}"
payload := strings.NewReader("{\n \"query\": \"What is the latest news on AI regulation?\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("zc-request-id", "<zc-request-id>")
req.Header.Add("zc-signature", "<api-key>")
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.dappier.com/zeroclick/aimodel/{aimodel_external_id}")
.header("zc-request-id", "<zc-request-id>")
.header("zc-signature", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"What is the latest news on AI regulation?\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dappier.com/zeroclick/aimodel/{aimodel_external_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["zc-request-id"] = '<zc-request-id>'
request["zc-signature"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"What is the latest news on AI regulation?\"\n}"
response = http.request(request)
puts response.read_body{
"message": "<string>"
}Authorizations
HMAC signature minted by ZeroClick over the raw request bytes, of the form
t=<unix-seconds>,kid=<key-id>,v1=<hex-hmac>. The canonical string signed is
t \n METHOD \n path+query \n sha256hex(body) \n zc-request-id \n zc-agent-id,
and v1 = hex(HMAC_SHA256(secret, canonical)). Verified against the seller's
signing secret keyed by kid, with a ±300s timestamp skew bound.
A missing or invalid signature is rejected with 401
invalid_zeroclick_signature; this is never failed open.
Headers
Path Parameters
The ID of the AI model to query (e.g., am_01j06ytn18ejftedz6dyhz2b15). Must start with am_. The live catalog is available without a login at https://api.dappier.com/app/mcp/tools; use an entry's model_id when it starts with am_.
Body
Response
The AI model response. Includes the zc-usage header settling usage with ZeroClick.

