Skip to main content
GET
/
private
/
get_access_log
cURL
curl --request GET \
  --url https://drb.coinbase.com/api/v2/private/get_access_log \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "private/get_access_log",
  "params": {
    "count": 3,
    "offset": 0
  }
}
'
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "data": [
      {
        "city": "Local Town",
        "country": "Local Country",
        "id": 45,
        "ip": "127.0.0.1",
        "result": "success",
        "timestamp": 1575876682576
      },
      {
        "city": "Local Town",
        "country": "Local Country",
        "id": 44,
        "ip": "127.0.0.1",
        "result": "success",
        "timestamp": 1575876459309
      },
      {
        "city": "Local Town",
        "country": "Local Country",
        "id": 43,
        "ip": "127.0.0.1",
        "result": "disabled_tfa",
        "timestamp": 1575546252774
      }
    ],
    "records_total": 34
  },
  "testnet": false,
  "usDiff": 1417,
  "usIn": 1575903572350348,
  "usOut": 1575903572351765
}

Query Parameters

offset
integer

The offset for pagination, default - 0

Example:

10

count
integer

Number of requested items, default - 10, maximum - 1000

Required range: 1 <= x <= 1000

Response

200 - application/json

Success response

jsonrpc
enum<string>
required

The JSON-RPC version (2.0)

Available options:
2.0
result
object[]
required
id
integer

The id that was sent in the request