MGX Enterprise API
The MGX Enterprise API lets grain elevators and enterprise buyers integrate the MyGrainExchange marketplace directly into their own systems. Browse anonymized inventory, place bids from your ERP, read your team's trades and bids, manage your cash-bid program, and pull market prices and history.
Seller identity is never exposed until a trade is paid on both sides — the same rule the MGX platform enforces everywhere.
Getting started
The base URL for all requests is:
https://api.mygrainexchange.com/v1
Register an API client in your MGX dashboard — click your name in the top-right corner and choose Developers — then obtain a token via OAuth2 (see Authentication), and start calling the API. Every request is authenticated and rate-limited per client.
curl https://api.mygrainexchange.com/v1/inventory?commodity=wheat&min_quantity=50 \
-H "Authorization: Bearer {token}"