Skip to content
🔑 DPX is in private beta. Settlement execution requires approval — request access. All other APIs are live and free to use in sandbox mode.

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.


ESG oracle discovery. Call once and cache.

Terminal window
curl localhost:3001/manifest

Live E, S, G scores and the current ESG fee. Use scores.average as the esgScore parameter when calling /quote on the Stability Oracle.

Terminal window
curl localhost:3001/esg-score

Response:

FieldExampleDescription
scores.environmental78Environmental score 0–100
scores.social72Social score 0–100
scores.governance81Governance score 0–100
scores.average77Average of E, S, G
fee.pct0.115Current ESG fee %
fee.bps11.5Current ESG fee in basis points
fee.tier”Good”ESG tier label
fee.formula"(100 - esgScore) / 200"Formula used

Full ESG fee table across all score tiers.

Terminal window
curl localhost:3001/fee-schedule

ESG fee for a specific transaction. Omit esgScore to use the live oracle score.

Terminal window
# Use live ESG score
curl "localhost:3001/quote?amountUsd=1000000"
# Use a specific ESG score
curl "localhost:3001/quote?amountUsd=1000000&esgScore=75"

Parameters:

ParameterTypeRequiredDescription
amountUsdnumberYesTransaction amount in USD
esgScorenumberNoOverride ESG score (uses live score if omitted)

Same as GET, accepts JSON body:

Terminal window
curl -X POST localhost:3001/quote \
-H "Content-Type: application/json" \
-d '{"amountUsd": 1000000, "esgScore": 75}'

ESG oracle uptime and score history.

Terminal window
curl localhost:3001/reliability

ESG oracle liveness check.

Terminal window
curl localhost:3001/health
# {"status": "healthy", "esgOracle": "SUCCESS"}

Self-hosted paths — replace localhost:3001 with your production URL when deployed:

URLFormat
localhost:3001/openapi.jsonESG Oracle OpenAPI 3.0
localhost:3001/.well-known/ai-plugin.jsonESG Oracle plugin manifest
localhost:3001/llms.txtESG Oracle LLM index