toll402: EU & Nordic data for AI agents, paid per call (x402 + MCP)
18 live data endpoints · $0.005–$0.02 per call · no API key, no account, no signup · non-custodial
x402 · MCP · AI agents · agent payments · USDC / EURC on Base · USDC on Polygon & Arc · XRP & RLUSD on the XRP Ledger (RLUSD: non-EU buyers only) · EU VAT / VIES · EU sanctions · MiCA · ECB FX · Nordic calendars · Danish energy data
Runnable examples (curl, Node x402 client, MCP configs): AtlasDataDenmark/toll402-examples
toll402 is an HTTP API and a remote MCP server that sells official EU and Danish/Nordic public-sector data to AI agents one call at a time. It uses the x402 protocol: an unpaid request gets 402 Payment Required with the payment requirements in the PAYMENT-REQUIRED header (x402 v2) and mirrored in the JSON body (x402Version + accepts), the agent's wallet signs a stablecoin payment, and the call goes through. Funds go straight from the buyer to the seller's address. toll402 never holds funds.
Why: agents that do invoicing, payroll, compliance, logistics or energy scheduling keep needing small facts like "is this VAT number valid?", "is the 24th a Danish banking day?" or "what is the ECB rate for that date?". Today each of those means a separate API key and account. With toll402 one wallet covers all of them, and you pay only for the calls you make.
Endpoints and prices
| MCP tool | HTTP endpoint | What it returns | Price (USD) |
|---|
eu_vat_check | GET /v1/eu/vat-check?vat=DK10150817 | Live EU VAT number validation against the European Commission's VIES service | 0.01 |
eu_vat_rates | GET /v1/eu/vat-rates?country=DK | Standard, reduced, super-reduced and parking VAT rates for EU member states | 0.005 |
eu_sanctions | GET /v1/eu/sanctions?name=Wagner | Screen a person or company name against the EU consolidated financial sanctions list (fuzzy match, refreshed every 6 h) | 0.02 |
mica_token_status | GET /v1/eu/mica/token?token=EURC | MiCA e-money-token status from ESMA's register | 0.01 |
mica_casp | GET /v1/eu/mica/casp?name=Coinbase | Whether a crypto firm holds a MiCA CASP authorisation | 0.01 |
fx_ecb | GET /v1/fx/convert?from=USD&to=DKK&amount=250 | Conversion at official ECB euro reference rates (~30 currencies, historical dates) | 0.005 |
fx_dkk | GET /v1/fx/dkk?currency=USD&amount=100 | Official Danmarks Nationalbank DKK rates | 0.005 |
eu_holidays | GET /v1/calendar/holidays?country=SE&year=2026 | Public holidays, EU/EEA/Nordic (+CH, GB) | 0.005 |
eu_working_days | GET /v1/calendar/working-days?country=DK&from=2026-12-01&to=2026-12-31 | Working days between dates, or date + N working days | 0.005 |
dk_bank_days | GET /v1/dk/bank-days?date=2026-12-24&add=3 | Danish banking days and payment deadlines | 0.005 |
dk_power_price | GET /v1/dk/power-price?area=DK2 | Danish day-ahead electricity spot prices (DK1/DK2, 15-min) | 0.005 |
dk_power_cheapest_window | GET /v1/dk/power-cheapest-window?area=DK1&hours=3 | Cheapest N-hour window for running a load (EV charging, heat pumps, batch jobs) | 0.005 |
dk_co2 | GET /v1/dk/co2?area=DK2 | CO₂ intensity of Danish electricity | 0.005 |
dk_company | GET /v1/dk/company?cvr=10150817 | Danish company lookup (CVR) | 0.01 |
dk_address | GET /v1/dk/address?q=Rådhuspladsen 1, København | Danish address validation + geocoding | 0.005 |
dk_weather | GET /v1/dk/weather?lat=55.68&lon=12.57 | Latest DMI weather observation from the nearest station | 0.005 |
dk_sea_level | GET /v1/dk/port-sea-level?port=Esbjerg | Sea level and water temperature at Danish ports | 0.005 |
stablecoin_receipt | GET /v1/accounting/stablecoin-receipt?token=USDC&amount=12.5&date=2026-10-27 | EUR/DKK accounting voucher data for a stablecoin payment | 0.01 |
Prices are per successful call. On Base and Polygon the minimum is $0.01 per call, so the $0.005 tools cost $0.01 there; on XRPL and Arc they cost $0.005. The live catalog (prices, input schemas, example outputs) is always at /.well-known/x402 and /openapi.json.
Payment rails
| Rail | Network | Facilitator |
|---|
| USDC, EURC | Base (eip155:8453) | PayAI |
| USDC | Polygon (eip155:137) | PayAI |
| USDC | Arc (eip155:5042) | TRDEFI |
| XRP | XRP Ledger (xrpl:0) | t54 |
| RLUSD (non-EU buyers only) | XRP Ledger, Base | t54, PayAI |
RLUSD is offered only to buyers outside the EU, because it is not a MiCA-authorised e-money token. Buyers in the EU see USDC, EURC and XRP. Solana USDC is planned.
Use it from Claude Desktop, Cursor or VS Code (MCP)
Cursor (~/.cursor/mcp.json), VS Code and other clients that support remote MCP servers:
{
"mcpServers": {
"toll402": { "url": "https://toll402.io/mcp" }
}
}
Claude Desktop (claude_desktop_config.json), via the mcp-remote bridge:
{
"mcpServers": {
"toll402": { "command": "npx", "args": ["-y", "mcp-remote", "https://toll402.io/mcp"] }
}
}
tools/list is free. A tool call returns an x402 payment-required error until it is paid, so paid calls need an x402-capable MCP client such as @x402/mcp (example below).
Use it over HTTP
curl -i "https://toll402.io/v1/eu/vat-rates?country=DE"
x402 client (TypeScript, @x402/fetch)
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.AGENT_KEY as `0x${string}`) });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://toll402.io/v1/eu/vat-check?vat=DK10150817");
console.log(await res.json());
Paid MCP calls (TypeScript, @x402/mcp)
import { createx402MCPClient } from "@x402/mcp";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.AGENT_KEY as `0x${string}`);
const mcp = createx402MCPClient({
name: "my-agent", version: "1.0.0",
schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
autoPayment: true,
});
await mcp.connect(new StreamableHTTPClientTransport(new URL("https://toll402.io/mcp")));
const r = await mcp.callTool("dk_bank_days", { date: "2026-12-24", add: "3" });
console.log(r.content[0].text);
Self-hosting and development
Production runs on Cloudflare Workers (src/worker.mjs, Hono + @x402/hono). There is also a local Express gateway (src/gateway.mjs) for tests.
npm install
npm test
cp .env.example .env.testnet
npm run gateway
To add an endpoint, add a file in src/endpoints/ and register it in src/endpoints/index.mjs. It is then served over HTTP and MCP and appears in the manifests and tests automatically.
Data sources
European Commission (VIES, EU VAT rates), ESMA (interim MiCA register), European Central Bank, Danmarks Nationalbank, Energi Data Service (Energinet), DMI, CVR, DAWA/Dataforsyningen. toll402 is not affiliated with any of these bodies. Check legally binding facts with the primary source.