# Bazaaro AI Task Solver

> Bazaaro AI Task Solver is a paid API for AI agents from bazaaro-agent.vercel.app, paid per call via x402, $0.2/call, status down (last checked 2026-09-14).

Routes a natural language task through multiple x402 micropayment services, aggregates their results, and returns a synthesized answer

## Facts

- Endpoint: POST https://bazaaro-agent.vercel.app/api/solveTask
- Price: $0.2/call
- Payment: x402
- Status: down
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bazaaro-agent-vercel-app-59383209
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kr9MkOIY7maaqAXpEKJ5e

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 bazaaro-agent-vercel-app-59383209 -d '<json body>'
```

Example prompt: Use Bazaaro to answer this for me: 'What is the current weather in San Francisco and what are the top trending crypto tokens right now?' — route it through whatever x402 services make sense and give me a combined answer.

## When to prefer this

Choose this endpoint when you want to solve a complex task that may require multiple specialized data sources without knowing which x402 services to call individually. It is ideal for multi-domain queries, for agents that want automatic service selection and payment handling, and when you want a single synthesized answer instead of managing multiple API calls yourself. Prefer it over calling individual x402 services directly when the routing logic is non-trivial or when you want cost transparency across the full operation.

## Known failure modes

- No suitable x402 service found for the task — success:false with empty services array
- One or more downstream x402 services fail — partial success with some services showing success:false
- Insufficient funds or payment failure for one or more x402 service calls
- Prompt too vague for the router to match any available service
- Timeout if downstream services are slow — executionTimeInSeconds may be high
- Invalid or missing prompt field — likely 400/422 error response

## How this service works

Bazaaro is an AI-powered x402 service aggregator that smartly routes queries through appropriate x402 services and aggregates the results.

## Output

Returns a JSON object with a synthesized natural language response, the original query echoed back, number of x402 services called, a detailed breakdown of each service used (URL, description, cost, success status), total USDC cost incurred, execution time in seconds, and a timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "prompt": {
   "type": "string",
   "description": "The task or question you want the AI aggregator to solve using available x402 services"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "user_query",
  "response",
  "servicesUsed",
  "totalCost",
  "services"
 ],
 "properties": {
  "success": {
   "type": "boolean",
   "description": "Whether the task was successfully completed"
  },
  "response": {
   "type": "string",
   "description": "The final synthesized answer from the aggregator"
  },
  "services": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "cost": {
      "type": "string",
      "description": "Cost of this service"
     },
     "success": {
      "type": "boolean",
      "description": "Whether this service call succeeded"
     },
     "resource": {
      "type": "string",
      "description": "The x402 resource URL"
     },
     "costValue": {
      "type": "number",
      "description": "Numeric cost value"
     },
     "description": {
      "type": "string",
      "description": "Service description"
     }
    }
   },
   "description": "Detailed breakdown of each x402 service endpoint used"
  },
  "timestamp": {
   "type": "string",
   "description": "ISO timestamp of the response"
  },
  "totalCost": {
   "type": "string",
   "description": "Total cost of all services used (e.g., '0.50 USDC')"
  },
  "user_query": {
   "type": "string",
   "description": "The original user prompt"
  },
  "servicesUsed": {
   "type": "number",
   "description": "Number of x402 services called"
  },
  "executionTimeInSeconds": {
   "type": "number",
   "description": "Total execution time in seconds"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bazaaro-agent-vercel-app-59383209/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bazaaro-agent.vercel.app](https://www.zero.xyz/host/bazaaro-agent.vercel.app/llms.txt)
