Merx VAT API

The VAT API from Merx — 1 operation(s) for vat.

GitHub OpenAPI

Operations 1

GET /v1/vat/{country}/{number} EU VAT number validation — all 27 member states via VIES #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/merxprotocol-eu:merxprotocol-eu-vat-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

merxprotocol-eu-vat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Merx VAT API
  version: 1.0.0
  description: European business data — French company verification, EU VAT validation, and legal search. Paid via MPP (HTTP 402 Tempo charge).
  x-guidance: Merx provides European business intelligence. Use GET /v1/company/{siret} with a 14-digit French SIRET number to get company status, directors, address, and BODACC risk score. Use GET /v1/vat/{country}/{number} with a 2-letter ISO country code and VAT number to validate EU VAT numbers via VIES. Use GET /v1/legal/search?q=... to search French legal databases. All paid endpoints require an X-API-Key header and return HTTP 402 with an MPP Tempo payment challenge. After payment, re-request with the Authorization header containing the payment credential.
servers:
- url: https://api.merxprotocol.eu
security:
- apiKey: []
tags:
- name: Vat
paths:
  /v1/vat/{country}/{number}:
    get:
      operationId: validateVat
      summary: EU VAT number validation — all 27 member states via VIES
      tags:
      - Vat
      x-payment-info:
        pricingMode: fixed
        price: '0.050000'
        protocols:
        - mpp
      parameters:
      - name: country
        in: path
        required: true
        description: ISO 3166-1 alpha-2 country code (e.g. FR, DE, ES)
        schema:
          type: string
          pattern: ^[A-Z]{2}$
          minLength: 2
          maxLength: 2
      - name: number
        in: path
        required: true
        description: VAT number without country prefix (e.g. 40303265045)
        schema:
          type: string
          minLength: 1
      requestBody:
        required: true
        description: Parameters are passed as path segments, but schema is provided for agent discovery
        content:
          application/json:
            schema:
              type: object
              required:
              - country
              - number
              properties:
                country:
                  type: string
                  pattern: ^[A-Z]{2}$
                  minLength: 2
                  maxLength: 2
                  description: ISO 3166-1 alpha-2 country code (e.g. FR, DE, ES)
                number:
                  type: string
                  minLength: 1
                  description: VAT number without country prefix (e.g. 40303265045)
      responses:
        '200':
          description: VAT validation result
          content:
            application/json:
              schema:
                type: object
                required:
                - vat_number
                - country
                - valid
                properties:
                  vat_number:
                    type: string
                    description: Full VAT number with country prefix
                  country:
                    type: string
                  valid:
                    type: boolean
                  company_name:
                    type: string
                    nullable: true
                  address:
                    type: string
                    nullable: true
                  checked_at:
                    type: string
                  source:
                    type: string
        '402':
          description: Payment Required
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication
x-discovery:
  ownershipProofs: []