ESG Oracle API
No authentication required. All responses are JSON.
Base URL: localhost:3001 (self-hosted) · production endpoint provided upon beta approval
All examples below use
localhost:3001. Approved beta partners receive the hosted production URL directly.
GET /manifest
Section titled “GET /manifest”ESG oracle discovery. Call once and cache.
curl localhost:3001/manifestGET /esg-score
Section titled “GET /esg-score”Live E, S, G scores and the current ESG fee. Use scores.average as the esgScore parameter when calling /quote on the Stability Oracle.
curl localhost:3001/esg-scoreResponse:
| Field | Example | Description |
|---|---|---|
scores.environmental | 78 | Environmental score 0–100 |
scores.social | 72 | Social score 0–100 |
scores.governance | 81 | Governance score 0–100 |
scores.average | 77 | Average of E, S, G |
fee.pct | 0.115 | Current ESG fee % |
fee.bps | 11.5 | Current ESG fee in basis points |
fee.tier | ”Good” | ESG tier label |
fee.formula | "(100 - esgScore) / 200" | Formula used |
GET /fee-schedule
Section titled “GET /fee-schedule”Full ESG fee table across all score tiers.
curl localhost:3001/fee-scheduleGET /quote
Section titled “GET /quote”ESG fee for a specific transaction. Omit esgScore to use the live oracle score.
# Use live ESG scorecurl "localhost:3001/quote?amountUsd=1000000"
# Use a specific ESG scorecurl "localhost:3001/quote?amountUsd=1000000&esgScore=75"Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
amountUsd | number | Yes | Transaction amount in USD |
esgScore | number | No | Override ESG score (uses live score if omitted) |
POST /quote
Section titled “POST /quote”Same as GET, accepts JSON body:
curl -X POST localhost:3001/quote \ -H "Content-Type: application/json" \ -d '{"amountUsd": 1000000, "esgScore": 75}'GET /reliability
Section titled “GET /reliability”ESG oracle uptime and score history.
curl localhost:3001/reliabilityGET /health
Section titled “GET /health”ESG oracle liveness check.
curl localhost:3001/health# {"status": "healthy", "esgOracle": "SUCCESS"}Machine Discovery
Section titled “Machine Discovery”Self-hosted paths — replace localhost:3001 with your production URL when deployed:
| URL | Format |
|---|---|
localhost:3001/openapi.json | ESG Oracle OpenAPI 3.0 |
localhost:3001/.well-known/ai-plugin.json | ESG Oracle plugin manifest |
localhost:3001/llms.txt | ESG Oracle LLM index |