{"ok":true,"status":"ok","service":"mineral-intel-benchmark","version":"1.0.0","model":{"vision":"gemini-2.5-flash"},"endpoints":{"GET /api/benchmark/{commodity}":{"description":"USGS benchmark data for 20 critical minerals","supported_commodities":["copper","gold","silver","lithium","cobalt","nickel","manganese","graphite","antimony","gallium","germanium","platinum_group","rare_earths","tellurium","tin","titanium","tungsten","uranium","vanadium","zinc"],"price":"$0.10 USDC on Base","payment":"x402"},"GET /api/benchmark/research/mineral-processing/{study}":{"description":"Founder's attested mineral-processing field study run data with on-chain provenance","price":"$0.10 USDC on Base","payment":"x402","filters":["feed_type","min_recovery_pct","attested_only","limit","offset"]},"extract":{"POST /api/extract/estimate":{"description":"Free probe — returns page count, source type, and price quote","payment":"none"},"POST /api/extract/run":{"description":"Paid assay extraction — Gemini 2.5 Flash, quality-graded result","payment":"x402 dynamic (ladder price)"},"GET /api/extract/result/:id":{"description":"Token-gated extraction result","payment":"none (HMAC token required)"}},"POST /api/ask":{"description":"Tier-1 RAG over 199 attested files (20 USGS commodities + 179 mining districts). BM25 retrieval + Groq llama-3.1-8b grounded synthesis with inline on-chain citations.","price":"$0.10 USDC on Base","payment":"x402","body":{"question":"string (≤500 chars)","top_k":"1–8 (default 5)","kind":"'commodity' | 'district' (optional)"}},"GET /api/receipts/:id":{"description":"Retrieve a stored x402 receipt by receipt_id. Use to poll settlement status (tx_hash appears a few seconds after the paid response).","price":"free","payment":"none"},"POST /api/data-license/inquiry":{"description":"Bulk / enterprise / agent-platform corpus licensing lead capture. Body: {organization, email, use_case, commodities?, estimated_monthly_calls?, budget_band?, notes?}.","price":"free","payment":"none"},"intelligence":{"GET /api/criticality/{commodity}":{"description":"Multi-jurisdiction critical mineral crosscheck (US DoD, EU, IEA, Japan METI)","price":"$0.25 USDC on Base","payment":"x402"},"GET /api/trade-controls/{commodity}":{"description":"China export restriction status for restricted minerals (Ga, Ge, graphite, Sb, W, Te, REE)","price":"$0.25 USDC on Base","payment":"x402"},"GET /api/supply/{commodity}":{"description":"Supply concentration — top-3 producers, HHI index, allied vs adversarial share","price":"$0.25 USDC on Base","payment":"x402"},"GET /api/stockpile/{commodity}":{"description":"DLA strategic stockpile levels and status for 20 critical minerals","price":"$0.25 USDC on Base","payment":"x402"},"GET /api/resilience/{commodity}":{"description":"Supply chain resilience score — 5-factor weighted model with scenario analysis","price":"$0.50 USDC on Base","payment":"x402"},"GET /api/esg/{commodity}":{"description":"ESG intelligence — recycling metrics, carbon intensity by country, regulatory exposure","price":"$0.50 USDC on Base","payment":"x402"},"GET /api/blm-claims/{state}/{county}":{"description":"BLM LR2000 mining claims data — active lode/placer/millsite counts by state and county","price":"$0.25 USDC on Base","payment":"x402"},"GET /api/geophysics/{district}":{"description":"Historical geophysical survey metadata — aeromag, gravity, EM, radiometric","price":"$0.25 USDC on Base","payment":"x402"},"GET /api/active-operations/{commodity}":{"description":"Active US mining operations per critical mineral — operator, location, capacity","price":"$0.25 USDC on Base","payment":"x402"},"GET /api/earth-mri/{state}":{"description":"USGS Earth MRI focus areas — completed and planned surveys by state","price":"$0.25 USDC on Base","payment":"x402"}}},"payment_guarantees":{"idempotency":"All x402-gated routes are idempotent on the EIP-3009 nonce in the X-PAYMENT payload. Retries return the cached response with header X-Idempotent-Replay: true and DO NOT re-attempt settlement.","receipts":"Every successful paid response includes an embedded `receipt` object (schema: x402-receipt-v1) with payment + settlement details. Fetch later via GET /api/receipts/:id.","cache_ttl":"30 days"},"chain":"base","timestamp":"2026-08-15T06:58:38.085Z"}