
What is an API number?
An API number is a unique identifier for every oil and gas well drilled in the United States. It is assigned by state regulatory agencies and used by federal agencies like the Bureau of Land Management and the Bureau of Ocean Energy Management for tracking. The number typically consists of 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 need the API number to look up a well's production history, permit status, and inspection records across different databases. It is the single key that ties together permits, completions, production, and regulatory records, so it is the first thing to pin down when you are reviewing a deal.
Watch: due diligence questions and verifying operators
Read the summary of this video.
How to find an API number, step by step
- Confirm the state where the well is located. The first two digits of the API number correspond to the state, so this tells you which agency database to use.
- Search the state regulator's online well database by operator name, lease name, or location. If you only have a lease name from an offering document, start there.
- Open the well's record and copy the full API number, including all digits.
- Cross-check the API number against the well completion report or drilling permit on file with the same agency.
- Use the API number to pull production data and confirm the well's status, whether active, inactive, or plugged.
Once you have the number, you can pull the full paper trail. See how to find all public records for a well using its API number for the deeper records search.
Where each type of well is tracked
| Well type | Who assigns the API number | Where to search |
|---|---|---|
| Onshore, state lands | State oil and gas regulator | State well database (RRC, NDIC, OCC, etc.) |
| Onshore, federal lands | State regulator, tracked by BLM | State database plus BLM records |
| Offshore, federal waters | Bureau of Safety and Environmental Enforcement | BSEE data center |
State regulators publish well records that include API numbers. The Railroad Commission of Texas, the North Dakota Industrial Commission Oil and Gas Division, and the Oklahoma Corporation Commission each maintain online well databases searchable by operator, lease name, or location. Federal offshore wells have API numbers assigned by the Bureau of Safety and Environmental Enforcement. Some commercial data providers aggregate this information for a fee, which can be worth it if you are checking many wells at once.
A worked example
Say an operator sends you a one-page summary listing a lease name and a county but no API number. Here is how you would close the gap:
- Identify the state and county from the summary.
- Go to that state regulator's well search page and search by lease name within the county.
- If multiple wells come back, match the operator name and well type to the summary.
- Copy the API number from the well record.
- Pull the completion report and production history using that number, and compare the reported production to what the operator claimed.
This is an example of the process, not a specific well. The point is that a lease name plus a county is usually enough to get to the API number in a few minutes, and the API number is what lets you verify claims instead of taking them on faith.
What to check once you have the API number
- Verify the state where the well is located to use the correct agency database.
- Search by operator name or lease name if you don't have the API number.
- Check well completion reports for the API number.
- Use the API number to cross-reference production data from state and federal sources.
- Confirm the well's status (active, inactive, plugged) using the API number.
If your next question is what the well actually produced, see how to find production data for a specific well. If the well is in Texas, we cover the Railroad Commission's system in how to find production data for a specific Texas well.
Mistakes to avoid
- Using the wrong state database. The API number's first two digits identify the state, so a mismatch is a red flag that you are looking at the wrong well.
- Truncating the number. Some databases display a shortened version. Use the full 10 to 14 digit number when cross-referencing.
- Assuming the operator name in a pitch matches the regulator's records. Operator names change through acquisitions, so search by lease name and location too.
- Skipping the status check. A well can be plugged or shut in while marketing materials still describe it as producing. See what is a shut-in well and when do royalties resume for how status affects royalty owners.
- Treating the API number as proof of anything by itself. It is a key to records, not a substitute for reading them.
A lesson from reviewing deals
After 19 years of working with family offices and investors on how they find, vet, and structure private deals, I have seen the same pattern: investors who verify the basics quickly filter out most weak deals before spending real money on diligence. The API number is one of those basics. It takes minutes to find and it connects you to production history, permits, and inspection records. Investors who skip it end up relying on the operator's summary, which is exactly the document that is written to persuade them. Pull the number, pull the records, and compare. That habit alone will save you from more bad deals than any checklist you buy.
Frequently asked questions
Can I find an API number for a well that has been plugged?
Yes. Plugged wells still have API numbers on file with state regulators. You can search state databases using the well's location or operator name. This counts if you are evaluating acreage near a plugged well or checking an operator's history of properly abandoning wells.
Are API numbers the same for onshore and offshore wells?
Both onshore and offshore wells have API numbers, but offshore wells are assigned by the Bureau of Safety and Environmental Enforcement rather than state agencies. Offshore records are searched through the BSEE data center, not state databases.
Can two wells have the same API number?
No. The API number is unique to each well. If you find two records that appear to share a number, one of them is likely a data entry error or you are looking at a recompleted well whose record needs a closer read.
What if I only know the county and operator?
That is usually enough. Search the state regulator's database filtered by county and operator name, then match lease names and well locations to narrow it down. For federal offshore wells, the BSEE data center supports similar searches.
Do I need the API number to check production?
It is the fastest way. Production databases are searchable by operator and lease, but the API number removes ambiguity when an operator has many wells on similarly named leases. See our guide on finding well records by API number.
Who do I ask if the database shows no well?
Contact the state regulator's records staff, who handle these questions regularly. If a deal you are reviewing references a well that does not appear in any regulator database, treat that as a serious red flag and talk to a securities attorney before moving forward.
Keep reading
- Full guide: How to Use BOEM and BSEE Offshore Data
- What is the difference between a DUC well and a producing well?
- All oil and gas investor questions
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).
Sources and method
Bureau of Ocean Energy Management, oil and gas energy programs: https://www.boem.gov/oil-gas-energy 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 Land Management, oil and gas leasing and operations: https://www.blm.gov/programs/energy-and-minerals/oil-and-gas 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.