Developer Portal
Use the USHBC Data & Insights API to query retail, imports, exports, and USDA market data.
API documentationSign in
Use your authorized account to access the portal.
Checking sign-in availability…
Get started
Make a test request, then create credentials for your integration.
- Try a requestExplore a dashboard using your current session.
- Create an API keyChoose the permissions your integration needs.
- Run your first cURL commandUse your key to call the API from your terminal.
Your profile
Create an API key
Choose only the dashboard scopes your integration needs.
Copy the secret after creating the key. It is displayed only once and is not saved in the browser.
API keys
Manage credentials for your integrations.
No API keys yet. Create a key.
| Integration | Prefix | Status | Expires | Actions |
|---|
Try a dashboard request
Use your permissions and the same limits as integrations. No shared key is required.
Make your first API request
- Try an endpoint. Use the playgroundplayground after signing in to send a request with your portal session.
-
Create a key. Select
dashboard:importsto run the example below. Copy the secret when it appears. -
Send a request. Set
BBI_API_KEYin your shell environment, then run this command. A successful request returns dashboard data as JSON.
If the request fails, check that your key is active and has the imports permission. See the API key guide for details.