Skip to main content
GET
List API Keys

Overview

Retrieve all API keys associated with your account. This endpoint provides comprehensive information about your API keys including their status, permissions, usage statistics, and configuration details.
Use this endpoint to monitor your API keys, check their status, and manage your API key inventory. The actual API key values are masked for security.

Parameters

string
Filter by API key status
  • active - Active API keys (default)
  • inactive - Inactive API keys
  • expired - Expired API keys
  • revoked - Revoked API keys
  • all - All API keys regardless of status
string
Filter by permission resource
  • identity - Identity management keys
  • scores - Score query keys
  • achievements - Achievement keys
  • trading - Trading data keys
  • trust - Trust layer keys
  • attestations - Attestation keys
  • all - All permissions
Search by API key name or description
string
Sort API keys by field
  • createdAt - By creation date (default)
  • lastUsed - By last use date
  • name - By name
  • usage - By usage count
string
Sort order
  • desc - Descending (default)
  • asc - Ascending
number
Number of API keys to return (default: 50, max: 100)
number
Number of API keys to skip for pagination (default: 0)
boolean
Include usage statistics (default: true)
boolean
Include webhook configurations (default: true)

Response

boolean
Indicates if the request was successful
array
Array of API key objects
object
Pagination information
object
API key summary statistics
string
ISO 8601 timestamp of the response

Examples

Response Example

Use Cases

1. API Key Management Dashboard

Create a comprehensive management dashboard:

2. Usage Analytics

Analyze API key usage patterns:

3. Permission Analysis

Analyze API key permissions:

4. Webhook Monitoring

Monitor webhook configurations:

5. Key Rotation Planning

Plan API key rotations:

Best Practices

1. Regular Monitoring

Monitor API keys regularly:

2. Automated Alerts

Set up automated alerts:

3. Key Lifecycle Management

Manage key lifecycle:

4. Usage Optimization

Optimize API key usage:

Troubleshooting

”No API keys found”

Cause: No API keys match the criteria or account has no keys. Solution:
  • Remove restrictive filters
  • Check if you have created any API keys
  • Verify your account has API key creation permissions

”Invalid status filter”

Cause: Unsupported status value. Solution:
  • Use supported statuses: active, inactive, expired, revoked, all
  • Check for typos

”Invalid permission filter”

Cause: Unsupported permission value. Solution:
  • Use supported permissions: identity, scores, achievements, trading, trust, attestations, all
  • Check for typos

Rate Limits

API key listing requests are subject to rate limits:
  • Free tier: 60 requests per minute
  • Starter tier: 300 requests per minute
  • Professional tier: 1,000 requests per minute
  • Enterprise tier: Custom limits
Implement caching to reduce API calls.