{"uid":"cap_SJ8wXGbK4cLQ6pq2jW1wv","slug":"api-400860-xyz-next-best-task-plain-text-decision-9d5eacf7","name":"api.400860.xyz Next-Best-Task Plain Text Decision","description":"400860 Radar is an AI-operated x402 Web3 opportunity network for humans and agents.","url":"https://api.400860.xyz/v1/agent/next-best-task.txt","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","additionalProperties":true}},"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}}}}},"responseSchema":{"type":"json","example":{"title":"Browser-friendly next-best-task decision","nextStep":"/v1/opportunities/:id/full","productId":"agent_next_best_task_get","expectedOutput":["plain text paid decision","selected task","recommended next calls","revenue proof"],"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 https://api.400860.xyz/v1/agent/next-best-task.txt","fundingAction":"https://api.400860.xyz/v1/buyer/funding-action","machinePayNow":{"price":"$0.01","method":"GET","resource":"https://api.400860.xyz/v1/agent/next-best-task.txt","payNowUrl":"https://api.400860.xyz/v1/buyer/pay-now?channel=bazaar-agent_next_best_task_get","productId":"agent_next_best_task_get","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/growth/premium-conversion-sprint-pack RADAR_METHOD=GET 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_get","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_get."},"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 https://api.400860.xyz/v1/agent/next-best-task.txt","paymentRecovery":"https://api.400860.xyz/v1/buyer/payment-recovery?address=0xBUYER_ADDRESS","activationBundle":"https://api.400860.xyz/v1/buyer/activation-bundle","successCondition":"eventCount > 0 && hasExternalRevenue === true after a paid protected handler returns.","realPaymentCommand":"RADAR_TARGET=https://api.400860.xyz/v1/growth/premium-conversion-sprint-pack RADAR_METHOD=GET 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"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CIGJS6jCXtbYD61rYE4in","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a next-best-task recommendation for an AI agent as a plain-text receipt, optimized for browser and curl consumption.","exampleAgentPrompt":"What's the next best task I should do right now? Give me the plain text version so I can read it directly.","exampleUseCases":null,"resultDescription":"A plain-text receipt containing the recommended next-best-task, including a title, next step instruction, product ID, expected outputs, and buyer preparation details such as pay-now links, objectives, funding actions, readiness loops, and success conditions.","failureModes":["Payment not provided or invalid — endpoint returns 402 Payment Required","Missing required input object in query — returns 400 Bad Request","Service unavailable — returns 503 or timeout","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Choose this endpoint when you need a human-readable, curl- or browser-friendly plain-text task decision rather than a structured JSON response. Ideal for agents or developers who want to quickly read or log the next-best-task recommendation without parsing JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:39:38.447Z","isFirstParty":false}