EORI Validation
Check an EORI customs number against the EU validation service. Returns the trader's name and address when it is valid.
Pay by wallet (x402)
eori-validate Example
Example answer
{
"city": null,
"valid": false,
"street": null,
"country": null,
"eori_number": "TEST",
"postal_code": null,
"trader_name": null,
"country_code": "TE",
"trader_address": null
} Inputs
| Field | Type | Required | What it is |
|---|---|---|---|
eori | string | Yes | EORI number (e.g. DE123456789012345) |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
valid | boolean | Always (present in every successful answer) |
eori_number | string | Always (present in every successful answer) |
trader_name | string | Always (present in every successful answer) |
country_code | string | Always (present in every successful answer) |
How to call it
The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.
# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
-H "Authorization: Bearer $STRALE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"capability_slug": "eori-validate",
"inputs": {
"eori": "SE5560125790"
},
"max_price_cents": 5
}' {
"tool": "strale_execute",
"arguments": {
"slug": "eori-validate",
"inputs": {
"eori": "SE5560125790"
},
"max_price_cents": 5
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "eori-validate",
inputs: {
"eori": "SE5560125790"
},
max_price_cents: 5,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="eori-validate",
inputs={
"eori": "SE5560125790",
},
max_price_cents=5,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/eori-validate?eori=SE5560125790' Limitations
EU EORI checks can be slow or unavailable
Validates against the EU EORI service — the service experiences periodic downtime and may be slow during peak hours
What to do instead: Cache successful validations and implement retry logic; the EORI database is updated weekly so cached results remain valid short-term
Related tools
- Address Validation €0.03
- Age Check €0.02
- Bank BIC Lookup €0.05
- Bulk Email Validation €0.15
- Business Day Check €0.02
- Company ID Detection €0.05