---
title: "Get well permits data"
method: GET
path: "/v1/drilling-intelligence/well-permits"
tags: ["Drilling Intelligence"]
---

# Get well permits data

`GET /v1/drilling-intelligence/well-permits`

## Request

- Base URL: `https://api.oilpriceapi.com`
- URL: `https://api.oilpriceapi.com/v1/drilling-intelligence/well-permits`
- Auth: API key in header `Authorization`

Get recent drilling permits with bounded pagination and an optional
state filter.
**Requires the Scale plan.**

## Query parameters

- `state_code` string
- `days` integer
- `page` integer
- `per_page` integer

## Response `200`

Well permits data

- WellPermitsResponse
  - `status` string, required
  - `data` object, required
    - `well_permits` object[], required
      - `api_number` string
      - `state` string
      - `county` string, nullable
      - `operator` string, nullable
      - `permit_number` string, nullable
      - `permit_type` string, nullable
      - `permit_status` string, nullable
      - `permit_date` string, date, nullable
      - `approval_date` string, date, nullable
      - `spud_date` string, date, nullable
      - `well_name` string, nullable
      - `latitude` number, nullable
      - `longitude` number, nullable
    - `summary` object, required
      - `total` integer
      - `by_state` object
      - `days` integer
      - `last_updated` string, date-time, nullable
    - `pagination` object, required
      - `page` integer
      - `per_page` integer
      - `total` integer
      - `total_pages` integer

## Other responses

- `401`: Unauthorized - missing or invalid API key
- `403`: Insufficient plan - Scale required
- `500`: Unexpected server error. Retry transient failures with bounded backoff and retain the request ID when contacting support.

## Changes

- **2026-08-07** `5a5ce424cacc`: 1 breaking, 3 warning, 6 info
  - for the `query` request parameter `per_page`, default value was changed from `100` to `50`
  - removed the optional property `meta` from the response with the `200` status
  - removed the optional property `success` from the response with the `200` status
  - removed the optional property `well_permits` from the response with the `200` status
  - …6 more

[Operation history](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/changes/v1/drilling-intelligence/well-permits/get.md)

---

[API](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1.md) - [All operations](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/oilpriceapi/apis/oil-price-api-v1/revisions/7f8b4d763210?raw)
