
What is an API number?
An API number is a unique, permanent identifier assigned to every oil and gas well drilled in the United States. It is issued by state oil and gas regulators and used by all agencies and data providers to track a well from permit to plugging. The number typically has 10 to 14 digits, with the first two digits representing the state, the next three the county, and the remaining digits a unique well identifier. You will see it on drilling permits, completion reports, production filings, and tax documents. If you are researching a specific well, the API number is the most reliable way to find consistent data across different sources.
How the API number connects to due diligence
Every piece of a deal pitch, the lease, the operator, the production history, the working interest economics, hangs off that one identifier. When you verify the API number against regulator records, you can independently pull the well's permit history, completion report, and production instead of relying on the seller's summary. The 5P method below walks through the full framework for vetting a deal, and the API number is where that process starts.
Watch: The 5P Method for Investment Due Diligence
Read the summary of this video.
Where to find the API number when you only have a lease, operator, or location
Start with the state oil and gas regulator for the well's location. Several states maintain free, searchable databases that return API numbers alongside permit and completion data.
| State | Regulator and database |
|---|---|
| Texas | Railroad Commission of Texas online queries |
| North Dakota | Industrial Commission Oil and Gas Division |
| Oklahoma | Corporation Commission |
| Colorado | Colorado Energy and Carbon Management Commission (ECMC) |
| Pennsylvania | Department of Environmental Protection oil and gas reporting |
| New Mexico | Energy, Minerals and Natural Resources Department, Oil Conservation Division |
Well completion reports and production reports filed with these agencies always include the API number. If you have a lease or well name, you can often find the API number through a free search on the regulator's website. Third-party data providers like Enverus or DrillingInfo also list API numbers, but those services require a subscription.
For federal wells on BLM land, use the BLM's National Fluid Lease Sale and Land System (NFLSS) or the Mineral and Land Records System (MLRS) to cross-reference federal lease serial numbers with well API numbers. These systems have replaced the older LR2000 interface in many areas, so check the BLM's current search portal for the most up-to-date access.
Once you have the number, it becomes your key to everything else. Use it to pull production data for a specific well, or to work through all the public records for a well using its API number.
Step by step: finding an API number from a lease name
- Identify the state and county where the well is located. The first two digits of the API number are the state code and the next three are the county code, so knowing these narrows your search immediately.
- Go to that state regulator's public records page. In Texas that is the Railroad Commission of Texas; in North Dakota it is the Industrial Commission Oil and Gas Division; in Oklahoma it is the Corporation Commission.
- Search by lease name, operator name, or abstract and survey if you know the location. Most regulator databases return the API number alongside the permit and completion data.
- Open the well's completion report and confirm the API number printed on the filing itself, not just the search result page.
- Cross-check the number against a second filing, such as a production report, to make sure the same well appears under the same number.
If you only have a county and an operator, the regulator's operator index will usually list every well that operator has in that county, and you can match by lease name from there.
Worked example: reading an API number
Here is an example of how the digits break down. Say a Texas well shows the API number 42-307-12345 (shown here as an illustrative format; real numbers may run 10 to 14 digits).
| Digits | Meaning | In this example |
|---|---|---|
| First two | State code | 42, which is Texas |
| Next three | County code | 307, one specific Texas county |
| Remaining | Unique well identifier | 12345, assigned by the state |
The state and county codes are fixed standards, so the same well cannot carry a Texas code in one database and an Oklahoma code in another. If you ever see that mismatch, you are looking at two different wells or a data entry error, and you should go back to the regulator's own records before relying on anything downstream.
What to check once you have the number
- Verify the API number format: 10 to 14 digits, starting with two digits for the state.
- Cross-check the API number on the state regulator's website against a well completion report.
- If the well is on federal land, confirm the API number matches the BLM lease serial number through the BLM's current search system.
- Use the API number to pull production data from the state regulator's production database.
- Check that the API number is not reused for a different well in the same state.
Common mistakes to avoid
Searching the wrong state. The API number is state-specific from the first two digits. If someone gives you a lease name but you do not know the state, you will burn hours searching the wrong database. Ask for the state and county first.
Trusting a single source. A broker memo, a data provider, and the state regulator can disagree. The regulator's own filings control. Always land the final number on the regulator's completion report.
Confusing the API number with other identifiers. The API number is a national standard for wells. The BLM uses a separate serial number for federal leases. They are linked in BLM records but are different identifiers. Do not treat them as interchangeable.
Assuming an undrilled well has one. An API number is assigned when a drilling permit is issued, so a well that has not been permitted will not have one. You can find proposed well locations on permit applications. If you are evaluating a deal on a well that is supposed to exist but has no API number and no permit, that is a red flag worth resolving before you go further. Note that the exact timing of API number assignment can vary by jurisdiction, and some states may issue a number at a different stage of the permitting process.
How this fits into vetting a deal
The API number is usually the first hard fact I ask for when someone pitches an oil and gas deal. Everything else in the pitch, the lease, the operator, the production, the working interest economics, hangs off that one identifier. Once you have it, you can independently pull the well's permit history, completion report, and production instead of relying on the seller's summary.
In 19 years of working with family offices and investors on how they find, vet, and structure private deals, I have seen the same pattern repeatedly: the investors who verify identifiers like API numbers against regulator records catch problems early, and the ones who skip that step learn about them later and at a higher price. The verification itself takes minutes. The state databases are free. There is no good reason to skip it.
If you are new to this, start with our guidance on finding the API number for a specific well, then use the number to check Texas well production or production in whatever state your deal is in.
Frequently asked questions
Can I get an API number for a well that has not been drilled yet?
No. An API number is assigned when a drilling permit is issued, so a well that has not been permitted will not have one. You can find proposed well locations on permit applications. A deal pitched on a well with no permit and no API number should be checked carefully before you commit capital.
Is the API number the same as the well serial number?
No. The API number is a national standard for wells. The BLM uses a separate serial number for federal leases. They are linked in BLM records but are different identifiers. When you research a federal well, use the API number for state and production data and the BLM serial number for lease records.
Do I need a paid subscription to find an API number?
Usually not. State regulator databases are free and searchable by operator, lease name, or location, and their filings always include the API number. Subscription services like Enverus or DrillingInfo add convenience and analytics, but for a single well lookup the free regulator search is normally enough.
Why do some API numbers have different lengths?
API numbers typically run 10 to 14 digits because states handle the unique well identifier portion differently, and later standards added extra digits for rebores and sidetracks. The first two digits are always the state code and the next three the county code, so the core structure is consistent even when the length varies.
What if the API number on my documents does not match the regulator's records?
Trust the regulator. If a subscription, a memo, or a tax document shows a different number than the state's own completion report, pull the regulator's filing directly and use that. A mismatch usually means a data entry error or two different wells being confused, and either way the regulator's record is the one to rely on.
How do I find the operator of a well if I only have the API number?
Once you have the API number, go to the state regulator's database and search by that number. The well's record will show the operator name, permit history, and filings. For a step-by-step walkthrough, see our guide on finding the operator of a well in New Mexico; the same approach works in other states.
Keep reading
Talk to Richard
Richard C. Wilson runs OilWells.com. If you have a question about an oil and gas deal you are reviewing, email richard@familyoffices.com or text or WhatsApp (808) 600-9260 (WhatsApp), or use the contact page.
Sources and method
Bureau of Land Management, oil and gas leasing and operations: https://www.blm.gov/programs/energy-and-minerals/oil-and-gas U.S. Energy Information Administration, Oil and Petroleum Products Explained: https://www.eia.gov/energyexplained/oil-and-petroleum-products/ U.S. EPA, Class II oil and gas related injection wells: https://www.epa.gov/uic/class-ii-oil-and-gas-related-injection-wells FracFocus Chemical Disclosure Registry: https://fracfocus.org/ U.S. Department of the Interior, Orphaned Wells Program: https://www.doi.gov/orphanedwells Railroad Commission of Texas, data and online research queries: https://www.rrc.texas.gov/ Bureau of Ocean Energy Management, oil and gas energy programs: https://www.boem.gov/oil-gas-energy Bureau of Safety and Environmental Enforcement, Data Center: https://www.data.bsee.gov/
This answer was researched from the public sources listed, then checked line by line against them. See the methodology and editorial policy.
Educational only. Not investment, legal or tax advice.