> ## Documentation Index
> Fetch the complete documentation index at: https://docs.didit.me/llms.txt
> Use this file to discover all available pages before exploring further.

# VASP 选择器 API：Travel Rule 目录搜索

> Didit 提供基于 token 的 VASP 搜索接口，为钱包组件的 VASP 选择器提供数据，显示每个 VASP 的基本信息及其是否可达。



Widget VASP 搜索 API 提示词
        将提示词复制到剪贴板



      
      

\<pre>

\`Search VASPs from a wallet widget session: the VASP picker an end user uses to say which exchange the funds go to.

Endpoint:
GET https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/?search=<term>

Authentication:
None - the widget token in the URL path is the credential. Treat the token as a secret.

Query parameters: the same as GET /v3/travel-rule/vasps/ (search, network, jurisdiction, reachable, kind, limit, offset), answered for the widget's application.

What to read from each result:
\- id, kind, name, lei, jurisdiction, domains - who the VASP is.
\- reachable - whether the application can deliver Travel Rule data to it today.
Routes, contacts and due-diligence fields are not shown to the end user.

Failure modes:
\- 400 - an unknown network or country code.
\- 404 - unknown token.
\- 410 - the session expired.

Full guide: /transaction-monitoring/travel-rule#directory.`

\</pre>



      
      

粘贴到



## OpenAPI

````yaml zh/openapi-25.json GET /v3/travel-rule/widget/{token}/vasps/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: 身份证件验证 API。使用 x-api-key 请求头进行身份验证。
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/travel-rule/widget/{token}/vasps/:
    get:
      tags:
        - Travel Rule
      summary: 从钱包组件搜索 VASP
      description: >-
        基于小部件会话 token 的公开读取 endpoint，无需 API 密钥：终端用户小部件的 VASP 选择器。提供与小部件所属应用的 GET
        /v3/travel-rule/vasps/ 相同的搜索和过滤器，仅返回各 VASP 的身份信息及其是否可达。
      operationId: listTravelRuleWidgetVasps
      parameters:
        - name: token
          in: path
          required: true
          description: 生成 widget 会话时返回的不透明会话 token。
          schema:
            type: string
        - name: search
          in: query
          schema:
            type: string
            maxLength: 255
          description: >-
            名称或别名片段（不区分大小写）、精确的 LEI 或域名（example.com 或其上的 URL）。Didit
            网络成员通过其法定名称、LEI 或合规邮箱的域名进行匹配。
        - name: network
          in: query
          schema:
            type: string
            enum:
              - GTR
              - TRUST
              - VERIFYVASP
              - SYGNA
              - TRISA
          description: 仅包含网络成员目录当前列出的目录条目。
        - name: jurisdiction
          in: query
          schema:
            type: string
          description: ISO 3166 alpha-2 或 alpha-3 国家/地区代码。任何其他代码均返回 400。
        - name: reachable
          in: query
          schema:
            type: boolean
          description: true：仅返回您的应用拥有可用路由的 VASP（包括 Didit 网络成员）。false：仅返回当前无法送达的目录条目。
        - name: kind
          in: query
          schema:
            type: string
            enum:
              - directory
              - didit
          description: 仅目录条目，或仅 Didit 网络成员。
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
            minimum: 1
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
            minimum: 0
      responses:
        '200':
          description: 按名称排序的分页结果。
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/VaspDirectoryWidgetEntry'
        '400':
          description: 过滤器无效：请求体列出了每个字段，例如未知的网络或国家/地区代码。
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
              example:
                jurisdiction:
                  - Use an ISO 3166 alpha-2 or alpha-3 country code.
                network:
                  - '"SWIFT" is not a valid choice.'
        '404':
          description: 未知的 token。
        '410':
          description: 会话已过期。
      security:
        - {}
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl
            'https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/?search=counterparty'
components:
  schemas:
    VaspDirectoryWidgetEntry:
      type: object
      description: 终端用户的 VASP 选择器显示的内容：该 VASP 是谁以及是否可达。
      properties:
        id:
          type: string
          format: uuid
          description: 条目 ID，用于 GET /v3/travel-rule/vasps/{vasp_id}/。
        kind:
          type: string
          enum:
            - directory
            - didit
          description: directory 表示共享目录条目；didit 表示 Didit 网络成员。
        name:
          type: string
        lei:
          type: string
        jurisdiction:
          type: string
          description: 数据源所提供的 ISO 3166 国家/地区代码。
        domains:
          type: array
          items:
            type: string
          description: VASP 的 Web 域名。对于 Didit 网络成员始终为空。
        reachable:
          type: boolean
          description: 您的应用是否有通往该 VASP 或其某个品牌实体的可用路由。对于 Didit 网络成员始终为 true。

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.