Get well by API number
get_wellRetrieve a well's full raw state record and normalized summary by API number, regardless of dashes or state prefixes. Tries all states if omitted.
Instructions
Look up a specific well by API number and return its FULL raw record from the state source plus the normalized summary. Handles formatting differences (dashes, state prefixes): tries an exact match first, then the bare digits, then a dash-tolerant contains-match on the county + sequence digits — so undashed input still finds wells in sources that store dashed APIs (NM, ND, CO, NV). If state is omitted, tries every state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | Yes | API well number in any common format (e.g. 04-029-12345, 0402912345, 33-053-04652, 4300712345). | |
| state | No | Two-letter state code if known (much faster). |