Hydrostatic Pressure
Hydrostatic pressure from fluid density and true vertical depth in field or SI units, with the gradient returned.
POST /v1/petroleum/hydrostatic-pressure $0.01 per call
Specification
- Endpoint
POST /v1/petroleum/hydrostatic-pressure- Price
- $0.01 per call · tier
standard_data - 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/hydrostatic-pressure" \
-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.
{
"hydrostatic_pressure_psi": 4368,
"hydrostatic_pressure_pa": 30116299.9,
"hydrostatic_pressure_bar": 301.163,
"pressure_gradient_psi_ft": 0.546,
"pressure_gradient_kpa_m": 12.3385,
"surface_pressure_psi": 0,
"total_pressure_psi": 4368,
"equivalent_density_kg_m3": 1258.18,
"true_vertical_depth_m": 2438.4,
"formula": "P = 0.052 × MW(ppg) × TVD(ft)",
"reference": "Standard drilling-engineering relation. The field constant 0.052 is the 1/19.25 gal·ft/(lb·in²) unit conversion, not an empirical fit.",
"note": "Screening-level engineering result. It does not replace a commercial simulator, a laboratory PVT measurement, or review by a qualified engineer. True vertical depth must be used, not measured depth along the hole."
}
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
API Gravity Calculator
Converts between API gravity, specific gravity and density at 60 °F using the API 2540 definition, with the formula returned.
Pressure Converter
Converts among psi, bar, kPa, MPa, atm, kg/cm², inH₂O and mmHg, and between gauge and absolute with a stated atmospheric reference.
Temperature Converter
Converts among Celsius, Fahrenheit, Kelvin and Rankine with absolute-zero bounds enforced.
Gas Z-Factor
Gas compressibility factor by the Dranchuk–Abou-Kassem correlation with Sutton pseudo-critical properties and optional sour-gas correction, reporting convergence and whether inputs are inside the correlation's validated range.