Skip to main content
Use these endpoints to manage the API keys on your account. All endpoints require authentication via an existing API key. REST base URL: https://api.solami.fast

List API keys

Retrieve all API keys associated with your account.
GET /v1/keys
curl "https://api.solami.fast/v1/keys?api_key=YOUR_API_KEY"

Response

[
  {
    "id": "key_abc123",
    "name": "Production RPC",
    "type": "RpcKey",
    "created_at": 1700000000,
    "last_used": 1700001000
  },
  {
    "id": "key_def456",
    "name": "gRPC Streaming",
    "type": "GrpcKey",
    "created_at": 1700010000,
    "last_used": null
  }
]
id
string
Unique identifier for the key. Use this value when deleting a key.
name
string
Human-readable label you assigned at creation time.
type
string
Key type. One of ApiKey, RpcKey, GrpcKey, or SwqosKey.
created_at
number
Unix timestamp (seconds) when the key was created.
last_used
number | null
Unix timestamp (seconds) of the most recent request made with this key. null if the key has never been used.

Create an API key

Create a new API key on your account.
POST /v1/keys

Request body

name
string
required
A human-readable label for the key (e.g. "Production RPC").
type
string
required
The key type. Determines which endpoints the key can access.
ValueAccess
ApiKeyREST management endpoints
RpcKeyJSON-RPC and WebSocket endpoints
GrpcKeygRPC streaming endpoint
SwqosKeysendTransaction with SWQoS routing
curl "https://api.solami.fast/v1/keys?api_key=YOUR_API_KEY" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Production RPC",
    "type": "RpcKey"
  }'

Response

{
  "id": "key_abc123",
  "type": "RpcKey",
  "api_key": "sk_live_xxxxxxxxxxxxxxxxxxxxxxxx"
}
id
string
Unique identifier for the newly created key.
type
string
The key type you specified.
api_key
string
The raw key value to use in requests.
The api_key value is returned only once at creation time. Copy it immediately and store it somewhere secure — you cannot retrieve it again.

Delete an API key

Permanently revoke an API key. All requests using this key will fail immediately after deletion.
DELETE /v1/keys/{id}
id
string
required
The key ID returned by List API keys or Create an API key.
curl "https://api.solami.fast/v1/keys/key_abc123?api_key=YOUR_API_KEY" \
  -X DELETE

Response

{
  "success": true
}
Deletion is immediate and irreversible. Make sure no running services depend on the key before you delete it.