> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# IP Company API

> The company behind an IP address, with domain, ASN, AS name and ISP. Pass the IPs to look up.

`POST /v1/data/ip/company/run`

**Pricing:** $0.01 per lookup ($10.00 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**ips** `string[]` *required*

One or more ips. One request reads them all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/ip/company/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "ips": [
      "8.8.8.8",
      "1.1.1.1",
      "17.253.144.10"
    ]
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/ip/company/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "ips": [
        "8.8.8.8",
        "1.1.1.1",
        "17.253.144.10"
    ]
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/ip/company/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "ips": [
    "8.8.8.8",
    "1.1.1.1",
    "17.253.144.10"
  ]
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one lookup, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `ip` | IP | text |
| `found` | Found | boolean |
| `companyName` | Company Name | text |
| `domain` | Domain | text |
| `asn` | Asn | text |
| `asName` | As Name | text |
| `isp` | Isp | text |
| `isHosting` | Is Hosting | boolean |
| `cloudProvider` | Cloud Provider | text |
| `networkName` | Network Name | text |
| `networkCidr` | Network Cidr | text |
| `rir` | Rir | text |
| `hostname` | Hostname | text |
| `abuseEmail` | Abuse Email | text |
| `country` | Country | text |
| `countryCode` | Country Code | text |
| `region` | Region | text |
| `city` | City | text |
| `latitude` | Latitude | number |
| `longitude` | Longitude | number |
| `timezone` | Timezone | text |
| `ipVersion` | IP Version | number |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "ip/company",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "asName": "GOOGLE - Google LLC, US",
      "city": "San Jose",
      "companyName": "Google LLC",
      "timezone": "America/Los_Angeles",
      "cloudProvider": "Google",
      "networkName": "GOGL",
      "abuseEmail": "network-abuse@google.com",
      "hostname": "dns.google",
      "networkCidr": "8.8.8.0/24",
      "rir": "ARIN",
      "ip": "8.8.8.8",
      "country": "United States",
      "domain": "google.com",
      "found": true,
      "isHosting": true,
      "longitude": -121.8949553,
      "asn": "15169",
      "region": "California",
      "latitude": 37.3393939,
      "ipVersion": 4,
      "countryCode": "US",
      "isp": "Google LLC"
    }
  ]
}
```

## Related APIs

For the full company profile behind the domain use [`companies/enrichment`](https://docs.mindcase.co/apis/companies/enrichment).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.