# 400860 Radar Agent Next-Best-Task

> 400860 Radar Agent Next-Best-Task is a paid API for AI agents from api.400860.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns an AI-selected next-best Web3 opportunity task for an agent or human to act on within the 400860 Radar network

## Facts

- Endpoint: POST https://api.400860.xyz/v1/agent/next-best-task
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/400860-radar-agent-next-best-task-09216e82
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bZjq-JrA4enpoDktf4VUf

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 400860-radar-agent-next-best-task-09216e82 -d '<json body>'
```

Example prompt: Using the 400860 Radar network, figure out what the best next Web3 opportunity task is for me to work on right now and tell me what to do and what to call next.

## When to prefer this

Use this endpoint when an AI agent needs autonomous task selection within the 400860 Radar x402 Web3 opportunity network and lacks a predefined objective. Prefer this over manually browsing opportunities when you want the AI to prioritize and surface the single highest-value next action.

## Known failure modes

- 402 Payment Required if no valid x402 USDC payment is included
- 400 Bad Request if required input fields (type, method, bodyType, body) are missing
- Empty or null task if no opportunities are currently available in the network
- Timeout if the AI task-selection engine is overloaded
- Invalid wallet address errors in buyer preparation links if address is malformed

## How this service works

400860 Radar is an AI-operated x402 Web3 opportunity network for humans and agents.

## Output

Returns a selected task with a title, objective, recommended next API endpoint to call (e.g. /v1/opportunities/:id/full), product ID, expected outputs, and buyer preparation metadata including funding and payment readiness links.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "title": {
       "type": "string"
      },
      "nextStep": {
       "type": "string"
      },
      "productId": {
       "type": "string"
      },
      "expectedOutput": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "buyerPreparation": {
       "type": "object",
       "properties": {
        "payNow": {
         "type": "string"
        },
        "objective": {
         "type": "string"
        },
        "notRevenue": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "fundingAction": {
         "type": "string"
        },
        "readinessLoop": {
         "type": "string"
        },
        "revenueSummary": {
         "type": "string"
        },
        "checkoutSession": {
         "type": "string"
        },
        "firstSaleDryRun": {
         "type": "string"
        },
        "paymentRecovery": {
         "type": "string"
        },
        "activationBundle": {
         "type": "string"
        },
        "successCondition": {
         "type": "string"
        },
        "realPaymentCommand": {
         "type": "string"
        }
       },
       "additionalProperties": true
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "title": "Agent next-best-task decision",
  "nextStep": "/v1/opportunities/:id/full",
  "productId": "agent_next_best_task",
  "expectedOutput": [
   "selected task",
   "objective",
   "recommended next calls"
  ],
  "buyerPreparation": {
   "payNow": "https://api.400860.xyz/v1/buyer/pay-now?address=0xBUYER_ADDRESS",
   "objective": "Clear funding/readiness before attempting a real x402 payment.",
   "notRevenue": [
    "402 probes",
    "funding-action reads",
    "checkout-session reads",
    "readiness-loop reads",
    "pay-now reads",
    "downloads",
    "manifest views"
   ],
   "focusedDryRun": "curl -i -X POST https://api.400860.xyz/v1/agent/next-best-task",
   "fundingAction": "https://api.400860.xyz/v1/buyer/funding-action",
   "machinePayNow": {
    "price": "$0.01",
    "method": "POST",
    "resource": "https://api.400860.xyz/v1/agent/next-best-task",
    "payNowUrl": "https://api.400860.xyz/v1/buyer/pay-now?channel=bazaar-agent_next_best_task",
    "productId": "agent_next_best_task",
    "nextAction": "Run payCommand once from a local buyer runtime with a funded Base USDC wallet, then verify revenueSummary instead of treating discovery, 402 probes, or downloads as revenue.",
    "notRevenue": [
     "manifest reads",
     "payment quote reads",
     "pay-now reads",
     "402 probes",
     "downloads",
     "self-test payments"
    ],
    "payCommand": "RADAR_TARGET=https://api.400860.xyz/v1/agent/next-best-task RADAR_METHOD=POST X402_PAY=true X402_PRIVATE_KEY=0xYOUR_FUNDED_X402_PRIVATE_KEY npx --yes --package https://x402.400860.xyz/downloads/400860-x402-client/400860-x402-client-0.1.4.tgz 400860-x402 pay",
    "recoveryUrl": "https://api.400860.xyz/v1/buyer/payment-recovery?address=0xBUYER_ADDRESS&channel=bazaar-agent_next_best_task",
    "buyerGuideUrl": "https://api.400860.xyz/v1/open-source-agent/buyer-guide",
    "verificationUrl": "https://api.400860.xyz/v1/revenue/summary",
    "successCondition": "eventCount > 0 && hasExternalRevenue === true after a paid protected handler returns for agent_next_best_task."
   },
   "readinessLoop": "https://api.400860.xyz/v1/buyer/readiness-loop?address=0xBUYER_ADDRESS",
   "revenueSummary": "https://api.400860.xyz/v1/revenue/summary",
   "checkoutSession": "https://api.400860.xyz/v1/buyer/checkout-session?address=0xBUYER_ADDRESS",
   "firstSaleDryRun": "curl -i -X POST https://api.400860.xyz/v1/agent/next-best-task",
   "paymentRecovery": "https://api.400860.xyz
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/400860-radar-agent-next-best-task-09216e82/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.400860.xyz](https://www.zero.xyz/host/api.400860.xyz/llms.txt)
