Docs

VASPs

The VASP directory used to identify counterparty institutions.

List VASPs

GET

https://sandbox.ospree.io/api/v2/directory/vasps

Retrieve a paginated and sortable list of VASP (Virtual Asset Service Provider) records from the directory.

Required API Key Scopes: directory:read

Parameters

Name

In

Type

Required

Description

page

query

integer

No

Default: 1.

size

query

integer

No

Default: 30.

sort

query

string | null

No

—

start_range

query

string (date) | null

No

—

end_range

query

string (date) | null

No

—

Responses

Status

Description

200

A page of VASP records from the directory.

401

Unauthorized

402

Payment Required

403

Forbidden - the API key does not have a Scope this operation requires

422

Unprocessable Entity - Validation Error

500

Internal Server Error

JSON

{
"status": "success",
"data": {
"items": [
{
"vasp_id": "MLESJF",
"name_legal": "Meridian Exchange Ltd",
"name_business": "Meridian",
"address_country_code": "SG",
"address_street_no": "1",
"address_street_name": "Raffles Place",
"address_city": "Singapore",
"address_region": "Central",
"address_postcode": "048616",
"website": "https://meridian.example",
"summary": "Regulated virtual asset exchange",
"supported_protocols": [
"trisa",
"trp"
],
"national_id_type_code": "LEIX",
"national_id": "5493001KJTIIGC8Y1R12"
}
],
"pagination": {
"total": 1,
"size": 50,
"page": 1
}
}
}

Search VASP

GET

https://sandbox.ospree.io/api/v2/directory/vasps/search

Search for VASP (Virtual Asset Service Provider) records using identifiers such as business or legal names. Returns an empty result set when no matching records are found.

To find the VASP behind a destination wallet, send wallet_address with the dti of the asset instead of search_term. The result lists the VASPs you can send to that claim the wallet, in the same shape as a name search, including supported_protocols; it is empty when no such VASP is known.

Required API Key Scopes: directory:read

Parameters

Name

In

Type

Required

Description

search_term

query

string | null

No

—

wallet_address

query

string | null

No

Find the VASPs you can send to that claim this wallet address. Requires `dti`; not combinable with `search_term`. Returns an empty list when no VASP claims the wallet.

dti

query

string | null

No

The Digital Token Identifier (ISO 24165) of the asset the wallet holds, e.g. `X9J9K872S` for Ether. Required with `wallet_address`; an unknown DTI is rejected with 422.

Responses

Status

Description

200

Matching VASPs. Unlike the account search, this one DOES use the `{status, data}` envelope.

401

Unauthorized

402

Payment Required

403

Forbidden - the API key does not have a Scope this operation requires

422

Unprocessable Entity - Validation Error

500

Internal Server Error

JSON

{
"status": "success",
"data": [
{
"vasp_id": "MLESJF",
"name_legal": "Meridian Exchange Ltd",
"name_business": "Meridian",
"address_country_code": "SG",
"address_street_no": "1",
"address_street_name": "Raffles Place",
"address_city": "Singapore",
"address_region": "Central",
"address_postcode": "048616",
"website": "https://meridian.example",
"summary": "Regulated virtual asset exchange",
"supported_protocols": [
"trisa",
"trp"
],
"national_id_type_code": "LEIX",
"national_id": "5493001KJTIIGC8Y1R12"
}
]
}

Retrieve VASP

GET

https://sandbox.ospree.io/api/v2/directory/vasps/{vasp_id}

Retrieve a specific VASP (Virtual Asset Service Provider) record from the directory using its unique identifier.

Required API Key Scopes: directory:read

Parameters

Name

In

Type

Required

Description

vasp_id

path

string

Yes

The unique identifier of the VASP (Virtual Asset Service Provider).

Responses

Status

Description

200

The VASP record.

401

Unauthorized

402

Payment Required

403

Forbidden - the API key does not have a Scope this operation requires

404

Not Found

500

Internal Server Error

JSON

{
"status": "success",
"data": {
"vasp_id": "MLESJF",
"name_legal": "Meridian Exchange Ltd",
"name_business": "Meridian",
"address_country_code": "SG",
"address_street_no": "1",
"address_street_name": "Raffles Place",
"address_city": "Singapore",
"address_region": "Central",
"address_postcode": "048616",
"website": "https://meridian.example",
"summary": "Regulated virtual asset exchange",
"supported_protocols": [
"trisa",
"trp"
],
"national_id_type_code": "LEIX",
"national_id": "5493001KJTIIGC8Y1R12"
}
}