Choose the lowest-cost or highest-value feasible allocation, assignment, selection, or res
Choose the lowest-cost or highest-value feasible allocation, assignment, selection, or resource mix from caller-supplied options, capacities, budgets, and eligibility rules, with independently verified feasibility evidence and solver optimality/gap information.
30000 (raw units)
price
3
calls / 30d
2
unique payers
2026-09-03
updated
Provider
api.vrsai.tech · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6746dFF7bDB1ED4940DBe50024795AD97CbA09Af",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "30000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "EiJRESZjUCUufSjSb5iDmikXXeKa3C1gQwYCZR4xFocj",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "30000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"demands": [
{
"id": "warehouse_1",
"requirement": "80",
"satisfaction": "exact"
}
],
"lanes": [
{
"demand_id": "warehouse_1",
"source_id": "supplier_a",
"unit_cost": "2"
},
{
"demand_id": "warehouse_1",
"source_id": "supplier_b",
"unit_cost": "5"
}
],
"objective": "minimize_total_cost",
"problem_type": "allocation",
"sources": [
{
"capacity": "100",
"id": "supplier_a"
},
{
"capacity": "100",
"id": "supplier_b"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"decision": {
"lanes": [
{
"demand_id": "warehouse_1",
"quantity": "80",
"source_id": "supplier_a"
},
{
"demand_id": "warehouse_1",
"quantity": "0",
"source_id": "supplier_b"
}
],
"problem_type": "allocation",
"source_activations": [
{
"active": true,
"source_id": "supplier_a"
},
{
"active": false,
"source_id": "supplier_b"
}
]
},
"diagnostics": {
"binding_constraints": []
},
"economics": {
"objective": "minimize_total_cost",
"objective_value": "160",
"sense": "minimize"
},
"evidence": {
"constraints_checked": 3,
"constraints_violated": 0,
"decision_fingerprint": "v1:43b9ac81c64b8f95e46837a5103ac13d8f27ad829b32ee06463079bf0be83b81",
"input_fingerprint": "v1:23bf4e29934aad481275e4bf38cb45617bbbe664ad3dd5d771af2fe3d4d1c938",
"model_fingerprint": "v1:392d8ab317c91b7339a92c2b9fa4b2b30f326f2175955d6fa362c4b57287c5a5",
"ruleset_version": "decision_optimization_r1",
"solver": "highs",
"solver_version": "1.15.2"
},
"machine_action": "CONSUME_OPTIMAL_DECISION",
"problem_type": "allocation",
"quality": {
"absolute_gap": "0",
"best_bound": "160",
"relative_gap": "0",
"semantic_feasibility_verified": true,
"solution_uniqueness": "unknown",
"solver_optimality": "optimal_within_profile_tolerance"
},
"status": "OPTIMAL"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"offer-receipt": {
"info": {
"offers": [
{
"acceptIndex": 0,
"format": "jws",
"signature": "eyJhbGciOiJFUzI1NiIsImtpZCI6ImRpZDp3ZWI6dnJzYWkudGVjaCNwcm9kdWN0aW9uLTIwMjYtMDgtMTkifQ.eyJhbW91bnQiOiIzMDAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwibmV0d29yayI6ImVpcDE1NTo4NDUzIiwicGF5VG8iOiIweDY3NDZkRkY3YkRCMUVENDk0MERCZTUwMDI0Nzk1QUQ5N0NiQTA5QWYiLCJyZXNvdXJjZVVybCI6Imh0dHBzOi8vYXBpLnZyc2FpLnRlY2gvdjEvY2FwYWJpbGl0aWVzL2RlY2lzaW9uX29wdGltaXphdGlvbiIsInNjaGVtZSI6ImV4YWN0IiwidmFsaWRVbnRpbCI6MTc4ODQ2MTUyNywidmVyc2lvbiI6MX0.wMzas1iEb8q4YokX2TaAwexS9h3UcDt51OoYjvJNJW4vdwREOkc9SL2ih29LgLNOP2ZGvZEppLJFAZPU6BmEbA"
},
{
"acceptIndex": 1,
"format": "jws",
"signature": "eyJhbGciOiJFUzI1NiIsImtpZCI6ImRpZDp3ZWI6dnJzYWkudGVjaCNwcm9kdWN0aW9uLTIwMjYtMDgtMTkifQ.eyJhbW91bnQiOiIzMDAwMCIsImFzc2V0IjoiRVBqRldkZDVBdWZxU1NxZU0ycU4xeHp5YmFwQzhHNHdFR0drWnd5VER0MXYiLCJuZXR3b3JrIjoic29sYW5hOjVleWt0NFVzRnY4UDhOSmRUUkVwWTF2enFLcVpLdmRwIiwicGF5VG8iOiJFaUpSRVNaalVDVXVmU2pTYjVpRG1pa1hYZUthM0MxZ1F3WUNaUjR4Rm9jaiIsInJlc291cmNlVXJsIjoiaHR0cHM6Ly9hcGkudnJzYWkudGVjaC92MS9jYXBhYmlsaXRpZXMvZGVjaXNpb25fb3B0aW1pemF0aW9uIiwic2NoZW1lIjoiZXhhY3QiLCJ2YWxpZFVudGlsIjoxNzg4NDYxNTI3LCJ2ZXJzaW9uIjoxfQ.Xg5i4BhmhDPHQ-X92AoPAEVs3NDqdgu83kTsz6Ija-v5Es__TYrrdEUe58JGS-pePJuglBt3q1HXK_hHY-HqlA"
}
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offers": {
"items": {
"properties": {
"acceptIndex": {
"type": "integer"
},
"format": {
"type": "string"
},
"payload": {
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"payTo": {
"type": "string"
},
"resourceUrl": {
"type": "string"
},
"scheme": {
"type": "string"
},
"validUntil": {
"type": "integer"
},
"version": {
"type": "integer"
}
},
"required": [
"version",
"resourceUrl",
"scheme",
"network",
"asset",
"payTo",
"amount"
],
"type": "object"
},
"signature": {
"type": "string"
}
},
"required": [
"format",
"signature"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"offers"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.vrsai.tech/v1/capabilities/decision_optimization" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.vrsai.tech/v1/capabilities/decision_optimization");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.vrsai.tech/v1/capabilities/decision_optimization")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7284.json, and this resource appears in /discovery/resources and /discovery/search.