# VAT Calculator by Country

> VAT Calculator by Country is a paid API for AI agents from x402.orthogonal.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Calculates the VAT (Value Added Tax) amount for a given price and country code.

## Facts

- Endpoint: GET https://x402.orthogonal.com/vat-validation/v1/calculate
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vat-calculator-by-country-cec7ec03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GRBqCerpsFETfj_1S2A8D

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 vat-calculator-by-country-cec7ec03
```

Example prompt: What's the VAT amount on a €150 purchase in Germany?

## When to prefer this

Use this endpoint when you need a quick, per-transaction VAT calculation for a known country and price — ideal for invoicing tools, e-commerce checkouts, and financial reporting agents that need country-specific EU or international VAT rates without maintaining a tax rate database themselves.

## Known failure modes

- Invalid or unsupported country code returns an error
- Non-numeric or malformed amount parameter causes a bad request
- Country without VAT (e.g. US) may return zero or an error
- Missing required query parameters results in a 400-level error
- Payment failure for the $0.002 USDC fee blocks the request

## How this service works

Calculate VAT amount for a given price and country.

## Output

Returns the calculated VAT amount based on the provided price and 2-letter ISO country code, reflecting that country's applicable VAT rate applied to the given amount.

## 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": {
      "amount": {
       "type": "string",
       "description": "The amount to calculate VAT for"
      },
      "country_code": {
       "type": "string",
       "description": "The 2-letter ISO country code"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vat-calculator-by-country-cec7ec03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.orthogonal.com](https://www.zero.xyz/host/x402.orthogonal.com/llms.txt)
