# Mekong Trade Intel Caller IP Lookup API

> Mekong Trade Intel Caller IP Lookup API is a paid API for AI agents from api.mekongtradeintel.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-25).

Returns the calling agent's egress IP address along with country and ASN metadata for routing and geolocation debugging.

## Facts

- Endpoint: POST https://api.mekongtradeintel.com/ip?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mekong-trade-intel-caller-ip-lookup-api-5ab4becf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3Psg_4jDlzyzTM4RelKTr

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 mekong-trade-intel-caller-ip-lookup-api-5ab4becf -d '<json body>'
```

Example prompt: What's my current egress IP address and what country does it appear to come from?

## When to prefer this

Use this endpoint when an AI agent needs to know its own outbound/egress IP and associated geo metadata (country, ASN) for debugging routing issues, verifying geo compliance, or auditing network configuration. Prefer this over generic IP geolocation APIs when you need a lightweight, agent-native, pay-per-call solution on Base chain with no API key setup.

## Known failure modes

- IP metadata unavailable for certain ranges (e.g. private or reserved IPs)
- Country/ASN data may be absent if IP is not in geolocation database
- Payment failure via x402 protocol if USDC balance is insufficient
- Network timeout if the agent's outbound connectivity is disrupted

## How this service works

Caller IP lookup API for AI agents — your egress IP + country/ASN when available, $0.001 USDC on Base per call. Debug routing and geo checks.

## Output

Returns the caller's egress IP address, and where available, the country code and ASN (Autonomous System Number) associated with that IP, useful for debugging routing, verifying geo presence, and network auditing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mekong-trade-intel-caller-ip-lookup-api-5ab4becf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.mekongtradeintel.com](https://www.zero.xyz/host/api.mekongtradeintel.com/llms.txt)
