# FreightGate Shipping Intelligence — Cross-Line Demurrage & Detention Rate Comparison

> FreightGate Shipping Intelligence — Cross-Line Demurrage & Detention Rate Comparison is a paid API for AI agents from api.shippingrates.org, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Compares demurrage and detention rates across all 6 major shipping lines for a given country, container type, and number of detention days

## Facts

- Endpoint: POST https://api.shippingrates.org/api/dd/compare
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/freightgate-shipping-intelligence-cross-line-demurrage-detention-rate-e286fba0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WXfbohJ4ZKQh-tV9oXgo-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability freightgate-shipping-intelligence-cross-line-demurrage-detention-rate-e286fba0 -d '<json body>'
```

Example prompt: Compare demurrage and detention rates across all 6 shipping lines for a 20-foot standard container (code: 20GP) in the US after 10 detention days — I want to see which carrier is cheapest.

## When to prefer this

Use this endpoint when you need to compare demurrage and detention costs across multiple shipping lines simultaneously rather than calculating costs for a single carrier. Ideal for procurement decisions, carrier selection, or cost benchmarking scenarios where cross-carrier visibility is required.

## Known failure modes

- Invalid or unsupported ISO country code returns 400 error
- Unrecognized container type code returns validation error
- Days value outside 1–365 range returns 400 error
- Payment not processed via x402 returns 402 Payment Required
- Rate data unavailable for a specific country/line combination may return partial results or 404

## How this service works

Cross-line D&D comparison — all 6 shipping lines

## Output

Returns a side-by-side comparison of demurrage and detention rates from all 6 major shipping lines for the specified country, container type, and number of days, enabling cost benchmarking across carriers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "number",
   "maximum": 365,
   "minimum": 1,
   "description": "Number of detention days"
  },
  "country": {
   "type": "string",
   "description": "ISO 2-letter country code"
  },
  "container_type": {
   "type": "string",
   "description": "Container type code"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/freightgate-shipping-intelligence-cross-line-demurrage-detention-rate-e286fba0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.shippingrates.org](https://www.zero.xyz/host/api.shippingrates.org/llms.txt)
