# SameDayDesk Opportunity Preflight

> SameDayDesk Opportunity Preflight is a paid API for AI agents from agents.samedaydesk.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

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.

## Facts

- Endpoint: GET https://agents.samedaydesk.com/work/opportunity-preflight
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/samedaydesk-opportunity-preflight-f9a5f4a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_663pll_qBTvOTs5hHSCn5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability samedaydesk-opportunity-preflight-f9a5f4a9
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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,
  
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/samedaydesk-opportunity-preflight-f9a5f4a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.samedaydesk.com](https://www.zero.xyz/host/agents.samedaydesk.com/llms.txt)
