Automatyzacja i własne · 22 operacji
Konto i portfel — API
Klucze, saldo i księga portfela, analityka, afiliacja, health.
Narzędzia Klucz API
Operacje
| Metoda | Ścieżka | Opis |
|---|---|---|
| GET | /affiliates/commissions | Get commission history and payouts for the user |
| GET | /affiliates/me | Fetch or initialize the authenticated user affiliate referral profile |
| GET | /affiliates/referrals | Get list of users referred by the current user |
| GET | /analytics/endpoints | Get request volume and token costs broken down by endpoint |
| GET | /analytics/logs | Get granular real-time execution logs for the authenticated user |
| GET | /analytics/summary | Get aggregated API usage statistics for the current user over a given timeframe |
| GET | /auth/keys | Retrieve all active and revoked API keys for the current user |
| POST | /auth/keys | Generate a new API key for external gateway requests |
| POST | /auth/keys/castomo | Mint a castomAPI key for a caller already signed in to castomo (castomapi-auth) |
| DELETE | /auth/keys/{id} | Revoke an active API key immediately |
| POST | /auth/login | Authenticate with email and password to obtain a JWT token |
| POST | /auth/register | Register a new user account and initialize a wallet |
| POST | /auth/session/castomo | Exchange a castomo access token for a short-lived castomAPI session (JWT, 15 minutes) on the castomAPI account matching the verified castomo email |
| GET | /health | Deep health check verifying connectivity to PostgreSQL, Redis, and ClickHouse |
| GET | /health/liveness | Liveness check indicating if the Node.js process is running |
| GET | /hello | Public Hello World endpoint (Free & unauthenticated, recorded in telemetry) |
| GET | /products | List active purchasable token bundles/subscriptions |
| POST | /stripe/checkout | Create a Stripe Checkout session for purchasing a token bundle or subscription |
| POST | /stripe/webhook | Stripe webhook receiver for handling asynchronous payment completions |
| POST | /v1/feedback | Submit a bug report or feedback from a first-party client (free, no tokens) |
| GET | /wallet/balance | Get current wallet token balance for authenticated user |
| GET | /wallet/ledger | Get paginated audit ledger of wallet transactions (credits & debits) |
Koszt i limity
Ta operacja kosztuje rozliczany. Nieudane wywołanie nigdy nie jest rozliczane. Każde konto dostaje 1000 darmowych tokenów miesięcznie; opłacone saldo nie wygasa.
Limity żądań na minutę
Bez klucza 10 · Free 60 · Pro 300 · Enterprise 1200 ·
Automatyzacja i własne
Mock
Wykonaj definicję makiety i dostań deterministyczną odpowiedź do testów i dem.
Eksport ekosystemu
Generuj natywne pakiety węzłów społecznościowych dla n8n i Make z dowolnego zestawu endpointów.
Własne endpointy
Wgraj JavaScript, dostań adres. Działa w izolowanej piaskownicy V8, rozliczany z tego samego portfela.