{"uid":"cap_663pll_qBTvOTs5hHSCn5","slug":"samedaydesk-opportunity-preflight-f9a5f4a9","name":"SameDayDesk Opportunity Preflight","description":"Deterministic agent APIs for web and company intelligence, repository security, agent-work economics, machine-service discoverability, payment preflight and settlement proof, wallet context, and Morpho decision evidence. Pay per call through Base x402 or native MPP, with a Circle Gateway Nanopayments path for gasless batched USDC.","url":"https://agents.samedaydesk.com/work/opportunity-preflight","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["rewardUsd","hours","hourlyCostUsd"],"properties":{"hours":{"type":"number","minimum":0,"description":"Expected execution and QA hours."},"slots":{"type":"integer","default":1,"minimum":1},"platform":{"type":"string","description":"Optional platform ID from the free Settlement Radar, such as gofrantic or taskmarket."},"rewardUsd":{"type":"number","description":"Gross reward in USD or stablecoin-equivalent units.","exclusiveMinimum":0},"acceptance":{"enum":["deterministic","machine_scored","timed_review","discretionary","unknown"],"type":"string","default":"unknown"},"computeUsd":{"type":"number","default":0,"minimum":0},"settlement":{"enum":["direct","escrow","platform_balance","discretionary","unfunded","unknown"],"type":"string","default":"unknown"},"agentAccess":{"enum":["agent_allowed","agent_only","mixed","human_only","unknown"],"type":"string","default":"unknown"},"competition":{"type":"integer","default":0,"minimum":0},"hourlyCostUsd":{"type":"number","minimum":0,"description":"Caller's fully loaded hourly opportunity cost."},"reusableValueUsd":{"type":"number","default":0,"minimum":0,"description":"Conservative value retained even if the reward is not selected."},"mandatorySpendUsd":{"type":"number","default":0,"minimum":0},"selectionProbabilityPct":{"type":"number","maximum":100,"minimum":0,"description":"Caller-supplied overall reward probability. Omit to receive verify_first."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","product","version","decision","input","economics","gates","platformEvidence","boundary"],"properties":{"ok":{"type":"boolean","const":true},"gates":{"type":"object","required":["hardBlocks","requiredChecks","warnings"],"properties":{"warnings":{"type":"array","items":{"type":"string"}},"hardBlocks":{"type":"array","items":{"type":"string"}},"requiredChecks":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"input":{"type":"object","required":["platform","rewardUsd","hours","hourlyCostUsd","computeUsd","mandatorySpendUsd","reusableValueUsd","selectionProbabilityPct","competition","slots","agentAccess","acceptance","settlement"],"properties":{"hours":{"type":"number"},"slots":{"type":"integer"},"platform":{"type":["string","null"]},"rewardUsd":{"type":"number"},"acceptance":{"enum":["deterministic","machine_scored","timed_review","discretionary","unknown"],"type":"string"},"computeUsd":{"type":"number"},"settlement":{"enum":["direct","escrow","platform_balance","discretionary","unfunded","unknown"],"type":"string"},"agentAccess":{"enum":["agent_allowed","agent_only","mixed","human_only","unknown"],"type":"string"},"competition":{"type":"integer"},"hourlyCostUsd":{"type":"number"},"reusableValueUsd":{"type":"number"},"mandatorySpendUsd":{"type":"number"},"selectionProbabilityPct":{"type":["number","null"]}},"additionalProperties":false},"trial":{"type":"object","required":["contract","next"],"properties":{"next":{"type":"string"},"contract":{"type":"string","const":"fixed-non-authoritative-example"}},"additionalProperties":false},"sample":{"type":"boolean","const":true},"charged":{"type":"boolean","const":false},"product":{"type":"string","const":"samedaydesk-opportunity-preflight"},"version":{"type":"string","const":"1.0.0"},"boundary":{"type":"string"},"decision":{"enum":["attempt","verify_first","abandon"],"type":"string"},"economics":{"type":"object","required":["executionCostUsd","mandatorySpendUsd","totalAtRiskUsd","reusableValueUsd","expectedRewardUsd","expectedSurplusUsd","breakEvenSelectionProbabilityPct","equalEntryShareReferencePct","probabilitySource","equalEntryShareBoundary"],"properties":{"totalAtRiskUsd":{"type":"number"},"executionCostUsd":{"type":"number"},"reusableValueUsd":{"type":"number"},"expectedRewardUsd":{"type":["number","null"]},"mandatorySpendUsd":{"type":"number"},"probabilitySource":{"enum":["missing","caller_supplied"],"type":"string"},"expectedSurplusUsd":{"type":["number","null"]},"equalEntryShareBoundary":{"type":"string"},"equalEntryShareReferencePct":{"type":["number","null"]},"breakEvenSelectionProbabilityPct":{"type":"number"}},"additionalProperties":false},"platformEvidence":{"type":["object","null"],"required":["platformId","platformName","healthCategory","confidence","freshness","observedAt","freshUntil","sampleCount","settlementMechanism","rightsClass","evidence","unknowns"],"properties":{"evidence":{"type":"array","items":{"type":"object","required":["factClass","summary","sourceUrl","observedAt","stageReached","failedAt","confidence"],"properties":{"summary":{"type":"string"},"failedAt":{"type":["string","null"]},"factClass":{"type":"string"},"sourceUrl":{"type":"string"},"confidence":{"type":"string"},"observedAt":{"type":"string"},"stageReached":{"type":"string"}},"additionalProperties":false}},"unknowns":{"type":"array","items":{"type":"string"}},"freshness":{"type":"string"},"confidence":{"type":"string"},"freshUntil":{"type":"string"},"observedAt":{"type":"string"},"platformId":{"type":"string"},"rightsClass":{"type":"string"},"sampleCount":{"type":"integer"},"platformName":{"type":"string"},"healthCategory":{"type":"string"},"settlementMechanism":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"ok":true,"gates":{"warnings":["human_or_buyer_selection_can_reject_technically_valid_work","equal_entry_share_reference_is_below_break_even_probability"],"hardBlocks":[],"requiredChecks":["platform_evidence_not_available_reverify_primary_source"]},"input":{"hours":0.25,"slots":1,"platform":"taskmarket","rewardUsd":10,"acceptance":"discretionary","computeUsd":0.5,"settlement":"escrow","agentAccess":"agent_allowed","competition":80,"hourlyCostUsd":4,"reusableValueUsd":1,"mandatorySpendUsd":0,"selectionProbabilityPct":2},"product":"samedaydesk-opportunity-preflight","version":"1.0.0","boundary":"Deterministic arithmetic and dated categorical evidence only. The caller supplies cost and selection assumptions, must reverify the primary listing, and owns legal, policy, identity, spending, and execution decisions. No platform account, claim, bid, payment, or submission is made.","decision":"abandon","economics":{"totalAtRiskUsd":1.5,"executionCostUsd":1.5,"reusableValueUsd":1,"expectedRewardUsd":0.2,"mandatorySpendUsd":0,"probabilitySource":"caller_supplied","expectedSurplusUsd":-0.3,"equalEntryShareBoundary":"slots divided by visible competitors is a reference ratio, not a payout probability or calibrated forecast.","equalEntryShareReferencePct":1.25,"breakEvenSelectionProbabilityPct":5},"platformEvidence":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6a-PJR3JdGwtbOXGx2lK5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates whether an agent-work opportunity (bounty, task, gig) is economically worth pursuing by running deterministic break-even arithmetic and categorical risk checks against caller-supplied cost and probability inputs.","exampleAgentPrompt":"Check if this TaskMarket gig is worth taking: it pays $10, I expect it to take 15 minutes, my hourly cost is $4, compute will run $0.50, there are about 80 competitors, acceptance is discretionary, settlement is escrow, agents are allowed, and I think I have roughly a 2% chance of being selected — give me a go or abandon decision.","exampleUseCases":[{"title":"Agent bounty screening before bid","prompt":"Before my agent submits a bid on this Gofrantic bounty — $25 reward, discretionary acceptance, 80 competitors, escrow settlement, agents allowed, 1 hour of work at $6/hr hourly cost, no compute spend, I'd guess maybe 5% selection chance — tell me if the expected surplus is positive or if I should abandon it."},{"title":"High-competition task viability check","prompt":"There's a task on TaskMarket paying $50 with 200 competitors, it takes about 2 hours, my hourly cost is $8, and the acceptance is machine-scored — what's the break-even selection probability I need, and should I go for it if I think I have a 3% chance?"},{"title":"Low-hours micro-task economic preflight","prompt":"I'm looking at a quick 10-minute micro-task paying $2, human-only discretionary acceptance, unknown settlement, no platform specified, $5/hr hourly cost, zero compute — is it worth attempting or should I skip it?"}],"resultDescription":"Returns a structured JSON object with: a top-level 'decision' field ('go' or 'abandon'), an 'economics' block with expectedSurplusUsd, executionCostUsd, expectedRewardUsd, breakEvenSelectionProbabilityPct, equalEntryShareReferencePct, totalAtRiskUsd, and probabilitySource; a 'gates' block listing hardBlocks (showstoppers), warnings (soft risks), and requiredChecks (items caller must verify); optional platformEvidence if a known platform ID was supplied; plus a boundary disclaimer clarifying the arithmetic-only scope.","failureModes":["Missing required fields (rewardUsd, hours, hourlyCostUsd) returns a validation error","rewardUsd must be strictly greater than 0 — zero or negative values are rejected","selectionProbabilityPct outside 0–100 range causes a schema validation failure","Unknown or unrecognized platform ID returns null platformEvidence with a requiredChecks flag to reverify primary source","Payment not included or insufficient USDC causes a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a fast, deterministic go/no-go economic verdict on a task or bounty before spending compute or time on execution. It is specifically designed for agent-work marketplaces (gig, bounty, task platforms) and returns explicit break-even math rather than a vague score. Prefer it over generic financial calculators when you need categorical risk gates (hard blocks, warnings, required checks) alongside expected-value arithmetic, especially when the platform ID maps to SameDayDesk's Settlement Radar evidence.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:50:24.606Z","isFirstParty":false}