# IP address to ASN and ISP lookup API for AI agents (/use-cases/ip-address-lookup)

Ask "who owns 8.8.8.8?" and your agent returns the ASN, the ISP, the reverse hostname and a city.

Use this to label an address in a log, an alert or an abuse report. The calls only read.

## What you can call

| Function                       | What it does                                                                      |
| ------------------------------ | --------------------------------------------------------------------------------- |
| `bowmark.ip_asn_lookup.lookup` | Reads one IPv4 or IPv6 address: ASN, ISP, hostname, city, region and coordinates. |

## Try it

```js
const r = await bowmark.ip_asn_lookup.lookup("8.8.8.8");
return r.result;
```

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

### Does it need an API key?

No.

### How precise is the location?

It is approximate. Anycast addresses can show a city far from the server.

### 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 [Websites without an API](/use-cases/websites-without-an-api).
