curl --request POST \
--url https://devs.adaptyvbio.com/api/v1/experiments/cost-estimate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"experiment_spec": {
"antigen_concentrations": [
1000,
316.2,
100,
31.6,
0
],
"n_replicates": 3,
"parameters": {},
"sequences": {},
"target_id": "019a03da-b87f-7e15-8b02-cef171c9871d"
}
}
'import requests
url = "https://devs.adaptyvbio.com/api/v1/experiments/cost-estimate"
payload = { "experiment_spec": {
"antigen_concentrations": [1000, 316.2, 100, 31.6, 0],
"n_replicates": 3,
"parameters": {},
"sequences": {},
"target_id": "019a03da-b87f-7e15-8b02-cef171c9871d"
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
experiment_spec: {
antigen_concentrations: [1000, 316.2, 100, 31.6, 0],
n_replicates: 3,
parameters: {},
sequences: {},
target_id: '019a03da-b87f-7e15-8b02-cef171c9871d'
}
})
};
fetch('https://devs.adaptyvbio.com/api/v1/experiments/cost-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://devs.adaptyvbio.com/api/v1/experiments/cost-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([
'experiment_spec' => [
'antigen_concentrations' => [
1000,
316.2,
100,
31.6,
0
],
'n_replicates' => 3,
'parameters' => [
],
'sequences' => [
],
'target_id' => '019a03da-b87f-7e15-8b02-cef171c9871d'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://devs.adaptyvbio.com/api/v1/experiments/cost-estimate"
payload := strings.NewReader("{\n \"experiment_spec\": {\n \"antigen_concentrations\": [\n 1000,\n 316.2,\n 100,\n 31.6,\n 0\n ],\n \"n_replicates\": 3,\n \"parameters\": {},\n \"sequences\": {},\n \"target_id\": \"019a03da-b87f-7e15-8b02-cef171c9871d\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://devs.adaptyvbio.com/api/v1/experiments/cost-estimate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"experiment_spec\": {\n \"antigen_concentrations\": [\n 1000,\n 316.2,\n 100,\n 31.6,\n 0\n ],\n \"n_replicates\": 3,\n \"parameters\": {},\n \"sequences\": {},\n \"target_id\": \"019a03da-b87f-7e15-8b02-cef171c9871d\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://devs.adaptyvbio.com/api/v1/experiments/cost-estimate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"experiment_spec\": {\n \"antigen_concentrations\": [\n 1000,\n 316.2,\n 100,\n 31.6,\n 0\n ],\n \"n_replicates\": 3,\n \"parameters\": {},\n \"sequences\": {},\n \"target_id\": \"019a03da-b87f-7e15-8b02-cef171c9871d\"\n }\n}"
response = http.request(request)
puts response.read_body{
"breakdown": {
"assay": {
"experiment_type": "screening",
"n_replicates": 3,
"replicate_price_cents": 2900,
"sequence_count": 5,
"subtotal_cents": 103500,
"unit_price_cents": 14900
},
"pricing_version": "<string>",
"total_cents": 106000,
"materials": {
"price_per_sequence_cents": 500,
"sequence_count": 5,
"subtotal_cents": 2500,
"target": {
"name": "Human PD-L1",
"sequence": "<string>",
"supplier_url": "<string>",
"target_catalog_id": "019a03da-b87f-7e15-8b02-cef171c9871d"
},
"type": "per_sequence"
}
},
"incomplete": {
"assay": {
"experiment_type": "screening",
"n_replicates": 3,
"replicate_price_cents": 2900,
"sequence_count": 5,
"subtotal_cents": 103500,
"unit_price_cents": 14900
},
"materials_unavailable": {
"reason": "Human PD-L1 is not yet onboarded to self-service pricing. You'll receive a quote with full price information.",
"target": {
"name": "Human PD-L1",
"sequence": "<string>",
"supplier_url": "<string>",
"target_catalog_id": "019a03da-b87f-7e15-8b02-cef171c9871d"
}
},
"pricing_version": "<string>",
"total_cents": "<unknown>"
},
"warnings": [
"<string>"
]
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}Estimate experiment cost
Calculates the estimated cost for an experiment without creating it. Useful for previewing costs before submission.
Request Body
Accepts an experiment_spec matching the creation endpoint format:
{
"experiment_spec": {
"experiment_type": "screening",
"method": "bli",
"target_id": "019a03da-b87f-7e15-8b02-cef171c9871d",
"sequences": {
"seq1": "MKTL...",
"seq2": "EVQL..."
},
"n_replicates": 3
}
}
Response
Returns a detailed cost breakdown including:
pricing_version: The pricing rules applied (e.g., “v1_2026-01-20”)assay: Per-experiment-type costs with base and replicate pricingmaterials: Target material costs (for binding experiments)total_cents: Sum of all costs in USD cents
Complete Estimate Response
When the target has self-service pricing:
{
"breakdown": {
"pricing_version": "v1_2026-01-20",
"assay": { "name": "screening", "base_cents": 14900, "replicate_addon_cents": 5800, "subtotal_cents": 103500 },
"materials": { "target": { "name": "Human PD-L1", "target_catalog_id": "019a03da-b87f-7e15-8b02-cef171c9871d" }, "price_per_sequence_cents": 500, "subtotal_cents": 2500 },
"total_cents": 106000
},
"incomplete": null,
"warnings": []
}
Incomplete Estimate Response
When the target lacks self-service pricing (e.g., custom proteins), you’ll
receive an incomplete estimate with assay costs but materials_unavailable:
{
"breakdown": null,
"incomplete": {
"pricing_version": "v1_2026-01-20",
"assay": { "name": "screening", "base_cents": 14900, "replicate_addon_cents": 5800, "subtotal_cents": 103500 },
"materials_unavailable": {
"target": { "name": "This target", "target_catalog_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" },
"reason": "This target is not yet onboarded to self-service pricing. You'll receive a quote with full price information."
}
},
"warnings": []
}
Use GET /targets?selfservice_only=true to list targets with complete pricing.
Notes
- All prices exclude VAT; taxes calculated at invoicing based on jurisdiction
- Requires authentication with experiment read permission
- Does not create an experiment
- Pricing is based on the current date (not a future experiment date)
- Targets without self-service pricing return incomplete estimates (not errors)
- Experiments created before pricing v1 (2026-01-20) cannot be estimated
curl --request POST \
--url https://devs.adaptyvbio.com/api/v1/experiments/cost-estimate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"experiment_spec": {
"antigen_concentrations": [
1000,
316.2,
100,
31.6,
0
],
"n_replicates": 3,
"parameters": {},
"sequences": {},
"target_id": "019a03da-b87f-7e15-8b02-cef171c9871d"
}
}
'import requests
url = "https://devs.adaptyvbio.com/api/v1/experiments/cost-estimate"
payload = { "experiment_spec": {
"antigen_concentrations": [1000, 316.2, 100, 31.6, 0],
"n_replicates": 3,
"parameters": {},
"sequences": {},
"target_id": "019a03da-b87f-7e15-8b02-cef171c9871d"
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
experiment_spec: {
antigen_concentrations: [1000, 316.2, 100, 31.6, 0],
n_replicates: 3,
parameters: {},
sequences: {},
target_id: '019a03da-b87f-7e15-8b02-cef171c9871d'
}
})
};
fetch('https://devs.adaptyvbio.com/api/v1/experiments/cost-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://devs.adaptyvbio.com/api/v1/experiments/cost-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([
'experiment_spec' => [
'antigen_concentrations' => [
1000,
316.2,
100,
31.6,
0
],
'n_replicates' => 3,
'parameters' => [
],
'sequences' => [
],
'target_id' => '019a03da-b87f-7e15-8b02-cef171c9871d'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://devs.adaptyvbio.com/api/v1/experiments/cost-estimate"
payload := strings.NewReader("{\n \"experiment_spec\": {\n \"antigen_concentrations\": [\n 1000,\n 316.2,\n 100,\n 31.6,\n 0\n ],\n \"n_replicates\": 3,\n \"parameters\": {},\n \"sequences\": {},\n \"target_id\": \"019a03da-b87f-7e15-8b02-cef171c9871d\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://devs.adaptyvbio.com/api/v1/experiments/cost-estimate")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"experiment_spec\": {\n \"antigen_concentrations\": [\n 1000,\n 316.2,\n 100,\n 31.6,\n 0\n ],\n \"n_replicates\": 3,\n \"parameters\": {},\n \"sequences\": {},\n \"target_id\": \"019a03da-b87f-7e15-8b02-cef171c9871d\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://devs.adaptyvbio.com/api/v1/experiments/cost-estimate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"experiment_spec\": {\n \"antigen_concentrations\": [\n 1000,\n 316.2,\n 100,\n 31.6,\n 0\n ],\n \"n_replicates\": 3,\n \"parameters\": {},\n \"sequences\": {},\n \"target_id\": \"019a03da-b87f-7e15-8b02-cef171c9871d\"\n }\n}"
response = http.request(request)
puts response.read_body{
"breakdown": {
"assay": {
"experiment_type": "screening",
"n_replicates": 3,
"replicate_price_cents": 2900,
"sequence_count": 5,
"subtotal_cents": 103500,
"unit_price_cents": 14900
},
"pricing_version": "<string>",
"total_cents": 106000,
"materials": {
"price_per_sequence_cents": 500,
"sequence_count": 5,
"subtotal_cents": 2500,
"target": {
"name": "Human PD-L1",
"sequence": "<string>",
"supplier_url": "<string>",
"target_catalog_id": "019a03da-b87f-7e15-8b02-cef171c9871d"
},
"type": "per_sequence"
}
},
"incomplete": {
"assay": {
"experiment_type": "screening",
"n_replicates": 3,
"replicate_price_cents": 2900,
"sequence_count": 5,
"subtotal_cents": 103500,
"unit_price_cents": 14900
},
"materials_unavailable": {
"reason": "Human PD-L1 is not yet onboarded to self-service pricing. You'll receive a quote with full price information.",
"target": {
"name": "Human PD-L1",
"sequence": "<string>",
"supplier_url": "<string>",
"target_catalog_id": "019a03da-b87f-7e15-8b02-cef171c9871d"
}
},
"pricing_version": "<string>",
"total_cents": "<unknown>"
},
"warnings": [
"<string>"
]
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}{
"error": "experiment not found",
"request_id": "req_019462a4-b1c2-7def-8901-23456789abcd"
}Authorizations
Biscuit-based bearer token. Obtain tokens from the Adaptyv Portal or via the /tokens endpoint. Tokens encode organization membership and role-based capabilities; the API verifies the token's cryptographic signature and authorization claims before processing requests. Use /tokens/attenuate to create restricted tokens for delegation.
Body
Request payload for cost estimation.
Contains the same experiment specification fields as creation, but does not require a name or project association.
Example
{
"experiment_spec": {
"experiment_type": "screening",
"method": "bli",
"target_id": "019a03da-b87f-7e15-8b02-cef171c9871d",
"sequences": {
"seq1": "EVQLVESGGGLVQPGGSLRLSCAASGFTFS...",
"seq2": "MKTLVLLALLVGAALA..."
},
"n_replicates": 3
}
}
Experiment specification for cost calculation (see ExperimentSpec for field details)
Show child attributes
Show child attributes
Response
Cost estimate calculated
Response wrapper for cost estimation endpoint.
Contains either a complete breakdown (when all pricing is available) or an incomplete estimate (when target lacks self-service pricing).
Detailed cost breakdown. Present when pricing is fully available.
Show child attributes
Show child attributes
Partial estimate. Present when target lacks self-service pricing.
Show child attributes
Show child attributes
Warnings about the estimate (e.g., unknown target, pricing limitations)
Was this page helpful?