S

StrategicMaterials · Minerals

by StrategicMaterials

GETBaseSolana

$0.05

per call · USD Coin on Base

Critical-minerals supply-concentration & US import-reliance signal

Endpoint

GET https://minerals.lonestaroracle.xyz/minerals

6

Calls / 30d

3

Unique payers / 30d

Sep 10

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://minerals.lonestaroracle.xyz/minerals", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://minerals.lonestaroracle.xyz/minerals?commodity=copper" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "commodity": "Rare earths",
  "is_critical_mineral": true,
  "signal": "Rare earths: US 80% net-import-reliant (sources: China, Malaysia, Japan, Estonia). China leads world mine production at 69% (top 3 = 86%). Very high supply concentration. USGS-designated critical mineral.",
  "us_net_import_reliance_pct": 80
}

Payment details

Pay to0x52ab53912d37759b2ad364f22dd06b16714b6c06
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from StrategicMaterials & similar services