# Geo402 Country Comparison

> Geo402 Country Comparison is a paid API for AI agents from geo402.com, paid per call via x402, $0.015/call, status unknown (last checked 2026-10-31).

Fetches and compares a single public web page across 2–5 countries in one call, returning status, redirect, language, extracted product price in USD, and page content per country, plus the cheapest country.

## Facts

- Endpoint: GET https://geo402.com/api/compare?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geo402-country-comparison-79a62a94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tGck44Qy-BoyBf3v9TJD4

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 geo402-country-comparison-79a62a94
```

Example prompt: Compare the Apple iPhone 16 Pro product page at apple.com/shop/buy-iphone/iphone-16-pro across the US, UK, Germany, Japan, and Canada — show me the price in each country converted to USD and tell me which country is cheapest.

## When to prefer this

Choose this endpoint when you need to compare a single URL across multiple geographic locations in one API call — especially for price comparison, geo-restriction checks, or content localization audits. Prefer it over single-country fetch endpoints when you need multi-country data in a single round-trip. It's ideal for e-commerce price arbitrage, international availability monitoring, or detecting geo-targeted redirects. Not suitable for CAPTCHA-protected pages or sites that block residential IPs.

## Known failure modes

- No countries load — charged nothing; returns error indicating all targets failed
- Some countries load but others fail — charged only for successful loads
- robots.txt blocks the URL — request rejected with appropriate error
- CAPTCHA-protected page — not solved, content unavailable for that country
- Invalid country code — returns validation error
- URL is not publicly accessible — returns fetch failure per country
- Invalid number of countries (fewer than 2 or more than 5) — returns schema validation error

## How this service works

Compare a web page across countries. Compare one public page across 2-5 countries in one call: status, redirect, language, extracted product price converted to USD, and an excerpt (or full content) per country, plus the cheapest country. $0.005 per country; charged if at least one country loads. Respects robots.txt; no CAPTCHA solving.

## Output

A structured response per country including: HTTP status code, any redirect URL, detected page language, extracted product price converted to USD (if found), and either a short excerpt or full page content. Additionally returns an overall 'cheapest country' field indicating which country had the lowest price.

## 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": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url",
      "countries"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) page to compare across countries."
      },
      "format": {
       "enum": [
        "text",
        "markdown",
        "html"
       ],
       "type": "string",
       "description": "Content format when include_content=1 (default text)."
      },
      "countries": {
       "type": "string",
       "description": "2-5 comma-separated country codes, e.g. us,de,jp (or an array in a POST body)."
      },
      "include_content": {
       "enum": [
        0,
        1
       ],
       "type": "integer",
       "description": "1 = full page content per country; default 0 = a short excerpt (keeps responses small)."
      }
     }
    }
   },
   "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/geo402-country-comparison-79a62a94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from geo402.com](https://www.zero.xyz/host/geo402.com/llms.txt)
