Reference

West Virginia API county codes

Every West Virginia API well number starts with 47, the state code. The next three digits are the county code, one of the 55 listed below, so a number beginning 47-001 belongs to a well in Barbour County.

To decode a whole number, including the sidetrack and completion digits, paste it into the API well number decoder.

How to read a West Virginia API number

47State: West Virginia
001County: Barbour
12345Well, unique within the county

The first ten digits identify one well. Two more digits can follow for a sidetrack, and two after that for a later completion. The county is the one where the well starts at the surface, so a horizontal well that crosses a county line keeps its surface county's code. A few state regulators assign the producing county instead, so the state record is the final word on a well near a boundary.

All 55 West Virginia counties

County code County API numbers start
001 Barbour 47-001-
003 Berkeley 47-003-
005 Boone 47-005-
007 Braxton 47-007-
009 Brooke 47-009-
011 Cabell 47-011-
013 Calhoun 47-013-
015 Clay 47-015-
017 Doddridge 47-017-
019 Fayette 47-019-
021 Gilmer 47-021-
023 Grant 47-023-
025 Greenbrier 47-025-
027 Hampshire 47-027-
029 Hancock 47-029-
031 Hardy 47-031-
033 Harrison 47-033-
035 Jackson 47-035-
037 Jefferson 47-037-
039 Kanawha 47-039-
041 Lewis 47-041-
043 Lincoln 47-043-
045 Logan 47-045-
047 McDowell 47-047-
049 Marion 47-049-
051 Marshall 47-051-
053 Mason 47-053-
055 Mercer 47-055-
057 Mineral 47-057-
059 Mingo 47-059-
061 Monongalia 47-061-
063 Monroe 47-063-
065 Morgan 47-065-
067 Nicholas 47-067-
069 Ohio 47-069-
071 Pendleton 47-071-
073 Pleasants 47-073-
075 Pocahontas 47-075-
077 Preston 47-077-
079 Putnam 47-079-
081 Raleigh 47-081-
083 Randolph 47-083-
085 Ritchie 47-085-
087 Roane 47-087-
089 Summers 47-089-
091 Taylor 47-091-
093 Tucker 47-093-
095 Tyler 47-095-
097 Upshur 47-097-
099 Wayne 47-099-
101 Webster 47-101-
103 Wetzel 47-103-
105 Wirt 47-105-
107 Wood 47-107-
109 Wyoming 47-109-

County names are the US Census names for these codes. The API standard does not promise the two match, so we checked them against state well records. Across 35 states, where this table names a county it matched the one the agency recorded on 85,091 of 85,100 wells. Offshore state and federal waters use their own pseudo-county codes, which are not listed here.

Finding the well itself

The API number stops at the county. It does not hold the well's coordinates, lease, survey section or operator. Those sit in the well record, which you find by searching the full number in the state agency's system. In West Virginia that is the WVDEP well search, run by the West Virginia Department of Environmental Protection (WVDEP).

For what the West Virginia public records hold in total, see the West Virginia oil and gas data summary.

Frequently asked questions

What is the API state code for West Virginia?

47. API state codes run alphabetically from 01 for Alabama to 49 for Wyoming, then 50 for Alaska and 51 for Hawaii. They are not the Census FIPS state codes, which is a common source of wrong lookups.

How do I find the county from a West Virginia API number?

Read digits three to five and find them in the table on this page. In 47-001-12345, the county code is 001, which is Barbour County. If the code is missing from the table, it is usually an offshore area rather than an onshore county.

Does a West Virginia API number give the well's exact location?

No. The number stops at the county. Coordinates, the lease and the survey location are in the well record held by the state agency, which you search with the full API number.

Every West Virginia well, on one map

TetraSoft Atlas shows each West Virginia well's API-10 number beside its operator, status and production, with wells from eight states on one map. Free 7-day trial, no credit card.

State codes: American Petroleum Institute Bulletin D12A well numbering standard. County names: US Census county FIPS names, checked against state well records. Reference generated .

How to cite this page

Sources: American Petroleum Institute Bulletin D12A well numbering standard; US Census county FIPS codes.

TetraSoft. (2026). West Virginia API county codes. Reference generated 2026-09-24. https://tetrasoftco.com/tools/api-county-codes/west-virginia/