Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Data → Get API Key Permissions

AI-generated

Summary

Fetch API key permissions from Coinbase CDP.

Inputs

  • requestOptions (required) — Options for making the request, including batching, SSL handling, proxy settings, and timeout.
  • requestOptions.batching.batchSize — Number of items per batch for throttling requests (default: 50). Set to -1 to disable.
  • requestOptions.batching.batchInterval — Interval in milliseconds between batch requests (default: 1000). Set to 0 to disable.
  • requestOptions.allowUnauthorizedCerts — Accept responses even if SSL certificate validation fails (default: false).
  • requestOptions.proxy — HTTP proxy to use for the requests.
  • requestOptions.timeout — Maximum time in milliseconds to wait for a response before aborting (default: 10000).

Output shape

a list of API key permissions

Response will include details on permissions granted to the API key; consider the batching options for large requests.

Examples

Example 1: Retrieve permissions for a specific API key.

Use request options to enable batching with 20 items per batch and a 2-second interval.

Example 2: Access permissions ignoring SSL issues.

Set 'allowUnauthorizedCerts' to true to fetch permissions despite SSL errors.

Discussion