# GlobalRules VAT Bulk Compare

> GlobalRules VAT Bulk Compare is a paid API for AI agents from globalrules-api.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Returns VAT/GST rates for all 82 covered countries in a single JSON call, enabling cross-country comparisons and rankings.

## Facts

- Endpoint: GET https://globalrules-api.onrender.com/api/v1/compare/vat
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/globalrules-vat-bulk-compare-598f0046
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P0iJOBfgIuabPsZ2dejyR

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 globalrules-vat-bulk-compare-598f0046
```

Example prompt: Can you pull the VAT rates for all countries at once using GlobalRules and show me which countries have the highest and lowest rates?

## When to prefer this

Use this endpoint when you need VAT rates for multiple or all countries simultaneously and want to avoid making 82 separate single-country API calls. Ideal for building comparison tables, rankings, market scans, or dashboards. Prefer single-country endpoints if you only need one country's data to save on cost.

## Known failure modes

- Service cold-start delay on Render free tier causing timeout
- Payment of 0.1 USDC not processed, returning 402 Payment Required
- Endpoint returns stale data if underlying dataset has not been refreshed
- Invalid or missing x402 payment header returns authorization error
- Network timeout if Render instance is sleeping

## How this service works

Compare one fact across all 82 countries in a single JSON call — e.g. VAT rates, minimum wages, public holidays or digital nomad visas for every country at once. The bulk alternative to 82 single-country calls. For AI agents building comparisons, rankings and market scans. Example: /api/v1/compare/vat

## Output

A single JSON object containing VAT/GST rates for all 82 covered countries, keyed by country code, along with the field name, total country count, and last-updated timestamp — ready for comparison, ranking, or export.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "number"
      },
      "field": {
       "type": "string"
      },
      "updated": {
       "type": "string"
      },
      "countries": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/globalrules-vat-bulk-compare-598f0046/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from globalrules-api.onrender.com](https://www.zero.xyz/host/globalrules-api.onrender.com/llms.txt)
