Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API
keys.list

Method

keys.list

List your API keys.

Details

Endpoint
GET /v0/keys
Credits
Free
Rate class
Light. Counts against your light requests per second.

Lists the active keys of the signed-in account with name, created and last used times and access rules. The key secret is never shown again after it is created. Needs a session token from POST /v0/auth/verify.

Parameters

This method takes no parameters.

Request

Send your key in the x-api-key header, or leave it out to use the keyless tier.

curl
curl "https://api.tide.ad/v0/keys" \
  -H "x-api-key: YOUR_API_KEY"
TypeScript
const res = await fetch("https://api.tide.ad/v0/keys", {
  headers: {
    "x-api-key": process.env.TIDE_API_KEY!,
  },
});
const data = await res.json();

Response

JSON
{
  "items": [
    {
      "id": "kid_abc123",
      "name": "backend",
      "createdMs": 1793700000000,
      "lastUsedMs": null,
      "allowedOrigins": [],
      "allowedIps": [],
      "agent": false
    }
  ],
  "limit": 3
}