1. Architecture & Base URL
Tarima.Cool operates a dual-direction cold-chain integration layer so visibility platforms (such as project44 Movement), carriers, border cold-storage desks, and retail buyers stay synchronized on one shared pallet-to-trailer timeline.
| Item | Specification |
|---|---|
| Base URL | https://tarima.cool/api/v1 |
| OpenAPI 3.1.0 Spec | https://tarima.cool/openapi.json and /api/ai/openapi.json |
| Protocol & Format | HTTPS TLS 1.3, UTF-8 JSON (application/json), ISO 8601 UTC timestamps |
| Rate Limit | 60 requests / minute per source IP in Partner Sandbox (429 Too Many Requests with Retry-After) |
| Default Load Mode | 22_pallet_straight (default straight commodity cooler loads), with 53ft_3zone_mixed multi-temp consolidation support |
| Primary Desks | PHARR_TX (Pharr, TX), POMPANO_FL (Pompano Beach, FL), VINELAND_NJ (Vineland, NJ) |
2. Authentication (OAuth 2.0 Client Credentials & X-API-Key)
All protected endpoints under /api/v1/shipments* and /api/v1/telematics/* require one of two credential methods:
- OAuth 2.0 Client Credentials Flow (Recommended for Partners): Exchange
client_idandclient_secretatPOST /api/v1/oauth/tokenfor a short-lived HS256 Bearer JWT (expires_in: 3600seconds). - Direct API Key Header: Pass
X-API-Key: <your_api_key>on HTTPS requests for simple curl or webhook bridge scripts.
Requests missing valid credentials return HTTP 401 Unauthorized with WWW-Authenticate: Bearer realm="tarima.cool". Scoped partner evaluation credentials are provisioned out-of-band by our integration desk (gerald@tarima.cool / +1 (956) 758-COOL).
3. Shipments & Lot Passports
Query active cross-border straight (22-pallet default) and 53-foot 3-zone consolidated shipments carrying origin packing shed GLNs, CBP border/port cooler timestamps, FSMA Rule 204 Traceability Lot Codes (TLC), PTI Voice Pick codes, and sample X12 EDI 856 Advance Ship Notice (ASN) payloads.
| Sandbox ID | Load Mode | Corridor | Commodity & Thermal Target |
|---|---|---|---|
TRM-SBX-8910 | 22_pallet_straight | PHARR_TX | Michoacan Hass Avocados 48s #1 (40.5F single-zone, 24.4% dry matter) |
TRM-SBX-8955 | 22_pallet_straight | POMPANO_FL | Guatemala Tommy Atkins Mangos 8s-9s (53.0F single-zone, 14.8% Brix) |
TRM-SBX-9012 | 53ft_3zone_mixed | PHARR_TX | 3-Zone Mixed Consolidation (40.5F Avocado / 48.5F Lime+Pineapple / 53.0F Mango) |
4. Telematics Ingestion (ELD GPS & Reefer Telemetry)
Visibility platforms (project44 Movement, carrier ELDs, Thermo King TracKing, Carrier eSolutions, Copeland GO, Sensitech, Tive) push real-time position, door status, setpoint, return air, discharge air, and pulp probe temperature pings to Tarima.Cool. Every ingested ping returns an immediate PACA/DRC crop thermal safety evaluation.
| Field | Type | Required | Description |
|---|---|---|---|
shipment_id | string | Yes | Tarima Shipment ID (TRM-SBX-8910) or BOL (BOL-TRM-SBX-8910) |
event_type | enum | No | POSITION_TEMP (default), REEFER_ALARM, DOOR_OPEN, GEOFENCE_ARRIVAL, DEPARTURE, ETA_UPDATE |
source_provider | string | No | Originating telematics aggregator (e.g. project44_movement) |
timestamp_utc | ISO 8601 | No | Event timestamp in UTC (defaults to server receipt time) |
latitude, longitude | number | No | WGS84 coordinates (-90..90, -180..180) |
pulp_probe_temp_f | number | No | Primary biological pulp probe reading (evaluated first if supplied) |
return_air_temp_f, discharge_air_temp_f, reefer_setpoint_f | number | No | Reefer telemetry temperatures in Fahrenheit |
5. Biological Crop Thermal Windows (PACA / DRC)
Inbound telemetry readings are automatically checked against crop-specific biological safety ranges. Out-of-window temperatures return excursion_detected: true with either CHILLING_INJURY_ALERT or WARM_EXCURSION_ALERT.
| Crop Key | Commodity | Safe Window (F) | Target Setpoint (F) |
|---|---|---|---|
hass_avocado | Hass Avocados | 39.0 - 43.0 F | 40.5 F |
honey_mango | Honey / Kent / Tommy Mangos | 50.0 - 55.0 F | 53.0 F (chilling injury below 50.0 F) |
persian_lime | Seedless Persian Limes | 47.0 - 52.0 F | 48.5 F (zero-ethylene protected) |
md2_pineapple | Golden MD2 Pineapples | 45.0 - 49.0 F | 46.5 F |
jumbo_blueberry | Jumbo Blueberries | 31.5 - 35.5 F | 33.0 F |
6. Outbound Webhooks & HMAC-SHA256 Signing
For bilateral partner integrations, Tarima.Cool emits milestone webhooks (shipment.crossed_border, shipment.offer_confirmed, telemetry.excursion_alert, edi.856_dispatched) signed via HMAC-SHA256 in the X-Tarima-Signature header:
Verify signatures by concatenating the Unix timestamp t, a period (.), and the raw HTTP request body bytes, then computing HMAC-SHA256 using your shared webhook secret and rejecting timestamps older than 300 seconds.
7. Live Sandbox API Console
Evaluate the live https://tarima.cool/api/v1/* endpoints directly from your browser using your assigned partner sandbox credentials. Nothing entered here is persisted in browser local storage.
{ "hint": "Enter your sandbox credentials above and click any endpoint button to inspect live JSON responses." }
8. ERP / EDI 856 & Public AI / Cold-Chain JSON Feeds
Tarima.Cool maintains non-intrusive supporting data bridges alongside Famous Software (Oracle/SQL/XML), Silo ERP, Produce Pro, QuickBooks, and X12 EDI 850/856 without displacing system-of-record accounting. Public cold-chain datasets are published as open JSON:
/api/ai/index.json: Master structured JSON feed directory/api/ai/erp-edi-specs.json: FSMA Rule 204 KDE & X12 EDI 856 ASN sample payloads/api/ai/crops.json: Biological cold-chain & 53-foot multi-zone compatibility matrix/api/ai/live-corridors.json: 14-day origin grove rain & US CBP commercial truck wait times/llms.txt&/llms-full.txt: Concise and complete machine-readable reference corpora