# DemandEx Trending Opportunities Index

> DemandEx Trending Opportunities Index is a paid API for AI agents from api.demandex.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the top 20 trending market opportunity cards ranked by score as lightweight teasers, including id, slug, title, category, score, signalCount, and lastSeen.

## Facts

- Endpoint: GET https://api.demandex.dev/v1/opportunities/trending
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/demandex-trending-opportunities-index-7663894d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SAHTEfMLAYUs3j_nEe4ba

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 demandex-trending-opportunities-index-7663894d
```

Example prompt: Show me what the top trending market opportunities are right now — I want to see the highest-scored demand signals so I can decide which ones to dig into further.

## When to prefer this

Use this endpoint when you need a quick ranked overview of the most active market opportunities without paying for full card detail. It is the cheapest entry point into the DemandEx corpus ($0.01 USDC) and ideal for dashboards, initial discovery, or deciding which opportunities to investigate with the more expensive GET /v1/opportunity full-card endpoint.

## Known failure modes

- 503 corpus_warming — index is still building, no active cards exist yet; poll GET /v1/categories to see when cards go live; no charge incurred
- Payment failure — x402 payment of $0.01 USDC not completed; no data returned and no charge applied
- Network timeout or server error — no charge incurred per compute-first/settle-after policy

## How this service works

Paid ($0.01 USDC via x402). Returns the top 20 active opportunity cards by score as TEASERS — { id, slug, title, category, score, signalCount, lastSeen } only. No evidence and no productAngle (buy GET /v1/opportunity for the full card). While the index is still warming and no active cards exist yet, you get a no-charge 503 corpus_warming (never an empty charged list) — poll the free GET /v1/categories to see when cards go live. Compute-first / settle-after — you are not charged on any error. Re…

## Output

An array of up to 20 opportunity teaser objects, each containing: id, slug, title, category, score, signalCount, and lastSeen. No full evidence or productAngle data is included — those require a separate paid call to GET /v1/opportunity. If the index is still warming, returns a 503 corpus_warming status with no charge.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "charged": true,
  "fetchedAt": "2026-07-18T11:45:00.000Z",
  "opportunities": [
   {
    "id": "ckxxxx",
    "slug": "sony-wh1000xm5-replacement-headband",
    "score": 87.4,
    "title": "Sony WH-1000XM5 replacement headband",
    "category": "audio",
    "lastSeen": "2026-07-18T10:00:00.000Z",
    "signalCount": 34
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/demandex-trending-opportunities-index-7663894d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.demandex.dev](https://www.zero.xyz/host/api.demandex.dev/llms.txt)
