I am looking for an API for oil and gas wells, including their name and location. I know each state has has this data for download but is there an API out there?

I know of some but they are at least $3,000+. Is there any that are reasonably price ones?

2 Answers 2


OpenStreetMap has the data, specifically 70k+ entries with the tag "man_made=petroleum_well" (also the less used "man_made=pumping_rig". Here's how they look on the map:

enter image description here

There are many tools to export all the data for a set of tags. In particular, start with manual searches using the OverPass-Turbo API, to see if this tag has good coverage for places you know of. Then start to read about bulk exports with this answer.

Once you download the bulk.osm file, you'd run something like this

./osmfilter bulk.osm --keep="man_made=pumping_rig =petroleum_well" > oil_wells.osm

Not 3k. Texas alone will cost you $4500 for the RAW COBOL tables. Several sites host the data such as drilling info or others but most are incomplete and don't allow downloads as this is highly valuable information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.