ipinfo

Geolocate up to 100 IPv4 or IPv6 addresses in a single call.

Geolocate up to 100 IPv4 or IPv6 addresses in a single call. Pass an array of IPs; results come back in input order. Each successful entry includes country (name + ISO code), region (name + code), city, postal code, lat/lon (city-level precision), timezone, and network info (ISP, organization, AS). Failed entries include an error object instead of geo fields, plus okCount/failedCount totals. Far cheaper than 100 single calls to /api/geo/ip when enriching logs, access lists, or analytics batches.

post/api/ipinfo/bulk

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/ipinfo/bulk
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Request body

ipsstring[] required

Ips.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.