Developer tools — pay-per-call in USDC · Swagger docs
| Endpoint | Description | Credits |
|---|---|---|
| POST /v1/keys/register | Create your API key (free) | — |
| GET /v1/credits/balance | Check remaining credits | — |
| GET /v1/carbon-intensity | Real-time gCO₂eq/kWh — zones GB, FR | 1 cr |
| POST /v1/webhook/transform | Jinja2 template transform + optional forward | 1 cr |
| POST /v1/fake/generate | Synthetic test data via Faker (6 locales) | 1 cr |
| GET /v1/oracle/{asset} | Crypto price USD+EUR+24h change (BTC, ETH, MATIC…) | 2 cr |
| GET /v1/oracle/gas/{chain} | Gas price in Gwei — Polygon or Ethereum | 2 cr |
| POST /v1/chain/gate | Verify ERC20/ERC721/ERC1155 balance on Polygon | 3 cr |
| POST /v1/prompt/guard | Prompt injection detector (11 patterns + Mistral) | 5 cr |
| POST /v1/text/anonymize | PII detector/redactor — RGPD compliant | 8 cr |
| POST /v1/review/code | AI code review — issues, score, recommendations | 10 cr |
| POST /v1/debug/explain | Stack trace explainer — root cause + fix | 10 cr |
| POST /v1/llm/complete | Generic LLM completion via Mistral (prompt or chat) | 1 cr/100 tok |
| POST /v1/pdf/extract | PDF → structured JSON (invoice, CV, table, raw) | 20 cr |
curl -X POST https://carbon.norm.ovh/v1/keys/register \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'
0x11bF0A45d5228A48Fb29460f10Eb50Cf49205196curl https://carbon.norm.ovh/v1/oracle/ETH \ -H "X-API-Key: sk-ca-..."