---
title: "Subsurface Petrophysics Porosity"
method: GET
path: "/api/v1/subsurface/petrophysics/porosity"
tags: ["Subsurface Imaging"]
---

# Subsurface Petrophysics Porosity

`GET /api/v1/subsurface/petrophysics/porosity`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/subsurface/petrophysics/porosity`
- Auth: none declared

Convert P-wave velocity to porosity using the Wyllie time-average equation.

Estimates porosity from Vp given a lithology type.  Uses
matrix and fluid velocities appropriate for the specified rock
type.

Parameters
----------
vp_km_s : float
    P-wave velocity in km/s.
lithology : str
    Rock type (sandstone, limestone, dolomite, shale).

**Pricing:** Included in subscription tiers (legacy list price: GET /api/v1/billing/pricing).

## Query parameters

- `vp_km_s` number, required: P-wave velocity in km/s
- `lithology` string: Rock type (sandstone, limestone, dolomite, shale)
- `x_api_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
