> For a complete index of Agora Finance documentation, fetch https://docs.agora.finance/llms.txt

# List Accounts

GET https://api.sandbox.agora.finance/v0/accounts

List every account registered to the authenticated organization. An account is either a bank account (fiat source/destination) or a blockchain wallet (on-chain source/destination); both appear in the same paginated list, distinguished by the `kind` discriminator.

Wallet accounts carry a `networks` array, one entry per network, each with its `entitlements` and their status (see [Wallet entitlements](/api/endpoints/accounts/overview#wallet-entitlements)). Bank accounts return the full `accountNumber` alongside `routingNumber`, `bankName`, and the `beneficiary` name on the wire.

Narrow the list with `kind`, `network`, and a `createdAt` range; every filter you send must hold (see [Filtering list endpoints](/api#filtering-list-endpoints)). `network` matches wallets only, so pairing it with `kind=bank` returns an empty page.


Reference: https://docs.agora.finance/api/endpoints/accounts/get

## Authentication

- `Authorization` header (bearer token, required) — Session JWT from `POST /v0/auth/token`, sent as `Authorization: Bearer <sessionJwt>`. See [Authentication](/api/authentication) for more details.

## Request

### Query parameters

- `cursor` (string, optional) — Opaque pagination cursor. Pass the `nextCursor` from the previous response; omit to fetch the first page.
- `limit` (integer, optional, default: 50) — Page size. Defaults to 50; capped at 200.
- `createdAt.gt` (datetime, optional) — Exclusive lower bound on when the account was added, as an ISO-8601 timestamp.
- `createdAt.gte` (datetime, optional) — Inclusive lower bound on when the account was added, as an ISO-8601 timestamp.
- `createdAt.lt` (datetime, optional) — Exclusive upper bound on when the account was added, as an ISO-8601 timestamp. Pairs with `createdAt.gte` to select a period without depending on its last instant.
- `createdAt.lte` (datetime, optional) — Inclusive upper bound on when the account was added, as an ISO-8601 timestamp.
- `kind` (enum, optional) — Return only accounts of this kind.
  - Allowed values: `bank`, `wallet`
- `network` (list of enum, optional) — Return only wallets registered on any of these networks, comma-separated. Registration is independent of entitlement state, so a wallet whose entitlement on a network was rejected or removed still matches; read `networks[].entitlements` for the current state. Bank accounts carry no network and are never matched by this filter.
  - Allowed values: `avalanche-fuji`, `ethereum-sepolia`

## Response

### 200

OK

- `data` (list of V0AccountsGetResponsesContentApplicationJsonSchemaDataItems, required) — Page of accounts, newest first, tie-broken by id.
- `nextCursor` (string, required, nullable) — Opaque cursor for the next page. Pass back verbatim as the `cursor` query param to fetch the next page; null when no more results.

## Errors

### 400 Bad Request Error

One or more request parameters are invalid.

- `code` (enum, required)
  - Allowed values: `parameter_invalid`
- `docs_url` (string, required)
- `message` (string, required)
- `context` (ErrorResponse400ParameterInvalidContext, optional)

### 401 Unauthorized Error

Authentication is required.

- `code` (enum, required)
  - Allowed values: `unauthorized`
- `docs_url` (string, required)
- `message` (string, required)
- `context` (ErrorResponse401UnauthorizedContext, optional)

### 403 Forbidden Error

- `account_not_eligible`: The account is not eligible for this request. - `account_not_provisioned`: The account is not provisioned for this product. - `account_verification_pending`: Account verification for this product is pending. - `forbidden`: Access to this resource is forbidden.

- `code` (enum, required)
  - Allowed values: `account_not_eligible`, `account_not_provisioned`, `account_verification_pending`, `forbidden`
- `docs_url` (string, required)
- `message` (string, required)

### 404 Not Found Error

Resource not found.

- `code` (enum, required)
  - Allowed values: `not_found`
- `docs_url` (string, required)
- `message` (string, required)

### 429 Too Many Requests Error

Too many requests.

- `code` (enum, required)
  - Allowed values: `rate_limit_exceeded`
- `docs_url` (string, required)
- `message` (string, required)

### 500 Internal Server Error

An unexpected error occurred.

- `code` (enum, required)
  - Allowed values: `internal_error`
- `docs_url` (string, required)
- `message` (string, required)

## Types

### V0AccountsGetResponsesContentApplicationJsonSchemaDataItems

- Wallet: Wallet
- Bank Account: Bank Account

### ErrorResponse400ParameterInvalidContext

- `issues` (list of ErrorResponse400ParameterInvalidContextIssuesItems, required)

### ErrorResponse401UnauthorizedContext

- `reason` (enum, required)
  - Allowed values: `invalid_token`, `key_not_provisioned`, `missing_claim`, `missing_header`, `token_expired`, `token_paused`, `token_revoked`, `unknown_tenant`

### Wallet

Customer-owned blockchain address (CustomerAddress).

- `id` (string, required) — Stable UUID identifying this account; safe to cache or display.
- `address` (string, required) — On-chain address. EIP-55 checksummed for EVM (`ethereum`), base58 for Solana.
- `addressFormat` (enum, required) — Address syntax family. `ethereum` covers every EVM chain (Ethereum, Base, Polygon, Arbitrum, etc.); per-chain authorization is enforced separately via the account's chain entitlements.
  - Allowed values: `ethereum`
- `createdAt` (datetime, required) — ISO-8601 UTC timestamp when this address was added to the org.
- `kind` (enum, required) — Discriminator: this is a customer-owned blockchain address.
  - Allowed values: `wallet`
- `name` (string, required) — User-set label. Free-form; may be empty if the user hasn't set one.
- `networks` (list of V0AccountsGetResponsesContentApplicationJsonSchemaDataItemsOneOf0NetworksItems, required) — The networks this address is registered on, each with its per-type entitlement states.

### Bank Account

Customer-owned bank account (WireDetail).

- `id` (string, required) — Stable UUID identifying this account; safe to cache or display.
- `accountNumber` (string, required) — Full bank account number.
- `bankName` (string, required) — Name of the receiving bank.
- `beneficiary` (string, required) — Account-holder name on the wire. Part of the account's identity: distinguishes accounts that share a routing + account number (e.g. omnibus/custodian accounts holding several funds under one account number).
- `createdAt` (datetime, required) — ISO-8601 UTC timestamp when this account was added to the org.
- `currency` (enum, required) — Settlement currency. Today only `usd`; will extend as new currencies launch.
  - Allowed values: `usd`
- `kind` (enum, required) — Discriminator: this is a customer-owned bank account.
  - Allowed values: `bank`
- `name` (string, required) — User-set label. Free-form; may be empty if the user hasn't set one.
- `routingNumber` (string, required) — ABA routing number identifying the receiving bank. A public bank identifier, returned in full.

### ErrorResponse400ParameterInvalidContextIssuesItems

- `field` (string, required)
- `message` (string, required)

### V0AccountsGetResponsesContentApplicationJsonSchemaDataItemsOneOf0NetworksItems

Per-network entitlement state for the wallet.

- `chain` (enum, required) — Network the wallet is registered on (kebab-case public network id).
  - Allowed values: `avalanche-fuji`, `ethereum-sepolia`
- `entitlements` (list of V0AccountsGetResponsesContentApplicationJsonSchemaDataItemsOneOf0NetworksItemsEntitlementsItems, required) — Entitlement states on this network, one per type the wallet holds on the chain.

### V0AccountsGetResponsesContentApplicationJsonSchemaDataItemsOneOf0NetworksItemsEntitlementsItems

- `type` (enum, required) — Entitlement type. `mint` is the mint capability gated by the per-chain compliance scan; `instant_settlement` is the instant-settlement whitelist; `rewards` is rewards eligibility.
  - Allowed values: `instant_settlement`, `mint`, `rewards`
- `status` (enum, required) — Entitlement status. `approved` is active. A new wallet's `mint` entitlement starts as `conditionally_approved`, which is already usable. In the sandbox, every entitlement awaiting review is approved automatically within about a minute. Nothing is rejected.
  - Allowed values: `approved`, `conditionally_approved`, `pending_approval`, `pending_removal`, `rejected`, `removed`

## Examples

### All accounts

**Response**

```json
{
  "data": [
    {
      "accountNumber": "483910277",
      "bankName": "JPMorgan Chase",
      "beneficiary": "Acme Corp Operating",
      "createdAt": "2026-04-02T14:12:00Z",
      "currency": "usd",
      "id": "8b3e4f12-9a7c-4d8e-b1f0-2c5d6e7a8b9c",
      "kind": "bank",
      "name": "Operating USD wire",
      "routingNumber": "021000021"
    },
    {
      "address": "0xf5e6d7c8b9a0f5e6d7c8b9a0f5e6d7c8b9a0f5e6",
      "addressFormat": "ethereum",
      "createdAt": "2026-04-02T14:15:00Z",
      "id": "7f3a1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
      "kind": "wallet",
      "name": "ETH treasury",
      "networks": [
        {
          "chain": "ethereum-sepolia",
          "entitlements": [
            {
              "status": "approved",
              "type": "mint"
            },
            {
              "status": "pending_approval",
              "type": "instant_settlement"
            }
          ]
        }
      ]
    }
  ],
  "nextCursor": null
}
```

**SDK Code**

```python All accounts
import requests

url = "https://api.sandbox.agora.finance/v0/accounts"

querystring = {"limit":"50"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript All accounts
const url = 'https://api.sandbox.agora.finance/v0/accounts?limit=50';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go All accounts
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.sandbox.agora.finance/v0/accounts?limit=50"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby All accounts
require 'uri'
require 'net/http'

url = URI("https://api.sandbox.agora.finance/v0/accounts?limit=50")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java All accounts
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.sandbox.agora.finance/v0/accounts?limit=50")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php All accounts
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.sandbox.agora.finance/v0/accounts?limit=50', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp All accounts
using RestSharp;

var client = new RestClient("https://api.sandbox.agora.finance/v0/accounts?limit=50");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift All accounts
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.sandbox.agora.finance/v0/accounts?limit=50")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Filtered

**Response**

```json
{
  "data": [
    {
      "address": "0xf5e6d7c8b9a0f5e6d7c8b9a0f5e6d7c8b9a0f5e6",
      "addressFormat": "ethereum",
      "createdAt": "2026-04-02T14:15:00Z",
      "id": "7f3a1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
      "kind": "wallet",
      "name": "ETH treasury",
      "networks": [
        {
          "chain": "ethereum-sepolia",
          "entitlements": [
            {
              "status": "approved",
              "type": "mint"
            },
            {
              "status": "pending_approval",
              "type": "instant_settlement"
            }
          ]
        }
      ]
    }
  ],
  "nextCursor": null
}
```

**SDK Code**

```python Filtered
import requests

url = "https://api.sandbox.agora.finance/v0/accounts"

querystring = {"kind":"wallet","network":"ethereum-sepolia"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Filtered
const url = 'https://api.sandbox.agora.finance/v0/accounts?kind=wallet&network=ethereum-sepolia';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Filtered
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.sandbox.agora.finance/v0/accounts?kind=wallet&network=ethereum-sepolia"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Filtered
require 'uri'
require 'net/http'

url = URI("https://api.sandbox.agora.finance/v0/accounts?kind=wallet&network=ethereum-sepolia")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Filtered
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.sandbox.agora.finance/v0/accounts?kind=wallet&network=ethereum-sepolia")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Filtered
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.sandbox.agora.finance/v0/accounts?kind=wallet&network=ethereum-sepolia', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Filtered
using RestSharp;

var client = new RestClient("https://api.sandbox.agora.finance/v0/accounts?kind=wallet&network=ethereum-sepolia");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Filtered
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.sandbox.agora.finance/v0/accounts?kind=wallet&network=ethereum-sepolia")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```