# gateway.apiosk.com IP Data Lookup

> gateway.apiosk.com IP Data Lookup is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.13/call, status down (last checked 2026-09-15).

Looks up geolocation, ASN, carrier, timezone, currency, language, and threat intelligence for a given IP address via the ipdata.co service.

## Facts

- Endpoint: GET https://gateway.apiosk.com/ipdata/lookup
- Price: $0.13/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gateway-apiosk-com-ip-data-lookup-e7aca00f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gm3umxIMuof8G2K2K86g0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gateway-apiosk-com-ip-data-lookup-e7aca00f
```

Example prompt: Can you look up geolocation and threat info for the IP address 24.48.0.1? I want to know what country and city it's in, who the ISP is, and whether it's flagged as a proxy or known attacker.

## When to prefer this

Use this endpoint when you need comprehensive IP enrichment including geolocation, ASN, carrier, threat intelligence, timezone, and currency in a single call. Prefer it over basic geolocation APIs when you need threat/proxy detection or carrier-level detail. Suitable for fraud detection, access control, content localization, and security monitoring use cases.

## Known failure modes

- Invalid or malformed IP address returns an error response
- Private/bogon IP addresses may return limited data
- Rate limiting if quota exceeded
- Network timeout if the ipdata.co upstream is unavailable
- Missing or invalid authentication may return 402 or 401 error

## How this service works

API call to ipdata

## Output

Returns a rich JSON object containing the IP's geolocation (city, region, country, continent, lat/lon, postal code), ASN details (name, type, route, domain), carrier information (MCC, MNC, name), currency (code, name, symbol), languages spoken, timezone (name, offset, DST status, current time), threat flags (is_tor, is_proxy, is_bogon, is_datacenter, is_known_attacker, is_known_abuser, etc.), country/region codes, calling code, and flag emoji/URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ip": "24.48.0.1",
 "asn": {
  "asn": "AS5769",
  "name": "Vidéotron Ltée",
  "type": "isp",
  "route": "24.48.0.0/18",
  "domain": "videotron.com"
 },
 "city": "Montréal",
 "flag": "https://ipdata.co/flags/ca.png",
 "count": "3",
 "is_eu": false,
 "postal": "H1S",
 "region": "Quebec",
 "threat": {
  "is_tor": false,
  "is_bogon": false,
  "is_proxy": false,
  "is_threat": false,
  "blocklists": [],
  "is_anonymous": false,
  "is_datacenter": false,
  "is_icloud_relay": false,
  "is_known_abuser": false,
  "is_known_attacker": false
 },
 "carrier": {
  "mcc": "302",
  "mnc": "500",
  "name": "Videotron"
 },
 "currency": {
  "code": "CAD",
  "name": "Canadian Dollar",
  "native": "$",
  "plural": "Canadian dollars",
  "symbol": "CA$"
 },
 "latitude": 45.5807991027832,
 "languages": [
  {
   "code": "en",
   "name": "English",
   "native": "English"
  },
  {
   "code": "fr",
   "name": "French",
   "native": "Français"
  }
 ],
 "longitude": -73.5824966430664,
 "time_zone": {
  "abbr": "EDT",
  "name": "America/Toronto",
  "is_dst": true,
  "offset": "-0400",
  "current_time": "2026-06-23T18:51:41-04:00"
 },
 "emoji_flag": "🇨🇦",
 "region_code": "QC",
 "region_type": "province",
 "calling_code": "1",
 "country_code": "CA",
 "country_name": "Canada",
 "emoji_unicode": "U+1F1E8 U+1F1E6",
 "continent_code": "NA",
 "continent_name": "North America"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gateway-apiosk-com-ip-data-lookup-e7aca00f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
