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

# List Routes

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

Return every route on the authenticated organization. Each route includes the full `instructions` block so callers can resolve memos and mint/redeem addresses without an additional retrieve.

Narrow the list with `fromCurrency`, `toCurrency`, `toChain`, and `toAccountId`; every filter you send must hold (see [Filtering list endpoints](/api#filtering-list-endpoints)). `toChain` matches on-chain destinations only, so a redeem-to-fiat route never matches it.


Reference: https://docs.agora.finance/api/endpoints/routes/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.
- `fromCurrency` (enum, optional) — Return only routes with this source currency. The `stablecoin` wildcard matches routes stored against the wildcard; it does not expand to the individual stablecoins it covers.
  - Allowed values: `ausd`, `usd`, `ctk`
- `direction` (list of enum, optional) — Return only routes in any of these directions, comma-separated. Omit for every direction the caller can read. This is how 'every redeem regardless of token' is spelled: `direction=redeem-fiat,redeem-stablecoin`.
  - Allowed values: `mint-fiat`, `mint-stablecoin`, `redeem-fiat`, `redeem-stablecoin`
- `toAccountId` (string, optional) — Return only routes pointing at this registered account. A well-formed id belonging to another organization, or to nothing, returns an empty page rather than an error.
- `toChain` (list of enum, optional) — Return only routes landing on any of these chains, comma-separated. Fiat and wire destinations carry no chain and are never matched by this filter.
  - Allowed values: `avalanche-fuji`, `ethereum-sepolia`
- `toCurrency` (enum, optional) — Return only routes with this destination currency.
  - Allowed values: `ausd`, `usd`, `ctk`

## Response

### 200

OK

- `data` (list of V0RoutesGetResponsesContentApplicationJsonSchemaDataItems, required) — Page of routes, 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

### V0RoutesGetResponsesContentApplicationJsonSchemaDataItems

- `id` (string, required) — Deterministic route UUID; same canonical inputs always derive the same id.
- `createdAt` (datetime, required)
- `direction` (enum, required) — Which of the four flows this route is.
  - Allowed values: `mint-fiat`, `mint-stablecoin`, `redeem-fiat`, `redeem-stablecoin`
- `to` (V0RoutesGetResponsesContentApplicationJsonSchemaDataItemsTo, required)
- `instructions` (list of V0RoutesGetResponsesContentApplicationJsonSchemaDataItemsInstructionsItems, required) — Next-step instructions. Mint-fiat: one wire instruction with memo + beneficiary. On-chain directions: one deposit address per supported chain, alphabetical by chain.
- `name` (string, optional, nullable) — User-set label, or null when unset.

### 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`

### V0RoutesGetResponsesContentApplicationJsonSchemaDataItemsTo

- `currency` (enum, required) — Currency identifier.
  - Allowed values: `ausd`, `usd`, `ctk`
- `accountId` (string, required)
- `chain` (enum, optional) — Route chain (kebab-case). Restricted to chains Agora supports for routes (EVM + Solana).
  - Allowed values: `avalanche-fuji`, `ethereum-sepolia`

### V0RoutesGetResponsesContentApplicationJsonSchemaDataItemsInstructionsItems

- V0RoutesGetResponsesContentApplicationJsonSchemaDataItemsInstructionsItems0
- V0RoutesGetResponsesContentApplicationJsonSchemaDataItemsInstructionsItems1

### ErrorResponse400ParameterInvalidContextIssuesItems

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

### V0RoutesGetResponsesContentApplicationJsonSchemaDataItemsInstructionsItems0

- `memo` (string, required) — Memo / reference field that uniquely identifies the route on the inbound wire.
- `beneficiaryName` (string, required)
- `beneficiaryAddress` (string, required)
- `accountNumber` (string, required)
- `bankName` (string, required)
- `bankAddress` (string, required)
- `routingNumber` (string, required)
- `supportedCurrencies` (list of enum, required) — Currencies this wire instruction accepts
  - Allowed values: `ausd`, `usd`, `ctk`
- `swiftCode` (string, optional)

### V0RoutesGetResponsesContentApplicationJsonSchemaDataItemsInstructionsItems1

- `chain` (enum, required) — Route chain (kebab-case). Restricted to chains Agora supports for routes (EVM + Solana).
  - Allowed values: `avalanche-fuji`, `ethereum-sepolia`
- `depositAddress` (string, required)
- `supportedCurrencies` (list of enum, required) — Currencies the deposit address accepts
  - Allowed values: `ausd`, `usd`, `ctk`

## Examples

### All routes

**Response**

```json
{
  "data": [
    {
      "id": "5a8e9f12-1b2c-4d3e-9f0a-1b2c3d4e5f6a",
      "createdAt": "2026-05-13T18:00:00Z",
      "to": {
        "currency": "ausd",
        "accountId": "7f3a1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
        "chain": "ethereum-sepolia"
      },
      "instructions": [
        {
          "accountNumber": "00000000",
          "bankAddress": "0 Nowhere Street, Example City, XX 00000, SANDBOX",
          "bankName": "SANDBOX TEST BANK, NOT A REAL BANK",
          "beneficiaryAddress": "0 Nowhere Street, Example City, XX 00000, SANDBOX",
          "beneficiaryName": "SANDBOX TEST ACCOUNT, NOT A REAL BENEFICIARY",
          "memo": "eth93e6c8",
          "routingNumber": "000000000",
          "supportedCurrencies": [
            "usd"
          ],
          "swiftCode": "SANDBOX0"
        }
      ],
      "name": "Operating wire → ETH treasury",
      "from": {
        "currency": "usd"
      }
    },
    {
      "id": "3d7e1a9b-c0d4-4e5f-86a7-b8c9d0e1f2a3",
      "createdAt": "2026-05-13T17:20:00Z",
      "to": {
        "currency": "usd",
        "accountId": "8b3e4f12-9a7c-4d8e-b1f0-2c5d6e7a8b9c"
      },
      "instructions": [
        {
          "chain": "ethereum-sepolia",
          "depositAddress": "0xdeadd7c8b9a0f5e6d7c8b9a0f5e6d7c8b9a0f5e6",
          "supportedCurrencies": [
            "ausd"
          ]
        }
      ],
      "name": null,
      "from": {
        "currency": "ausd"
      }
    }
  ],
  "nextCursor": "3d7e1a9b-c0d4-4e5f-86a7-b8c9d0e1f2a3"
}
```

**SDK Code**

```python All routes
import requests

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

querystring = {"limit":"50"}

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

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

print(response.json())
```

```javascript All routes
const url = 'https://api.sandbox.agora.finance/v0/routes?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 routes
package main

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

func main() {

	url := "https://api.sandbox.agora.finance/v0/routes?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 routes
require 'uri'
require 'net/http'

url = URI("https://api.sandbox.agora.finance/v0/routes?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 routes
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

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

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

$client = new \GuzzleHttp\Client();

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

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

```csharp All routes
using RestSharp;

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

```swift All routes
import Foundation

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.sandbox.agora.finance/v0/routes?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": [
    {
      "id": "5a8e9f12-1b2c-4d3e-9f0a-1b2c3d4e5f6a",
      "createdAt": "2026-05-13T18:00:00Z",
      "to": {
        "currency": "ausd",
        "accountId": "7f3a1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
        "chain": "ethereum-sepolia"
      },
      "instructions": [
        {
          "accountNumber": "00000000",
          "bankAddress": "0 Nowhere Street, Example City, XX 00000, SANDBOX",
          "bankName": "SANDBOX TEST BANK, NOT A REAL BANK",
          "beneficiaryAddress": "0 Nowhere Street, Example City, XX 00000, SANDBOX",
          "beneficiaryName": "SANDBOX TEST ACCOUNT, NOT A REAL BENEFICIARY",
          "memo": "eth93e6c8",
          "routingNumber": "000000000",
          "supportedCurrencies": [
            "usd"
          ],
          "swiftCode": "SANDBOX0"
        }
      ],
      "name": "Operating wire → ETH treasury",
      "from": {
        "currency": "usd"
      }
    }
  ],
  "nextCursor": null
}
```

**SDK Code**

```python Filtered
import requests

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

querystring = {"toChain":"ethereum-sepolia","toCurrency":"ausd"}

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/routes?toChain=ethereum-sepolia&toCurrency=ausd';
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/routes?toChain=ethereum-sepolia&toCurrency=ausd"

	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/routes?toChain=ethereum-sepolia&toCurrency=ausd")

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/routes?toChain=ethereum-sepolia&toCurrency=ausd")
  .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/routes?toChain=ethereum-sepolia&toCurrency=ausd', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp Filtered
using RestSharp;

var client = new RestClient("https://api.sandbox.agora.finance/v0/routes?toChain=ethereum-sepolia&toCurrency=ausd");
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/routes?toChain=ethereum-sepolia&toCurrency=ausd")! 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()
```