Developers · REST over HTTPS · OpenAPI 3.1 · SDKs in preparation

Build on the house.

Five minutes to your first score. One REST surface, with sandbox keys from the beta. Integrate directly over HTTPS — signed requests, webhook delivery, cost meters — with official Python, Node and Java SDKs in preparation. Every model card linkable at /models; every response replayable.

Raw HTTPSOpenAPI 3.1 specHMAC-signed requestsSLA published per partner MSA
POST /api/v1/b2b/credit-score
# Score a credit application over raw HTTPS
TS=$(date +%s)
BODY='{"features":{"monthly_income_inr":65000}}'
NONCE=$(openssl rand -hex 16)
BODY_SHA=$(printf "%s" "$BODY" | openssl dgst -sha256 | sed 's/^.* //')
SIG=$(printf 'MUKODI-B2B-HMAC-SHA256-V1\nPOST\n/api/v1/b2b/credit-score\n\n%s\n%s\n%s' "$BODY_SHA" "$TS" "$NONCE" | openssl dgst -sha256 -hmac "$MUKODI_HMAC_SECRET" | sed 's/^.* //')

curl -X POST https://api.mukodi.com/api/v1/b2b/credit-score \
  -H "X-API-Key: $MUKODI_API_KEY" \
  -H "X-Signature-Version: 1" \
  -H "X-Timestamp: $TS" \
  -H "X-Nonce: $NONCE" \
  -H "X-Signature: $SIG" \
  -H "Content-Type: application/json" \
  -d "$BODY"

# → score, shap_top_5, counterfactuals, decision_lineage
On this page · seven anchors

From signup to first score, with one curl.

Export your key as MUKODI_API_KEY (and the HMAC secret as MUKODI_HMAC_SECRET) and run any of the calls below. Every response returns a JSON envelope with a request_id and processing_time_ms under metadata.

01 · Quickstart

Three curl examples, three minutes.

The API host api.mukodi.com comes with the beta. Until then these examples show the request shape and signing; they do not reach a live service.

POST · /b2b/credit-score
# POST · /api/v1/b2b/credit-score
TS=$(date +%s)
NONCE=$(openssl rand -hex 16)
BODY='{"features":{"monthly_income_inr":65000,"loan_amount_inr":350000,"tenure_months":24}}'
BODY_SHA=$(printf '%s' "$BODY" | openssl dgst -sha256 | sed 's/^.* //')
SIG=$(printf 'MUKODI-B2B-HMAC-SHA256-V1\nPOST\n/api/v1/b2b/credit-score\n\n%s\n%s\n%s' "$BODY_SHA" "$TS" "$NONCE" \
  | openssl dgst -sha256 -hmac "$MUKODI_HMAC_SECRET" | sed 's/^.* //')

curl -sS -X POST https://api.mukodi.com/api/v1/b2b/credit-score \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $MUKODI_API_KEY" \
  -H "X-Signature-Version: 1" \
  -H "X-Timestamp: $TS" \
  -H "X-Nonce: $NONCE" \
  -H "X-Signature: $SIG" \
  -d "$BODY"
GET · /b2b/health-score/{user_id}
# GET · /api/v1/b2b/health-score/{user_id}
# GET is signed too; with no body the hash is sha256 of the empty string.
# Needs the person's consent for YOUR partner account (b2b_data_sharing), checked server-side.
# Until per-partner consent is switched on, every call → 403 partner_consent_not_enabled;
# after that, no grant from this person → 403 consent_required.
TS=$(date +%s)
NONCE=$(openssl rand -hex 16)
URL_PATH="/api/v1/b2b/health-score/$USER_ID"
EMPTY_SHA=$(printf '' | openssl dgst -sha256 | sed 's/^.* //')
SIG=$(printf 'MUKODI-B2B-HMAC-SHA256-V1\nGET\n%s\n\n%s\n%s\n%s' "$URL_PATH" "$EMPTY_SHA" "$TS" "$NONCE" \
  | openssl dgst -sha256 -hmac "$MUKODI_HMAC_SECRET" | sed 's/^.* //')

curl -sS "https://api.mukodi.com$URL_PATH" \
  -H "X-API-Key: $MUKODI_API_KEY" \
  -H "X-Signature-Version: 1" \
  -H "X-Timestamp: $TS" \
  -H "X-Nonce: $NONCE" \
  -H "X-Signature: $SIG"
POST · /b2b/document-verify
# POST · /api/v1/b2b/document-verify  (multipart)
# The signature covers the EXACT multipart bytes, so build the body into a
# file first (curl -F would pick its own boundary after you signed), sign
# that file, send it unchanged. Field "file"; capped at 25 MiB.
BOUNDARY=$(openssl rand -hex 16)
{ printf -- '--%s\r\nContent-Disposition: form-data; name="file"; filename="aadhaar-front.pdf"\r\nContent-Type: application/pdf\r\n\r\n' "$BOUNDARY"
  cat aadhaar-front.pdf
  printf -- '\r\n--%s--\r\n' "$BOUNDARY"; } > body.multipart
TS=$(date +%s)
NONCE=$(openssl rand -hex 16)
BODY_SHA=$(openssl dgst -sha256 < body.multipart | sed 's/^.* //')
SIG=$(printf 'MUKODI-B2B-HMAC-SHA256-V1\nPOST\n/api/v1/b2b/document-verify\n\n%s\n%s\n%s' "$BODY_SHA" "$TS" "$NONCE" \
  | openssl dgst -sha256 -hmac "$MUKODI_HMAC_SECRET" | sed 's/^.* //')

curl -sS -X POST https://api.mukodi.com/api/v1/b2b/document-verify \
  -H "X-API-Key: $MUKODI_API_KEY" \
  -H "X-Signature-Version: 1" \
  -H "X-Timestamp: $TS" -H "X-Nonce: $NONCE" -H "X-Signature: $SIG" \
  -H "Content-Type: multipart/form-data; boundary=$BOUNDARY" \
  --data-binary @body.multipart
02 · SDKs · in preparation

SDKs are coming. Integrate over HTTPS.

Official Python, Node and Java SDKs — generated from the same OpenAPI 3.1 spec — are being prepared and are not published yet. Nothing is on PyPI, npm or Maven Central yet. Integrate directly over HTTPS using the curl examples on this page; we will announce SDK availability in the partner newsletter.

No package is published yet

Do not run install commands that claim to be the Mukodi SDK — no pip, npm or Maven artifact has been published by Nilfee Fintech. Any package matching those names is not ours. When the SDKs ship they will be announced here and in the partner newsletter, generated from the OpenAPI 3.1 spec, and versioned semantically. Until then, the raw HTTPS calls above are the supported integration path.

The OpenAPI spec and the API reference open in the partner portal with the beta.

03 · Authentication · signed every request

X-API-Key + HMAC-SHA256, replay-safe, audit-clean.

Every request — GET included — carries an X-API-Key and a signature: X-Signature-Version: 1, an X-Timestamp accepted within ±300 s, a single-use X-Nonce and an X-Signature, the lowercase-hex HMAC-SHA256 over the method, path, sorted query, SHA-256 of the exact body bytes, timestamp and nonce. There is no Bearer token on the B2B surface. A missing or invalid key returns 403; a missing header, a stale timestamp, a reused nonce or a bad signature returns 401 with a detail.code naming why.

  • X-API-Key header · API token · per-tenant · all requests
  • X-Signature-Version: 1 · X-Timestamp (unix s, ±300 s) · X-Nonce (single-use) · all requests
  • X-Signature · lowercase-hex HMAC-SHA256 over method, path, sorted query, sha256(body), timestamp, nonce
  • X-Idempotency-Key · POST · partner-scoped · 24-hour dedupe
sign-and-send.sh
# 1. serialize the body ONCE, then sign those exact bytes
TS=$(date +%s)
BODY='{"features":{"monthly_income_inr":65000}}'
NONCE=$(openssl rand -hex 16)
BODY_SHA=$(printf "%s" "$BODY" | openssl dgst -sha256 | sed 's/^.* //')
SIG=$(printf 'MUKODI-B2B-HMAC-SHA256-V1\nPOST\n/api/v1/b2b/credit-score\n\n%s\n%s\n%s' "$BODY_SHA" "$TS" "$NONCE" | openssl dgst -sha256 -hmac "$MUKODI_HMAC_SECRET" | sed 's/^.* //')

# 2. send the UNCHANGED bytes (do not re-serialize after signing)
curl -X POST https://api.mukodi.com/api/v1/b2b/credit-score \
  -H "X-API-Key: $MUKODI_API_KEY" \
  -H "X-Signature-Version: 1" \
  -H "X-Timestamp: $TS" \
  -H "X-Nonce: $NONCE" \
  -H "X-Signature: $SIG" \
  -d "$BODY"
04 · Webhooks · register, deliver, verify

Register a URL. Verify every signature.

Register a callback URL and declare the event_types you want. We deliver signed callbacks — each carries an HMAC-SHA256 signature of the raw body computed with your webhook secret. Manage your registration with the live endpoints below.

POST /api/v1/b2b/webhooks/register

Register a callback URL

Supply the callback URL and the event_types you want. The HMAC secret is returned once in the response body — store it in your secret manager. A signed webhook.registered confirmation is delivered to the URL.

GET /api/v1/b2b/webhooks

List your registration

Returns your registered callback URL and the event_types echoed from your latest registration. Empty if you have not registered.

DELETE /api/v1/b2b/webhooks/{id}

Unregister

Removes your registered webhook. The id is the one returned by register; a mismatched or absent id returns 404.

Signed delivery

On each delivered event

Every delivered callback carries an HMAC-SHA256 signature (lowercase hex) of the raw body, computed with your webhook secret. Verify it before trusting the payload — see the snippet below.

verify-webhook (Python)
# Verify a delivered webhook: HMAC-SHA256 (lowercase hex) of the raw body.
import hmac, hashlib, os

def verify(body: bytes, header_signature: str) -> bool:
    secret = os.environ["MUKODI_WEBHOOK_SECRET"].encode()
    expected = hmac.new(secret, body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, header_signature)
05 · Rate limits · cost meter · clean pause

Predictable bills. Generous limits. Hard caps.

Per-tenant cost budgets enforce themselves. We soft-warn at 80%, hard-pause at 100% — no rolling overage. Every limit is visible at the partner portal.

10
Starter · req/min
100 req / day
100
Growth · req/min
10,000 req / day
1,000
Enterprise · req/min
1,00,000 req / day
24h
Pause grace
after cost-budget hit · resume manual
06 · Sandbox credentials

Apply via partner registration.

Partner registration opens with the beta; from then, sandbox keys are issued through the partner-registration flow. The application captures GSTIN, PAN, address, a tech contact and a fingerprint; once approved by the partner control center, the portal exposes a sandbox key and a production key behind the same panel.

Proof · what the house actually holds itself to

The house behind the characters.

Mukodi is narrative on the surface. Underneath, it is code, tests, and migrations. These are the numbers we actually hold ourselves to — not marketing copy, but the artefacts that leave a git log.

33
registered models
Models in the registry; 27 of them monitored for drift by the Observatory. Auto-retrain proposals land at CTO inbox in under 6 hours.
5
RL algorithms
Thompson Sampling, Q-Learning, DQN, PPO, CQL. Picked per craft — Tracker's subscriptions run Thompson; Coach's budget runs PPO; Tax Planner runs CQL.
11
named agents
Seven RL specialists with their own voice, plus four advisory-only agents. Each agent owns one discipline.
8
Indian languages
English, Hindi, Tamil, Telugu, Urdu, Kannada, Bengali, Marathi. Voice and text, first-class.
Replayable
Event stream
Every model output and user action is published to an event stream — persisted and replayable.
164
API routers
Consumer · B2B · Admin · Portal. Every domain segmented behind an audited surface.
12,000+
tests
Across every module and subgraph.
Replayable
Schema migrations
Every schema change is versioned and replayable end-to-end.
36
input formats
CSV, parquet, OFX/QFX, MT940, CAMT.053, PDFs (native + scanned), images, audio, video — every format normalized through one ingestion pipeline.
15
CI workflows
Lint, test, validate; adversarial; brand-drift; landing browser + Lighthouse; load; ML training; SDK publish; security scan; staging + canary CD.
07 · Status

Status lives with your keys.

This page is a static export, so it makes no live claims. The realtime status page — per-service health, incidents, and history — lives in the partner portal next to your keys; the SLA is published per partner MSA. A nightly HMAC-chain verification job (a chain, not a Merkle tree) exits non-zero on any break.

Status · partner portal, with the beta
4 services · health in the portal, with the beta
  • Credit risk + fraud Status in portal
  • Spending insights Status in portal
  • Spending power Status in portal
  • Future patterns Status in portal
Open the API

Build with the house.

Sandbox keys come with the beta; production review follows. Get the team you have, integrating with the team you wish you had.