Everything you need to integrate Triangle into your application.
Make your first API call in under a minute.
Create a key in the Developer Portal. Start with a test key for development.
All requests require the Authorization header with your API key.
curl -X POST https://triangle-trade-intel.site/api/v1/classify \
-H "Authorization: Bearer tri_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"description": "steel automotive brake rotors"}'Successful responses return JSON with the result. Errors include a message and error code.
Embed tariff intelligence directly in your website. No backend required.
Add the container div and script tag. The widget initializes automatically.
<!-- 1. Add the container -->
<div
data-triangle-tariff
data-api-key="tri_live_YOUR_KEY"
data-theme="light"
></div>
<!-- 2. Load the script -->
<script src="https://triangle-trade-intel.site/widgets/tariff-calculator.js"></script>Understanding API keys and rate limits.
For development. Limited to 100 credits/month, 100 calls/day.
tri_test_...For production. Real data, credits consumed per request.
tri_live_...100 requests/minute per API key. Exceeding this returns a 429 status code. Contact us for higher limits.
All errors return a JSON object with error and message fields.