Skip to content
Fourohtwo

api.macaroonnetwork.com/execute/vat-validate-v1

Single live pass-through call to the EU Commission's VIES (VAT Information Exchange System) confirming whether an EU VAT registration number is currently valid, with registered name/address when available. Every call is a real-time confirmation only -- never a cached, stored, or aggregated result -- matching VIES's own stated purpose (real-time confirmation of VAT number validity per Council Regul

BaseAnswering
POSThttps://api.macaroonnetwork.com/execute/vat-validate-v1

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.macaroonnetwork.com/execute/vat-validate-v1", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{"country_code":"IE","vat_number":"6388047V"},"predicate":{"conditions":[{"field":"$.valid","operator":"eq","type":"field_changed","value":true}],"type":"all"}}),
});
console.log(await res.json());

Example input

{
  "input": {
    "country_code": "IE",
    "vat_number": "6388047V"
  },
  "predicate": {
    "conditions": [
      {
        "field": "$.valid",
        "operator": "eq",
        "type": "field_changed",
        "value": true
      }
    ],
    "type": "all"
  }
}

More from Macaroon NetworkProvider status