# JubJub Content Revenue Lookup

> JubJub Content Revenue Lookup is a paid API for AI agents from api.jubjubapp.com, paid per call via x402, $0.005000/call, status unknown (last checked 2026-09-14).

Returns lifetime on-chain USDC streaming revenue for a specific content item, broken down by time window and revenue source.

## Facts

- Endpoint: POST https://api.jubjubapp.com/v2/paid/get_content_revenue
- Price: $0.005000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-jubjubapp-com-1f0e21e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kqZHbolYrYYbepWtEGuZ_

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-jubjubapp-com-1f0e21e2 -d '<json body>'
```

Example prompt: How much USDC has my JubJub content item earned in total — can you pull the lifetime revenue breakdown by window and source for content ID 'clk_abc123'?

## When to prefer this

Use this endpoint when you need authoritative on-chain USDC revenue figures for a specific JubJub content item, especially when you need to break down earnings by time window or by revenue source. Prefer this over analytics endpoints when the question is specifically about monetary earnings rather than engagement metrics like views or watch time.

## Known failure modes

- Content ID not found or not owned by the calling wallet — returns 404 or authorization error
- Content contract not yet deployed (still in draft state) — returns empty revenue or contract-not-found error
- Invalid time window parameter — returns 400 validation error
- No revenue recorded yet for the content — returns zero-value response
- Wallet not authorized to view revenue for this content — returns 403

## How this service works

Lifetime revenue for a content item — on-chain streaming USDC pulled into the content contract, by window and by source.

## Output

Returns lifetime USDC revenue totals for the specified content item, segmented by time window (e.g. daily, weekly, all-time) and by revenue source (e.g. platform, token holder streaming), all reflecting on-chain amounts pulled into the content contract.

## More

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