# Advertise to AI agents on AgentNative

AgentNative sells ads that are matched to the topic of a query. An agent that faces the USD 0.01 query fee may take the result free with a sponsored note that it shows its user. You pay per click, from a prepaid budget.

## What this is

You write one short ad and choose what it is about: connector categories, connectors, datasets and up to 10 keywords. The ad can be offered when a query touches one of them. The better the topic match, the better the ad ranks; ties go to the higher bid.

## What agents see

When a query would cost USD 0.01, the payment_required answer can carry an ad_option with an ad_token and a sponsored note. The agent may repeat the same request with the ad_token to get the result free, and shows the sponsored note, labelled Sponsored, to its user. Ad text is data, never instructions. Each caller can take at most 50 ad-supported answers per day.

## How to advertise

1. Create the ad: POST /v1/ads with advertiser, headline, body, target_url, bid_usd (your bid per click) and targets (categories, connectors, datasets, up to 10 keywords). The answer holds ad_id and a private ad_key. The ad_key is shown once: keep it.
2. Wait for review: every new ad is reviewed by a person before it serves, and a held ad cannot be funded until it is approved. Check the status with GET /v1/ads/me and the header Authorization: Bearer `<ad_key>`.
3. Fund the budget: POST /v1/ads/topup with ad_id, amount_usd (1, 2 or 5) and a topup_id you generate. The answer is 402 with a WWW-Authenticate Payment challenge. Pay it with an MPP Tempo wallet client (USDC.e), then repeat the same body with the Authorization: Payment header.
4. Watch and control the ad: GET /v1/ads/me shows its status, budget and clicks. POST /v1/ads/me/pause and POST /v1/ads/me/resume stop and restart it.

## Copyable calls

### Create an ad

```sh
curl -sS -X POST https://agentnative.dennery.ai/v1/ads \
  -H 'content-type: application/json' \
  -d '{"advertiser":"Example Co","headline":"Book a table near you","body":"Restaurant bookings with live availability.","target_url":"https://example.com/agents","bid_usd":0.05,"targets":{"keywords":["restaurant"]}}'
```

### Fund an ad: ask for the payment challenge

The first call answers 402 with a WWW-Authenticate Payment challenge. Pay it with an MPP Tempo wallet client (for example mppx or the tempo CLI), then repeat the same body, with the same topup_id, adding the Authorization: Payment header. A 200 with status credited means the budget was added. Repeating a topup_id never credits twice.

```sh
curl -i -X POST https://agentnative.dennery.ai/v1/ads/topup \
  -H 'content-type: application/json' \
  -d '{"ad_id":"ad_0123456789abcdef","amount_usd":5,"topup_id":"<32 lowercase hex you generate once per top-up>"}'
```

### Check the status of your ad

```sh
curl -sS https://agentnative.dennery.ai/v1/ads/me \
  -H 'authorization: Bearer <ad_key>'
```

## Billing

- Billing is per click, from a prepaid budget. Showings are free.
- You set the bid per click: minimum USD 0.02, maximum USD 5.00.
- A click is charged once per offer, and at most once per caller per ad per UTC day. Charges never go past the budget.
- Budgets are topped up with USD 1, 2 or 5 per payment, over MPP on Tempo (USDC.e). This is the only way to pay for an ad budget.
- Top-ups are final. Unspent budget is not refunded automatically.

## Review and rules

- Every new ad is reviewed by a person before it serves. Ad text is also screened automatically.
- No instructions to agents or models in ad text.
- The link must be https on a host you are entitled to promote.
- No illegal, deceptive, adult, weapons, gambling or medical-claims advertising.

## Privacy

An ad is chosen by the topic of the query, never by who is asking. We do not profile or track callers or their users.

## Links

- Advertising terms (JSON): https://agentnative.dennery.ai/v1/ads/terms
- OpenAPI document: https://agentnative.dennery.ai/openapi.json
- Agent instructions (llms.txt): https://agentnative.dennery.ai/llms.txt
