# Coupon and promo code API for AI agents (/use-cases/coupon-api)

Ask "what promo codes work at nike.com?" and your agent gets a list of live codes, each with the discount, a title, and whether the source verified it.

Coupon sites hide codes behind reveal buttons and have no public API. Use Bowmark to read them with one key and no browser. Offers that only show a code after a click come back without one, so check `code` before you show it.

## What you can call

| Function                    | What it does                                                                                                                                                 |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `bowmark.promocodes.search` | Takes a store `domain` and returns `codes`: each has `code`, `discount`, `title`, `description`, `verified`, `exclusive`, `source` and a `url` to redeem it. |

## Try it

```js
const r = await bowmark.promocodes.search({ domain: "nike.com" });
return r.codes
  .filter((c) => c.code)
  .slice(0, 5)
  .map((c) => ({ code: c.code, discount: c.discount, verified: c.verified }));
```

A run on 2026-12-01 returned 29 offers for nike.com. The first was `CYBER`, 50% off, marked verified.

Add the MCP server to Claude Code with this command, then ask your agent. Other clients are on [Installation](/docs/installation).

```sh
claude mcp add bowmark --transport http https://api.bowmark.ai/mcp --header "Authorization: Bearer $BOWMARK_API_KEY"
```

## FAQ

### Is there a coupon API?

Yes. `bowmark.promocodes.search` takes a domain and returns its current codes as JSON. Call it from `POST /v1/run` or an MCP client. See [HTTP API](/docs/http-api).

### Are the codes guaranteed to work?

No. `verified` tells you whether the source confirmed the code. An unverified code can be expired, so test it at checkout.

### Why is `code` sometimes null?

Some offers only reveal a code after a click on the coupon site. Those come back as deal-only listings with the discount text but no code.

### Which stores does it cover?

Any store the coupon sources list. Pass the store's domain, such as `nike.com`. A store with no listings returns an empty `codes` array.

### What does it cost?

Your first $10 is free, then you pay per call. See [Pricing](/docs/pricing).

## Next

Follow the [Quickstart](/docs/quickstart), or see [Shopping prices](/use-cases/shopping-prices).
