# DDG IP Geolocation

> DDG IP Geolocation is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Resolves an IP address to its geographic location and related metadata, returning a bounded result for a micro-payment per call

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/ip-geolocation
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-ip-geolocation-83936b4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f0DOk0k5FYVEzT2JgJzm6

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 ddg-ip-geolocation-83936b4b -d '<json body>'
```

Example prompt: Can you look up the geographic location of IP address 203.0.113.42 — I need to know the country, city, and region it maps to?

## When to prefer this

Choose this endpoint when your agent needs per-call, micro-payment-gated IP geolocation without committing to a subscription or account with a raw geolocation provider. Ideal for AI agents operating autonomously with crypto payment rails (x402/USDC) that need bounded, artifact-based results rather than raw API credentials. Best suited for low-to-moderate volume lookups where $0.001 USDC per call is acceptable and on-chain payment auditability matters.

## Known failure modes

- Invalid or malformed IP address input returns an error
- Private or reserved IP ranges (e.g. 192.168.x.x, 10.x.x.x) may return no geolocation data
- Payment failure via x402 results in a 402 response blocking the lookup
- Unknown or unroutable IPs may return partial or empty location data
- Service may be unavailable if provider environment is not live, returning 5xx errors

## How this service works

Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.

## Output

A JSON object confirming success (ok: true) along with geolocation fields for the queried IP address, expected to include country, region, city, and likely latitude/longitude and ISP or ASN metadata, delivered as a bounded artifact.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-ip-geolocation-83936b4b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
