# AI Agent Hub Ad Impression Retrieval

> AI Agent Hub Ad Impression Retrieval is a paid API for AI agents from ai-agent-hub-backend-odzo.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Fetches an ad payload for a given ad ID, recording an impression, in exchange for a micropayment

## Facts

- Endpoint: POST https://ai-agent-hub-backend-odzo.onrender.com/api/ads/impression
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-agent-hub-ad-impression-retrieval-6c191a2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mVC6guFuWudhnnldj_uRA

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 ai-agent-hub-ad-impression-retrieval-6c191a2b -d '<json body>'
```

Example prompt: Fetch the ad payload for ad ID 'ad_abc123' from AI Agent Hub so I can display it — use my agent ID 'agent_xyz' for attribution.

## When to prefer this

Use this endpoint when an AI agent needs to fetch and display a specific ad by its known ID, particularly within the AI Agent Hub ecosystem where micropayment-based ad monetization is expected. Prefer this over generic ad networks when you already have a specific adId and want per-impression attribution to a registered agent ID.

## Known failure modes

- Invalid or unknown adId returns an error or empty payload
- Missing adId field causes a 400 bad request
- Payment failure prevents ad retrieval
- Network timeout on the Render-hosted backend
- Invalid agentId format may cause attribution failure but not block the request

## How this service works

Pay a fraction of a cent to retrieve an ad payload for a given adId

## Output

Returns a structured ad payload containing the creative content (e.g. text, image URL, link, title, description) for the specified ad, and records that an impression occurred. The micropayment of $0.001 USDC is charged per successful call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "adId": {
   "type": "string",
   "description": "The id of the ad to retrieve"
  },
  "agentId": {
   "type": "string",
   "description": "Optional registered agent id for attribution"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-agent-hub-ad-impression-retrieval-6c191a2b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-agent-hub-backend-odzo.onrender.com](https://www.zero.xyz/host/ai-agent-hub-backend-odzo.onrender.com/llms.txt)
