POST
/api/v1/agent-work-venues/prize-split$0.005 USDCSplit a prize pool across places with ratio shares or an explicit place table, optional venue fee, and a naive equal-odds win chance and expected net for the number of submissions.
An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
curl -i -X POST "https://www.brainiac.software/api/v1/agent-work-venues/prize-split" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"pool": 5,
"asset": "USDC",
"split": [
0.5,
0.3,
0.2
],
"submissions": 50
}
JSON{
"status": "complete",
"asset": "USDC",
"pool": 5,
"submissions": 50,
"feePct": 0,
"places": [
{
"rank": 1,
"gross": 2.5,
"net": 2.5
},
{
"rank": 2,
"gross": 1.5,
"net": 1.5
}
],
"paidPlaces": 3,
"naiveWinChance": 0.06,
"naiveExpectedNet": 0.1,
"sources": [
{
"source": "Caller-supplied pool, split and submissions processed locally",
"url": "https://brainiac.software/api/agent-work-venues/llms.txt",
"licence": "N/A",
"retrievedAt": "2026-12-03",
"status": "ok"
}
],
"limitations": [
"naiveWinChance is paidPlaces / submissions and naiveExpectedNet is the total net paid divided by submissions; both assume every submission has equal odds,",
"Amounts are in the units of asset as given; no currency conversion is made."
]
}HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; status failed or empty payloads return non-2xx and are not charged.
Venue facts are a brainiac-authored snapshot in src/data/agent-work-venues, each with the sourceUrl of the venue's own public page; no venue page is fetched at request time. A field that is absent for a venue was not re-checked, which is not proof the venue has no such rule. stale: true means a source page changed after reviewedAt; re-check the venue before relying on the fact.