Trade, Customs, Product Safety & Chemicals · POST /v1/eu-eudr · MCP tool: validate_eudr_geojson
EU EUDR / TRACES NT GeoJSON Validator
Validate EU Deforestation Regulation (EUDR) geolocation GeoJSON files for TRACES NT: WGS84 coordinates, 6-decimal precision, 4-hectare polygon threshold, self-intersection & TRACES-19 interior-hole checks.
- Reg. (EU) 2023/1115 (EUDR)
- EU TRACES NT GeoJSON Spec
Test Live (Zero Signup, Stateless Edge)
Load a verified sample payload below or edit the JSON directly. Use synthetic data on the public endpoint.
Ready — click Run to execute live against api.agos.tools.
{ "hint": "Click Run to inspect the deterministic validation output and regulatoryAssessment envelope." }
What This Engine Checks
- Enforces TRACES NT rules: WGS84 CRS, minimum 6-decimal coordinate precision, geodesic area calculation, and mandatory Polygon geometry for plots over 4 hectares.
- Detects unclosed rings, right-hand winding issues, self-intersections, and TRACES-19 interior ring/hole rejections.
- Returns deterministic repair hints for coffee, cocoa, soy, palm oil, rubber, timber, and cattle supply-chain pipelines.
Scope notice: Deterministic validation and calculation engine only — not legal, tax, or accounting advice,
and does not submit directly to government filing portals. Every response includes a machine-readable regulatoryAssessment object.
Connect via Remote MCP or REST
Scoped MCP Endpoint (/mcp/trade)
Connect only the trade toolset to avoid bloating your agent's context window. Tool name: validate_eudr_geojson.
{
"mcpServers": {
"agos-trade": {
"type": "http",
"url": "https://api.agos.tools/mcp/trade"
}
}
}
Direct REST API (POST /v1/eu-eudr)
Zero external dependencies, OpenAPI 3.1.0 typed schema at /openapi.json.
curl -s -X POST "https://api.agos.tools/v1/eu-eudr" \
-H "Content-Type: application/json" \
-d '{"commodity":"coffee","autoRepair":true,"defaults":{"ProducerCountry":"CO","ProducerName":"Cooperativa Cafetera Demo"},"geojson":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"ProducerCountry":"CO","ProductionPlace":"Huila Bowtie Plot"},"geometry":{"type":"Polygon","coordinates":[[[-75.563601,2.927301],[-75.560601,2.930301],[-75.560601,2.927301],[-75.563601,2.930301],[-75.563601,2.927301]]]}}]}}'
Frequently Asked Questions
Why does TRACES NT reject valid-looking GeoJSON polygons?
Common rejections include plots >= 4 ha submitted as Point geometry, fewer than 6 decimal places, unclosed rings, interior holes (TRACES-19), and self-intersecting edges — all caught deterministically here.
Related Trade, Customs, Product Safety & Chemicals Tools
EU Customs ICS2 & Dual-Use Pre-Clearance Checker
EU ICS2 Release 3 ENS goods-description & HS6 audit, Dual-Use Reg. 2021/821 Annex I/IV ECCNs, 2026 €3 low-value parcel duty & PEM 2026 origin.
EU Battery Passport & ESPR DPP QR Validator
EU Battery Passport (Reg. 2023/1542 Annex XIII, mandatory Feb 18, 2027) & ESPR DPP auditor with GS1 Digital Link, W3C JSON-LD & ISO 18004 QR SVG.
EU Food 1169/2011 & Cosmetics 1223/2009 Auditor
EU Cosmetics Reg. 1223/2009 (CosIng Annex II/III/V/VI, 2025/2026 Omnibus VII-VIII CMR bans, 80 allergens) & EU Food Reg. 1169/2011 (14 allergens, QUID, Big-7 Atwater).
EU CBAM 2026 Definitive Period Calculator
EU CBAM Definitive Regime calculator & XML generator: Omnibus 50t de minimis, Annex I CN codes, 2026–2034 phase-in & Art. 9 deductions.