POST
/api/v1/agent-work-venues/submission-cost$0.002 USDCReturn whether the next bounty submission is free and what it costs for a venue with a stored rule, using the current bounty submission count and how many submissions you already made.
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/submission-cost" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"venue": "taskmarket",
"bountySubmissions": 12,
"ownSubmissions": 0,
"asset": "USDC"
}
JSON{
"status": "complete",
"venue": "taskmarket",
"asset": "USDC",
"free": false,
"isRefused": false,
"cost": 0.001,
"rule": "On bounty and benchmark tasks the first 5 submissions per worker are free until the task has 50 submissions in total; each later submission costs 0.001 of the",
"sourceUrl": "https://docs.taskmarket.dev/tasks/earning/submitting",
"sources": [
{
"source": "Brainiac-authored agent work venue facts",
"url": "https://brainiac.software/api/agent-work-venues/llms.txt",
"licence": "Facts only; no text copied from venue terms",
"retrievedAt": "2026-12-03",
"status": "ok"
},
{
"source": "Taskmarket public page",
"url": "https://docs.taskmarket.dev",
"licence": "Facts only; no text copied from venue terms",
"retrievedAt": "2026-12-03",
"status": "ok"
}
],
"limitations": [
"Applies to bounty and benchmark tasks. Claim, pitch and auction tasks have no free allowance or per-worker maximum.",
"The cost is for the next submission only: free while ownSubmissions is below the free allowance and the task has fewer submissions in total than the free-until"
]
}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.