Surface:
https://api.aegis-kyt.com/v2/*
Both surfaces run the SAME Aegis 4-tier engine and return the same
single Aegis verdict. Pick whichever fits your usage model.
Pricing vs x402 — same logic, different channels
Some V2 endpoints return data that x402 also sells. The compute is identical (same SQL, same Python aggregator) — what differs is the settlement rail:
Most direct overlap:
Practical consequence: if you’re a partner wallet putting a screen
behind every “send to address” prompt for your users — use the V2
API. x402 is for callers who don’t have an account relationship
with us.
Quickstart
Endpoints
Billing is per your plan / commercial agreement.
See the per-endpoint pages for full request/response shapes.
Authentication
- One active key per user.
- Plaintext shown once at creation. Server stores SHA-256 only.
- Revoke / rotate via
/account?tab=apiin your kabinet. - Missing or invalid key → HTTP 401.
Billing
Every call is priced in credits and debited from your account balance. 1 credit = 1 unit of your balance = 1 USDT of top-up, so the numbers match x402’s USDC prices:
Top up in USDT on TRON at app.aegis-kyt.com/topup: 10 USDT → 11 credits,
50 → 60, 100 → 125 (the bonus grows with the amount). Credits never expire.
- Polling a result is free; repeated polls of the same check are not charged again.
- Unsupported networks are rejected before any charge.
- Insufficient balance → HTTP 402
code: insufficient_funds. The 402 body carriesbalance_credits/requested_creditsnext tobalance_usd/requested_usd(same values); its human-readablemessagestill prints$amounts, so parse the numeric fields, not the message. - Optional monthly cap exceeded → HTTP 402
code: monthly_cap_exceeded. - Balance and spend:
GET /v2/balanceorGET /v2/me/usage; live prices:GET /v2/networks→prices_credits(same numbers asprices_usd). - Every
billingblock carriescredits_charged,credits_balance,credits_monthly_spent,credits_monthly_capandunit: "credits"alongside the unchanged*_usdfields — see the changelog. No field was renamed or removed.
Refunds
Idempotency-Key
SendIdempotency-Key: <≤64 chars> header to make retries safe:
- Same key + same body within 24h → cached response, no charge
- Same key + DIFFERENT body → HTTP 409
idempotency_conflict

