# AdPrompt Content Suggestion API

> AdPrompt Content Suggestion API is a paid API for AI agents from x402.adprompt.io, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-12).

Suggests contextually relevant ad content or promotional bundles using the AdPrompt engine, paid via x402 micropayment protocol at $0.50 USDC per call

## Facts

- Endpoint: POST https://x402.adprompt.io/v1/content/suggest?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/adprompt-content-suggestion-api-b48ab64a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FKpphy5brq_3msPzZMN2a

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 adprompt-content-suggestion-api-b48ab64a -d '<json body>'
```

Example prompt: Use AdPrompt to suggest relevant ad content for a tech blog post about electric vehicles — I want a contextually matched ad bundle I can display to my readers.

## When to prefer this

Choose this endpoint when you need AI-matched, contextually relevant ad or content bundle suggestions and can handle x402 micropayment flows. It is best suited for agents or platforms that already support x402 payment headers and want pay-per-call ad targeting without a subscription or API key contract. Prefer this over traditional ad APIs when you need programmatic, prompt-driven content suggestions at small scale with crypto-native payment rails.

## Known failure modes

- 402 Payment Required — returned before any content is delivered if no valid x402 payment header is present
- Invalid or expired payment token — x402 challenge fails and no content is returned
- Malformed POST body — missing required context or prompt fields causes a 400 error
- No matching bundle — engine returns empty or low-confidence suggestions for highly niche prompts
- Network timeout — slow payment resolution or backend latency causes request to fail

## How this service works

Public x402 API for the full AdPrompt engine and bundle catalog. Paid endpoints return an x402 v2 402 challenge until a valid payment is supplied.

## Output

Returns a suggested ad or content bundle from the AdPrompt engine, including creative copy, targeting metadata, and bundle details matched to the input context. The response is gated behind an x402 v2 payment challenge requiring a valid $0.50 USDC payment before the suggestion payload is delivered.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/adprompt-content-suggestion-api-b48ab64a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.adprompt.io](https://www.zero.xyz/host/x402.adprompt.io/llms.txt)
