curl --request POST \
--url https://harness.chance.cc/api/v1/intent \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"intent": "Only buy favorites priced at or above 95c. No longshots. Max $10 per market.",
"action": "Buy YES on the Will-X-win market at 21c for $10."
}
'{
"id": "<string>",
"requestHash": "<string>",
"status": "COMPLETED",
"verdict": "ALLOW",
"reasoning": "<string>",
"mode": "structured",
"venue": "<string>",
"actionFamily": "<string>",
"actionType": "<string>",
"proof": {
"transcriptRoot": "<string>",
"outputHash": "<string>",
"signature": "<string>",
"judge": "<string>",
"attested": true,
"anchorTx": "<string>",
"anchorVerified": true,
"transcriptUri": "<string>",
"explorerTx": "<string>"
},
"creditsRemaining": 123
}Verification
Verify an action
Checks action against intent and returns a verdict with its receipt. Runs synchronously. Costs one credit; a run that errors is refunded. Execute only on ALLOW.
POST
/
api
/
v1
/
intent
curl --request POST \
--url https://harness.chance.cc/api/v1/intent \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"intent": "Only buy favorites priced at or above 95c. No longshots. Max $10 per market.",
"action": "Buy YES on the Will-X-win market at 21c for $10."
}
'{
"id": "<string>",
"requestHash": "<string>",
"status": "COMPLETED",
"verdict": "ALLOW",
"reasoning": "<string>",
"mode": "structured",
"venue": "<string>",
"actionFamily": "<string>",
"actionType": "<string>",
"proof": {
"transcriptRoot": "<string>",
"outputHash": "<string>",
"signature": "<string>",
"judge": "<string>",
"attested": true,
"anchorTx": "<string>",
"anchorVerified": true,
"transcriptUri": "<string>",
"explorerTx": "<string>"
},
"creditsRemaining": 123
}Authorizations
ApiKeyAuthBearerAuth
An API key (chance_sk_live_…) from https://harness.chance.cc/keys.
Body
application/json
Venue adapter to use. Ids: hyperliquid, limitless, polymarket, dimes, myriad, orderly, derive, lifi, meow, liquid, robinhood, x402, agentcards, uniswap, solana, starknet, alchemy. The value is lowercased, stripped of punctuation and matched against ids, aliases (hl, poly, evm, eth, base, sol, rh, lyra, ...) and id prefixes. An unknown value is ignored and object actions fall back to structural detection.
Example:
"hyperliquid"
Response
Verdict produced.

