API-571 corrosion EPA TRI OSHA PSM / NFPA Pay-per-call USDC

Industrial compliance APIs
your agents can pay for per call.

Six expert-grade x402 endpoints for corrosion engineering, EPA Toxics Release Inventory lookups, facility risk scoring, chemical hazard analysis. LLM-backed by Llama 3.3 70B with vertical-specialized system prompts. $0.03–$0.10 per call. Settled on Base mainnet.

Loading on-chain stats… Verify on Basescan ↗

Six endpoints. Pay only when you call them.

Each endpoint returns structured analysis grounded in industry standards (API 571, NFPA, OSHA PSM, NEPA). No subscription. No minimum.

POST /api/corrosion-rate $0.05
Corrosion Rate Estimation
API 571 damage mechanisms. Provide equipment, material, environment, operating conditions; receive mpy estimates, remaining life, inspection interval recommendations.
query: "CS pipe, 350F, 80ppm chloride, 250psi steam, est mpy"
POST /api/facility-risk $0.10
Facility Risk Assessment
PHA-style risk scoring across process hazards, environmental exposure, regulatory gaps, community impact. Returns score 1-100 and prioritized mitigation list.
query: "mid-size chemical blender, urban TX, 5000 lb solvent storage"
POST /api/compliance-check $0.05
Regulatory Compliance Check
EPA, OSHA, state regulation cross-check. Returns specific citations, compliance status, recommended corrective actions.
query: "5000 lb solvent storage Texas, EPA registration"
POST /api/epa-tri-lookup $0.03
EPA TRI Data Lookup
Toxics Release Inventory data: chemical releases, waste management, pollution prevention activities. NAICS and SIC code aware.
query: "Exxon Beaumont TX refinery benzene 2024"
POST /api/environmental-risk $0.05
Environmental Risk Scoring
Air emissions, water discharge, soil contamination, waste management. Per-category risk scores plus overall rating with regulatory references.
query: "metal plating, chromium discharge to MSW sewer"
POST /api/chemical-hazard $0.05
Chemical Hazard Analysis
GHS classifications, exposure limits (PEL/TLV/STEL), reactivity hazards, required PPE. NFPA 704 rating + emergency response guidance.
query: "bleach + ammonia mixing, exposure limits, response"

One curl. Pay $0.05 in USDC. Get an answer.

Standard x402 flow: HTTP 402 challenge → sign EIP-3009 USDC transfer → resubmit. CDP facilitator handles settlement on Base mainnet.

# 1. Initial request — server returns 402 with payment instructions
curl -X POST https://x402.adametherzlab.com/api/corrosion-rate \
  -H "Content-Type: application/json" \
  -d '{"query": "CS pipe 350F 80ppm chloride 250psi steam mpy"}'

# 2. Read payment-required header, sign EIP-3009 with @x402/client, resubmit:
curl -X POST https://x402.adametherzlab.com/api/corrosion-rate \
  -H "Content-Type: application/json" \
  -H "payment-signature: <base64-encoded EIP-3009 signed payload>" \
  -d '{"query": "CS pipe 350F 80ppm chloride 250psi steam mpy"}'

# Returns:
{
  "endpoint": "/api/corrosion-rate",
  "name": "Corrosion Rate Estimation",
  "vertical": "Industrial Compliance",
  "query": "...",
  "result": "<structured corrosion analysis with mpy estimate, RBI recommendations, inspection intervals>",
  "pricing": { "amount": "0.05", "currency": "USDC", "network": "base" },
  "meta": { "model": "meta-llama/llama-3.3-70b-instruct", "latency_ms": 18203 }
}

Use any x402 client: MCP server, @x402/client npm package, or the Coinbase CDP SDK.

Pay-per-call. Nothing else.

No subscription. No minimums. No "premium tier" upcharges for compliance-grade analysis. USDC settles in 2–5 seconds on Base.

/api/epa-tri-lookup — $0.03 /api/corrosion-rate — $0.05 /api/compliance-check — $0.05 /api/environmental-risk — $0.05 /api/chemical-hazard — $0.05 /api/facility-risk — $0.10

100 corrosion rate estimates = $5. 1,000 EPA TRI lookups = $30. Cheap enough to embed in cron jobs and agent workflows.

FAQ

Is this a substitute for a licensed PE-stamped report?

No. These endpoints generate engineering-grade analysis grounded in industry standards. They do not produce signed-and-sealed deliverables. Use them for screening, scoping, triage, draft generation, agent automation — not for documents that legally require a Professional Engineer's stamp.

What model is behind the analysis?

Meta Llama 3.3 70B Instruct via NVIDIA NIM, with vertical-specialized system prompts written for each domain (corrosion engineering, EPA TRI, EHS risk, chemical hazard). Future versions may route specific verticals to specialized models.

Why pay-per-call vs a monthly plan?

Because most engineering teams don't know in advance how many compliance lookups they'll need this month. Pay-per-call lets a single agent or script consume capacity in proportion to actual demand, no commitment, no waste.

How do I pay without a Coinbase account?

Any wallet on Base with USDC works. The x402 protocol uses EIP-3009 transferWithAuthorization — you sign off-chain, the facilitator settles. No KYC, no signup. Use @x402/client, the MCP server, or any compatible library.

Can I cite these results in regulatory submissions?

You can cite the analytical reasoning but not "an API said so." Reasonable use: have ComplianceOS draft an initial assessment, then have a qualified engineer review/refine/sign. Saves hours of blank-page work.