Synthwav / Authentication and Scopes

Authentication and Scopes

Send the partner key in every request:

x-api-key: sw_tip_your_key

Keys are shown once when issued. Store the key in a server-side secret manager or encrypted environment variable. Never embed it in browser JavaScript, a mobile bundle, a public repository, logs, analytics, or support screenshots.

Treat each key as a bearer credential for one partner integration. Do not share a key with another protocol. A shared key will technically work from both systems, but both systems will appear as the same partner, use the same scopes, share one rate-limit bucket, and produce combined usage logs. Request a separate key for every protocol or integration. If a key is shared or exposed, rotate it immediately.

Scopes

ScopeAccess
tip:tokens:readToken search and core token data.
tip:analysis:readStored Token Analysis state and data. Required by profile and batch endpoints.
tip:history:readMetadata history when history is explicitly requested.
tip:metadata:submitReserved for a future metadata submission API.

Endpoint requirements:

EndpointRequired scopes
Searchtip:tokens:read
Single profiletip:tokens:read, tip:analysis:read
Batch profilestip:tokens:read, tip:analysis:read
Any request including historyBase endpoint scopes plus tip:history:read

Authentication failures

Missing keys return 401 API_KEY_REQUIRED. Malformed, unknown, expired, or revoked keys return 401 API_KEY_INVALID. Missing scopes return 403 INSUFFICIENT_SCOPE.

Owner administrators can update the scopes on an active key in Admin Control without rotating it. The key value, expiration, rate limit, and any unedited scopes are preserved.

Partner authentication fails closed. If the authentication store cannot be verified, the API returns 503 PARTNER_AUTH_UNAVAILABLE and does not expose profile data.

Synthwav Portal API access never grants token metadata editing rights. Token Authority and Steward permissions are verified separately through the TIP editor.

Rotation and revocation

Keys have an expiration date and can be rotated or revoked by SynthwavLabs. Rotation invalidates the previous key and produces a new secret. Applications should support replacing the key without code changes.

Owners of self-service keys can create, rotate, and revoke their own keys in Manage Portal API after verifying their connected wallet. Rotation preserves the original key expiry and immediately revokes the old secret. Admin-issued keys remain managed by SynthwavLabs.

Self-service subscriptions

Self-service access costs $20 per calendar month or $200 per calendar year, payable in SUPRAWR. One subscription covers all self-service keys owned by the paying wallet. Current fees, recipient, and terms are shown before checkout and can be changed by the owner administrator under Admin Control → API → Self-Service API Settings.

The workspace creates a ten-minute quote using fresh SUPRAWR pricing. The user accepts the current terms, reviews the quoted token amount and recipient, then approves the transfer in their wallet. SUPRA is also needed for transaction gas. Transfers are verified against their actual sender, network, token, recipient store, amount, sequence, and confirmation time. The same transaction cannot purchase access twice. If confirmation is pending, retry verification rather than sending another payment; non-secret quote and transaction identifiers are saved per wallet for recovery.

Monthly and yearly payments are prepaid renewals. Each requires wallet approval. Early renewal extends from the current paid-through date; expired subscriptions restart from the payment's confirmation time. Calendar periods use UTC, with month-end and leap-day dates clamped to the last valid day. Previously paid time is preserved when prices, recipients, or terms change; outstanding valid quotes keep their accepted settings.

Self-service keys have tip:tokens:read and tip:analysis:read, a shared 100 requests per 60 seconds limit per wallet, and a separate one-year key expiry. API requests require both an unexpired key and active paid access. Expired subscriptions return 402 API_SUBSCRIPTION_REQUIRED; renew to restore access to unexpired keys. Creating more keys does not multiply the wallet's limit. Existing admin-issued keys keep their configured scopes, limits, and expiry and do not inherit the self-service subscription requirement.

Developer workspace

Open Manage Portal API to manage your verified wallet's self-service account or inspect an existing key's assigned scopes, rate-limit tier, expiration, and recorded partner usage. A pasted key is held only in page memory and is cleared on reload, key disconnect, or wallet change. Connecting a wallet alone does not grant paid API access. Newly issued secrets are shown once and are never saved to browser storage.

Usage covers all keys for the authenticated partner, with daily UTC totals and 1, 7, or 30 day views. The workspace reuses the API's existing usage records. Invalid or missing-key requests cannot be attributed to a partner. Workspace reads consume the partner's rate-limit window but are not added to token-endpoint usage totals.

Error diagnostics show aggregate HTTP status counts; individual request logs are not retained by the workspace. Scope and limit changes remain managed by SynthwavLabs. The Support section opens an email draft for these requests; never include your raw API key. Admin Control tracks both issuance sources, with Both, Self-Service, and Admin Issued filters. Historical keys without a source field are classified as admin-issued.

Get Help