EFX Backend

Data Infrastructure

Two primary databases, external data feeds, and a centralized REST API that abstracts all data access for the AI agent platform.

Data Sources

The EFX platform integrates data from four sources, each serving a distinct purpose in the import intelligence pipeline.

PostgreSQL (ERP)

Ecosys SRM/ERP database hosted on DigitalOcean Managed PostgreSQL. 87 tables covering purchase orders, suppliers, shipping windows, landed costs, transit times, and product catalog. Normalized schema with soft deletes.

87 tables

Airtable (CRM)

Business CRM with customers, sales orders, contracts, inventory, forecasts, and pricing data. 58 tables with 2,455 computed fields. The primary source for customer-facing data and sales analytics.

58 tables

Datamyne

US Maritime Import data via the Visual Datamyne API. Bills of lading, consignee/shipper records, HS code classifications, and trade route volumes. 7 HS codes tracked across palm oil derivatives. Cached 24 hours.

BOL records

USDA / Web Research

USDA MPR DataMart API for dairy component prices (Reports 2991, 2989). Claude Sonnet 4.6 with web_search for commodity pricing, trade policy, and market news. Cached 30 days (USDA) and per-month (research).

Live APIs

Deep Dives