{"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"}},"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-06-30T05:47:24.416Z"}