# the402.ai AI Agent Discovery API Purchase

> the402.ai AI Agent Discovery API Purchase is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.525/call, status down (last checked 2026-09-15).

Purchases access to the AI Agent Discovery API service on the402.ai platform, returning a job ID and status for async processing

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_17b567f7ca9b4679/purchase
- Price: $0.525/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-the402-ai-b4e60b3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1oMD9JnCDA8yksGS9LZsR

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-the402-ai-b4e60b3f -d '<json body>'
```

Example prompt: Search the402.ai's AI Agent Discovery API to find available AI services or agents that can help with natural language processing tasks — go ahead and purchase a discovery query now.

## When to prefer this

Use this endpoint when you need to discover available AI agent services or APIs on the402.ai marketplace and are willing to pay $0.525 USDC per query. Prefer this over manual browsing when building automated agent workflows that need to dynamically find and integrate new AI capabilities at runtime.

## Known failure modes

- Payment of $0.525 USDC not authorized or insufficient funds — payment rejected before job creation
- Service svc_17b567f7ca9b4679 unavailable or deprecated — 404 or 503 response
- Malformed request body — 400 bad request with validation error
- Rate limit exceeded on the402 platform — 429 response
- Job created but status stuck in pending — may require polling job status endpoint

## How this service works

Purchase: AI Agent Discovery API

## Output

Returns a JSON object with a job_id string identifying the async job, a status string indicating current processing state, and a thread_id string for tracking the conversation or request thread.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id"
 ],
 "properties": {
  "id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "job_id": {
   "type": "string"
  },
  "status": {
   "type": "string"
  },
  "thread_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-the402-ai-b4e60b3f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.the402.ai](https://www.zero.xyz/host/api.the402.ai/llms.txt)
