---
title: "Get IPs Information in Bulk"
method: POST
path: "/v1/ips/lookup"
tags: ["IP Lookup"]
---

# Get IPs Information in Bulk

`POST /v1/ips/lookup`

## Request

- Base URL: `https://api.edgegap.com`
- URL: `https://api.edgegap.com/v1/ips/lookup`
- Auth: API key in header `authorization`

Lookup IP addresses and return the associated information. Maximum of 20 IPs.

## Request body

- IPAddressesLookupPayload
  - `addresses` string[], required: IP Addresses

## Response `200`

Success

- IPAddressesLookupResponse
  - `addresses` IPAddressLookupResponse[], required: IP Addresses
    - `type` string: IP address type
    - `ip_address` string, required: IP address
    - `location` IPAddressLookupLocation
      - `continent` IPAddressLookupLocationContinent
        - `code` string: Continent code
        - `name` string: Continent name
      - `country` IPAddressLookupLocationCountry
        - `code` string: Country code
        - `name` string: Country name
      - `latitude` number: Latitude
      - `longitude` number: Longitude

## Other responses

- `400`: Bad Request
- `401`: Unauthorizeed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/edgegap/apis/edgegap-v1.md) · [All operations](https://skmtc.dev/edgegap/apis/edgegap-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/edgegap/apis/edgegap-v1/revisions/9fa2b393a6be?raw)
