# Domain availability API for AI agents (/use-cases/domain-availability)

Ask "is acme-labs.com taken?" and your agent gets a yes or no, plus the registrar and expiry date when it is registered.

Most domain APIs sit behind a registrar account. Use Bowmark to check a name with one key and no registrar signup. It does not return prices, so use your registrar's API if you need one.

## What you can call

| Function                           | What it does                                                                    |
| ---------------------------------- | ------------------------------------------------------------------------------- |
| `bowmark.domain.checkAvailability` | Says if a name is registered, with `registrar`, `registeredAt` and `expiresAt`. |

## Try it

```js
const r = await bowmark.domain.checkAvailability("example.com");
return { available: r.available, registrar: r.registrar, expiresAt: r.expiresAt };
```

`price` comes back `null` and the result carries a warning saying so. That is expected.

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

### Do I need a registrar account?

No. Your Bowmark key is enough, and your first $10 is free.

### Can it check many names at once?

Yes. Call it for each name in one script.

### Does it return prices?

No. Prices come from a registrar's own API.

### 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 [Hosted JavaScript](/use-cases/hosted-javascript).
