# Cortex Cloud Content Search API

> Cortex Cloud Content Search API is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Retrieves content items by IDs with optional full-text inclusion, paid per call in USDC via x402

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/search/contents
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortex-cloud-content-search-api-38017404
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e0ujtBwZzajyVrb-55I7t

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 cortex-cloud-content-search-api-38017404
```

Example prompt: Can you fetch the content items with IDs ['abc123', 'def456'] from Cortex Cloud and include the full text for each one?

## When to prefer this

Choose this endpoint when you need to retrieve specific content items by known IDs from Cortex Cloud, especially in agent workflows that require no API key setup and prefer pay-per-call USDC micropayments via x402. It is ideal when you already have content identifiers and need to hydrate them with full text or just verify their existence.

## Known failure modes

- Empty results array if none of the provided IDs match stored content
- Payment failure if USDC balance is insufficient or x402 payment is not properly constructed
- Invalid input if 'ids' is not an array of strings, returning a 400 error
- Rate limiting or service unavailability returning 5xx errors
- Partial results if only some IDs are found

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

A JSON object with a 'results' array containing matching content items; when the 'text' flag is true, each item includes the full content text body; when false or omitted, metadata only is returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ids": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "text": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {
  "results": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortex-cloud-content-search-api-38017404/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
