Wildcatters Learn · Identity

What is an API number for an oil or gas well?

API (American Petroleum Institute) Number / Well Identifier is a regulator-issued identifier for an oil or gas well. Formatting and identifier schemes vary by jurisdiction.

Wildcatters Editorial3 min read

What to know

  • Identifiers are stronger matching evidence than names alone.
  • Preserve leading zeros and the source format.
  • A well identifier is not a lease, permit, or owner account number.

An identifier connects records about a well

An API number is an identifier used in U.S. oil and gas well records. “API” in this context refers to a well-numbering convention, not a software application programming interface. The full source identifier and regulator context are important when joining permits, completion records, and well locations.

The Texas RRC · Online well records and identifiers describes its wellbore identifiers and Texas display conventions. Identifier formats and search requirements should be read from the source documentation rather than guessed from a number's length.

Why it matters

It is safer than a well-name match when connecting filings, production, and map records.

Source formatting is part of the data

Keep the identifier as text. Converting it to a number can drop leading zeros or alter its display. Retain the original value alongside any normalized version used for a search. Record which formatting changes you made so the match can be checked.

Texas's online records guidance explains that its state code is often omitted in RRC document displays. A shorter displayed identifier is therefore not necessarily a different well. Conversely, similar-looking values from different jurisdictions should not be merged without establishing their full context.

Do not substitute one identifier for another

IdentifierWhat it generally identifies
API or source well identifierA well or wellbore record in the source system
Drilling permit numberA permitting record or authorization
Oil lease or gas IDA regulatory reporting entity
Operator numberA regulated organization
Payor property numberA property reference in the payor's own system

A reliable join uses a documented relationship between those identifiers. The Texas RRC · Production Data Query FAQ explains why a Texas production search may require a lease identifier even when the researcher starts with a well API.

A repeatable matching workflow

Start with the regulator and the identifier exactly as published. Confirm the well name, location, and operator as supporting evidence. Then use the source's linked records or documented crosswalk to locate permits, completions, and the applicable production entity.

If the well has multiple related records, preserve their labels instead of collapsing them into one row by name. An unresolved match is preferable to attaching production or a violation to the wrong well. Record the source query or document reference used for the match.

What an API number does not tell you

The number alone does not describe current status, production, reserves, ownership, or compliance. An identifier appearing in a permit application is not proof of a producing well. A persistent identifier can remain associated with records long after the operating condition has changed.

Do not use the identifier as a substitute for dated status information. When a source uses another well-identifier system, preserve that system's name rather than relabeling its identifiers as API numbers.

Research checklist

  • Keep the source identifier as text, including leading zeros.
  • Check the regulator-specific search format.
  • Confirm location and well name as supporting evidence.
  • Use a documented crosswalk before joining lease-level or operator records.

Put it into practice

Check the records behind a property

Use Wildcatters Intelligence to explore the available well, operator, production, and regulatory records. Confirm the source, jurisdiction, and reporting dates before drawing conclusions.

Open Intelligence 2.0

Sources and review

Primary sources are linked beside the relevant explanations. Source publication dates and jurisdictions still apply.