G

Govparse · Mines Search

by Govparse

GETBaseSolana

$1.25

per call · USD Coin on Base

Which mines and quarries operate in a market, and who runs them? Search the MSHA Mines data set — every coal and metal/non-metal mine under MSHA jurisdiction (NAICS-21 operators that are OSHA-exempt and invisible elsewhere) — by operator, mine name, state, county, commodity, canvass, coal_metal, mine type, status, active-only, or status date (since). Returns the mine, its operator (entity-resolved) and controller, commodity, employees, and status. MSHA public-domain records.

Endpoint

GET https://api.govparse.io/v1/msha/mines/search

2

Calls / 30d

1

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.govparse.io/v1/msha/mines/search", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.govparse.io/v1/msha/mines/search?mine_id=1202215&mine_name=Quarry&operator=Peabody" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "rows": [
    {
      "coal_metal_ind": "M",
      "commodity": "Crushed, Broken Limestone",
      "company_type": "Corporation",
      "current_103i": null,
      "current_controller_id": "C01234",
      "current_controller_name": "Example Materials Holdings Inc",
      "current_mine_name": "Example Aggregates Quarry",
      "current_mine_status": "Active",
      "current_mine_type": "Surface",
      "current_operator_id": "M09902",
      "current_operator_name": "Example Aggregates LLC",
      "current_status_dt": "2011-04-01",
      "district": "SC",
      "entity_id": null,
      "fips_cnty_nm": "Bexar",
      "is_active": true,
      "is_coal": false,
      "is_metal": true,
      "latitude": "29.42",
      "longitude": "-98.49",
      "mine_id": "1202215",
      "nearest_town": "San Antonio",
      "no_employees": 42,
      "office_name": "Dallas Field Office",
      "primary_canvass": "Stone",
      "primary_sic": "Crushed, Broken Limestone",
      "state": "TX"
    }
  ],
  "total_matched": 1
}

Payment details

Pay to0x3873d15cf3209c32aaa8d9aa542164e658567129
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Govparse & similar services