# FreightGate Inland Haulage Rates API

> FreightGate Inland Haulage Rates API is a paid API for AI agents from api.shippingrates.org, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns inland trucking or rail transport rates from a port to an inland destination city for a given container type

## Facts

- Endpoint: POST https://api.shippingrates.org/api/inland
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/freightgate-inland-haulage-rates-api-6c2647e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qXRKbEKo-S328uycC3yEh

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-inland-haulage-rates-api-6c2647e9 -d '<json body>'
```

Example prompt: What are the inland trucking rates from INNSA (Nhava Sheva) to Pune for a 40HC container using pre-carriage mode?

## When to prefer this

Use this endpoint when you need inland transport pricing (trucking or rail) from a specific port to an inland city destination, particularly for Indian ports identified by UN/LOCODE. This is distinct from demurrage/detention, port local charges, or CFS tariff endpoints on the same platform. Choose this when the core question is about door-to-port or port-to-door overland movement cost.

## Known failure modes

- Invalid UN/LOCODE returns no results or an error
- Unsupported destination city returns empty rate set
- Invalid container type (not 20GP, 40HC, etc.) returns validation error
- Invalid mode value (not PRE or ONC) returns bad request
- No rates available for the requested corridor returns empty response
- Payment failure or insufficient USDC balance returns 402 Payment Required

## How this service works

Inland haulage rates — trucking/rail from port

## Output

The agent receives inland haulage rate data for the specified route, including pricing for trucking or rail transport from the origin port to the inland destination city, filtered by container type and transport mode (PRE for pre-carriage or ONC for on-carriage).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "type": "string",
   "description": "Transport mode filter (PRE or ONC)"
  },
  "origin": {
   "type": "string",
   "description": "Origin port UN/LOCODE (e.g. INNSA, INMAA)"
  },
  "icd_code": {
   "type": "string",
   "description": "Destination ICD UN/LOCODE filter"
  },
  "cargo_class": {
   "enum": [
    "general",
    "DG"
   ],
   "type": "string",
   "description": "Cargo class filter (default: general)"
  },
  "destination": {
   "type": "string",
   "description": "Inland destination city name"
  },
  "delivery_mode": {
   "enum": [
    "ramp",
    "door"
   ],
   "type": "string",
   "description": "Delivery mode filter (default: ramp)"
  },
  "container_type": {
   "type": "string",
   "description": "Container type filter (e.g. 20GP, 40HC)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/freightgate-inland-haulage-rates-api-6c2647e9/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)
