# Agentic Swarm Marketplace – Structured Q&A

> Agentic Swarm Marketplace – Structured Q&A is a paid API for AI agents from api.agentic-swarm-marketplace.com, paid per call via x402, $0.010000/call, status unknown (last checked 2026-09-14).

Answers a natural language question and returns a validated short-form answer with confidence score and source attribution.

## Facts

- Endpoint: GET https://api.agentic-swarm-marketplace.com/x402/v1/query
- Price: $0.010000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-agentic-swarm-marketplace-com-6b833b2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YwfCrc3M8eDXqd0Vr03Db

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 api-agentic-swarm-marketplace-com-6b833b2d
```

Example prompt: Give me a brief answer to 'What causes inflation?' — I need the answer, a confidence score, and the sources you used.

## When to prefer this

Prefer this endpoint when an agent needs a structured, validated, source-attributed answer to a natural language question in JSON format, especially when confidence scoring is important for downstream decision-making. Suitable for brief factual lookups or deeper 'full' responses on demand.

## Known failure modes

- Missing required 'q' parameter returns an error
- Question exceeds 500 character limit and is rejected
- Invalid 'depth' value (not 'brief' or 'full') may default or error
- Low-confidence answers may return with confidence near 0, indicating uncertainty
- Network or payment failure (x402 micropayment not completed) results in 402 response

## How this service works

Returns a constitution-safe short-form answer to an agent question with source attribution. Use for lightweight Q&A before purchasing deeper research.

## Output

A JSON object containing an 'answer' string (short-form response to the question), a 'confidence' number between 0 and 1, and a 'sources' array listing the attribution references used to generate the answer.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "q": "What is artificial intelligence?",
   "depth": "brief"
  }
 }
}
```

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Natural-language question"
      },
      "depth": {
       "enum": [
        "brief",
        "standard"
       ],
       "type": "string",
       "default": "brief"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-agentic-swarm-marketplace-com-6b833b2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentic-swarm-marketplace.com](https://www.zero.xyz/host/api.agentic-swarm-marketplace.com/llms.txt)
