Pipe Pressure Drop

Single-phase pressure drop by Darcy–Weisbach with a Colebrook–White friction factor, returning Reynolds number, flow regime and the elevation component.

POST /v1/petroleum/pipe-pressure-drop $0.03 per call

Informational only. This endpoint produces analysis, not advice. Do not use it as the sole basis for a financial, security or engineering decision.

Specification

Endpoint
POST /v1/petroleum/pipe-pressure-drop
Price
$0.03 per call · tier strategy_intelligence
Payment
x402 on X Layer (chain 196) · settled in USDG or USDT0 · scheme exact
Data source
Published petroleum-engineering correlations, cited per endpoint
Timeout
15 seconds
Max request
64 KB
Version
1.0.0

Calling it

The first call returns a 402 with the payment challenge. Retry with a signed authorisation in the X-PAYMENT header — see the payment guide for the exact shape.

curl -i -X POST "https://api.dana-edu.pp.ua/v1/petroleum/pipe-pressure-drop" \
  -H "content-type: application/json" \
  -d '{ ... }'

Response

Real output, captured by running this endpoint at build time — not written by hand. Volatile fields such as timestamps are elided. Captured 2026-07-30.

{
  "total_pressure_drop_pa": 311852.24,
  "total_pressure_drop_psi": 45.2303,
  "total_pressure_drop_bar": 3.11852,
  "components": {
    "friction_pa": 145139.19,
    "friction_psi": 21.0507,
    "elevation_pa": 166713.05,
    "elevation_psi": 24.1797
  },
  "flow": {
    "velocity_m_s": 1.1349,
    "velocity_ft_s": 3.7233,
    "volumetric_flow_m3_s": 0.00920065,
    "reynolds_number": 19601.261,
    "regime": "turbulent",
    "friction_factor": 0.026947,
    "friction_factor_source": "Colebrook–White, solved by fixed-point iteration",
    "colebrook_iterations": 8,
    "relative_roughness": 0.00044291
  },
  "geometry": {
    "inner_diameter_m": 0.1016,
    "length_m": 999.744,
    "cross_sectional_area_m2": 0.00810732
  },
  "correlations": {
    "pressure_drop": "Darcy–Weisbach: ΔP = f·(L/D)·(ρv²/2)",
    "friction_factor": "Colebrook–White, solved by fixed-point iteration",
    "elevation": "ΔP = ρ·g·Δz with g = 9.80665 m/s²"
  },
  "note": "Screening-level engineering result. It does not replace a commercial simulator, a laboratory PVT measurement, or review by a qualified engineer. Single-phase incompressible flow only — multiphase flow requires a mechanistic or Beggs-Brill-class correlation."
}

Every response is wrapped in the same envelope: data plus warnings, sources, confidence, informational_only and a measured processing_ms. See the envelope reference.

Related endpoints