Api Endpoint

Air vs ocean freight break-even

Compare air vs ocean including inventory carrying cost of transit days.

Open interactive test console

Offering

Provider
x402-niche-briefs.fly.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-niche-briefs.fly.dev/v1/air-vs-ocean-breakeven
MIME type
application/json
First seen
2026-10-27T22:04:45.201Z
Last seen
Tags
supply-chain, freight

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x847f54ae8dDFD71ed7bC930C1f7a73576FAb03A9"
  }
]

Observed health

Status
Healthy
Latest latency
110 ms
Average latency
99 ms
HTTP status
402
Last checked
Reachability
100% over 3 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "chargeable_kg": {
          "type": "string",
          "description": "Chargeable kg"
        },
        "cbm": {
          "type": "string",
          "description": "CBM"
        },
        "air_rate_per_kg": {
          "type": "string",
          "description": "Air $/kg"
        },
        "ocean_rate_per_cbm": {
          "type": "string",
          "description": "Ocean LCL $/CBM"
        },
        "goods_value_usd": {
          "type": "string",
          "description": "Goods value"
        },
        "carrying_cost_pct_yr": {
          "type": "string",
          "description": "Carrying cost %/yr"
        },
        "air_days": {
          "type": "string",
          "description": "Air transit days"
        },
        "ocean_days": {
          "type": "string",
          "description": "Ocean transit days"
        }
      },
      "required": [
        "chargeable_kg",
        "cbm",
        "air_rate_per_kg",
        "ocean_rate_per_cbm",
        "goods_value_usd",
        "carrying_cost_pct_yr",
        "air_days",
        "ocean_days"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "type": "object",
          "properties": {
            "chargeable_kg": {
              "type": "number"
            },
            "cbm": {
              "type": "number"
            },
            "air_rate_per_kg": {
              "type": "number"
            },
            "ocean_rate_per_cbm": {
              "type": "number"
            },
            "goods_value_usd": {
              "type": "number"
            },
            "carrying_cost_pct_yr": {
              "type": "number"
            },
            "air_days": {
              "type": "number"
            },
            "ocean_days": {
              "type": "number"
            }
          },
          "required": [
            "chargeable_kg",
            "cbm",
            "air_rate_per_kg",
            "ocean_rate_per_cbm",
            "goods_value_usd",
            "carrying_cost_pct_yr",
            "air_days",
            "ocean_days"
          ]
        },
        "air_total_usd": {
          "type": "number"
        },
        "ocean_total_usd": {
          "type": "number"
        },
        "cheaper": {
          "type": "string"
        },
        "savings_usd": {
          "type": "number"
        },
        "as_of": {
          "type": "string"
        }
      },
      "required": [
        "input",
        "air_total_usd",
        "ocean_total_usd",
        "cheaper",
        "savings_usd",
        "as_of"
      ]
    }
  },
  "required": [
    "type"
  ]
}