Estimate
Compare immediate spot execution across supplied BRL order books, including depth, fees, minimums and partial fills.
POST https://brl-depth-quote-4a6b.rafaelantunes137.workers.dev/api/estimate
0.005 USDC on Base · payTo 0x1ad55667b9fc7574e5b75b5ce9d516e426f5f568
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: via OMNIGATE (https://omnigate.scriptmasterlabs.com) — seller opted in; receipt token per settlement; 0.005 USDC fee inside settlement, waived inside the daily budget
Payment routes
{
"pair": "USDT-BRL",
"side": "buy",
"amountBrl": "60",
"books": [
{
"label": "Example A",
"feeBps": "40",
"minBrl": "10",
"asks": [
[
"5.70",
"4"
],
[
"5.72",
"10"
]
],
"bids": [
[
"5.69",
"20"
]
]
},
{
"label": "Example B",
"feeBps": "15",
"minBrl": "10",
"asks": [
[
"5.71",
"12"
]
],
"bids": [
[
"5.70",
"20"
]
]
},
{
"label": "Shallow example",
"feeBps": "10",
"asks": [
[
"5.68",
"5"
]
],
"bids": [
[
"5.67",
"20"
]
]
}
]
}{
"pair": "USDT-BRL",
"side": "buy",
"targetGrossBrl": 60,
"referenceMarkBrl": null,
"asOf": null,
"maxAgeSeconds": null,
"currencyConvention": "Buy fees in base units and sell fees in BRL.",
"bestByEffectivePrice": "Example B",
"results": [
{
"label": "Example A",
"suppliedMinimumsMet": true,
"minBrl": 10,
"minBase": null,
"observedAt": null,
"ageSeconds": null,
"freshness": "unknown",
"rankable": true,
"priceAfterFeeBrl": 5.73532478783309,
"side": "buy",
"status": "complete",
"complete": true,
"requestedBrl": 60,
"filledBrl": 60,
"remainingBrl": 0,
"filledPct": 100,
"fills": [
{
"priceBrl": 5.7,
"baseQty": 4,
"grossBrl": 22.8
},
{
"priceBrl": 5.72,
"baseQty": 6.503496503496503,
"grossBrl": 37.2
}
],
"vwapBrl": 5.712383488681757,
"worstPriceBrl": 5.72,
"bestBidBrl": 5.69,
"bestAskBrl": 5.7,
"midBrl": 5.695,
"spreadBrl": 0.01,
"spreadBps": 17.559263,
"markBrl": 5.695,
"markSource": "midpoint",
"slippageBps": 30.524124,
"feeBps": 40,
"feeCurrency": "base",
"feeBrl": 0.24,
"feeBase": 0.04201398601398602,
"baseGross": 10.503496503496503,
"baseNet": 10.461482517482517,
"quoteNetBrl": -60,
"bounds": {
"vwapMinBrl": 5.7,
"vwapMaxBrl": 5.72,
"visibleQuoteBrl": 80
}
},
{
"label": "Example B",
"suppliedMinimumsMet": true,
"minBrl": 10,
"minBase": null,
"observedAt": null,
"ageSeconds": null,
"freshness": "unknown",
"rankable": true,
"priceAfterFeeBrl": 5.7185778668002,
"side": "buy",
"status": "complete",
"complete": true,
"requestedBrl": 60,
"filledBrl": 60,
"remainingBrl": 0,
"filledPct": 100,
"fills": [
{
"priceBrl": 5.71,
"baseQty": 10.507880910683012,
"grossBrl": 60
}
],
"vwapBrl": 5.71,
"worstPriceBrl": 5.71,
"bestBidBrl": 5.7,
"bestAskBrl": 5.71,
"midBrl": 5.705,
"spreadBrl": 0.01,
"spreadBps": 17.528484,
"markBrl": 5.705,
"markSource": "midpoint",
"slippageBps": 8.764242,
"feeBps": 15,
"feeCurrency": "base",
"feeBrl": 0.09,
"feeBase": 0.01576182136602452,
"baseGross": 10.507880910683012,
"baseNet": 10.492119089316988,
"quoteNetBrl": -60,
"bounds": {
"vwapMinBrl": 5.71,
"vwapMaxBrl": 5.71,
"visibleQuoteBrl": 68.52
}
},
{
"label": "Shallow example",
"suppliedMinimumsMet": true,
"minBrl": null,
"minBase": null,
"observedAt": null,
"ageSeconds": null,
"freshness": "unknown",
"rankable": false,
"priceAfterFeeBrl": 5.685685685685685,
"side": "buy",
"status": "partial",
"complete": false,
"requestedBrl": 60,
"filledBrl": 28.4,
"remainingBrl": 31.6,
"filledPct": 47.333333,
"fills": [
{
"priceBrl": 5.68,
"baseQty": 5,
"grossBrl": 28.4
}
],
"vwapBrl": 5.68,
"worstPriceBrl": 5.68,
"bestBidBrl": 5.67,
"bestAskBrl": 5.68,
"midBrl": 5.675,
"spreadBrl": 0.01,
"spreadBps": 17.621145,
"markBrl": 5.675,
"markSource": "midpoint",
"slippageBps": 8.810573,
"feeBps": 10,
"feeCurrency": "base",
"feeBrl": 0.0284,
"feeBase": 0.005,
"baseGross": 5,
"baseNet": 4.995,
"quoteNetBrl": -28.4,
"bounds": {
"vwapMinBrl": 5.68,
"vwapMaxBrl": 5.68,
"visibleQuoteBrl": 28.4
}
}
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://brl-depth-quote-4a6b.rafaelantunes137.workers.dev/api/estimate · input in body · spec from feed (schema inferred from example)
Input schema
{
"type": "object",
"properties": {
"pair": {
"type": "string"
},
"side": {
"type": "string"
},
"amountBrl": {
"type": "string"
},
"books": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"feeBps": {
"type": "string"
},
"minBrl": {
"type": "string"
},
"asks": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"bids": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}Output schema
{
"type": "object",
"properties": {
"pair": {
"type": "string"
},
"side": {
"type": "string"
},
"targetGrossBrl": {
"type": "integer"
},
"referenceMarkBrl": {
"type": "null"
},
"asOf": {
"type": "null"
},
"maxAgeSeconds": {
"type": "null"
},
"currencyConvention": {
"type": "string"
},
"bestByEffectivePrice": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"suppliedMinimumsMet": {
"type": "boolean"
},
"minBrl": {
"type": "integer"
},
"minBase": {
"type": "null"
},
"observedAt": {
"type": "null"
},
"ageSeconds": {
"type": "null"
},
"freshness": {
"type": "string"
},
"rankable": {
"type": "boolean"
},
"priceAfterFeeBrl": {
"type": "number"
},
"side": {
"type": "string"
},
"status": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"requestedBrl": {
"type": "integer"
},
"filledBrl": {
"type": "integer"
},
"remainingBrl": {
"type": "integer"
},
"filledPct": {
"type": "integer"
},
"fills": {
"type": "array",
"items": {
"type": "object",
"properties": {
"priceBrl": {
"type": "number"
},
"baseQty": {
"type": "integer"
},
"grossBrl": {
"type": "number"
}
}
}
},
"vwapBrl": {
"type": "number"
},
"worstPriceBrl": {
"type": "number"
},
"bestBidBrl": {
"type": "number"
},
"bestAskBrl": {
"type": "number"
},
"midBrl": {
"type": "number"
},
"spreadBrl": {
"type": "number"
},
"spreadBps": {
"type": "number"
},
"markBrl": {
"type": "number"
},
"markSource": {
"type": "string"
},
"slippageBps": {
"type": "number"
},
"feeBps": {
"type": "integer"
},
"feeCurrency": {
"type": "string"
},
"feeBrl": {
"type": "number"
},
"feeBase": {
"type": "number"
},
"baseGross": {
"type": "number"
},
"baseNet": {
"type": "number"
},
"quoteNetBrl": {
"type": "integer"
},
"bounds": {
"type": "object",
"properties": {
"vwapMinBrl": {
"type": "number"
},
"vwapMaxBrl": {
"type": "number"
},
"visibleQuoteBrl": {
"type": "integer"
}
}
}
}
}
}
}
}curl -i -X POST 'https://brl-depth-quote-4a6b.rafaelantunes137.workers.dev/api/estimate' \
-H 'content-type: application/json' -d '{"pair":"USDT-BRL","side":"buy","amountBrl":"60","books":[{"label":"Example A","feeBps":"40","minBrl":"10","asks":[["5.70","4"],["5.72","10"]],"bids":[["5.69","20"]]},{"label":"Example B","feeBps":"15","minBrl":"10","asks":[["5.71","12"]],"bids":[["5.70","20"]]},{"label":"Shallow example","feeBps":"10","asks":[["5.68","5"]],"bids":[["5.67","20"]]}]}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs