> ## 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：トラベルルールのディレクトリ

> Diditのウォレットウィジェット内のVASP選択を支える、トークンで認証するVASP検索です。各VASPの情報と、そのVASPに到達可能かどうかを返します。



ウィジェット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 ja/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: >-
        ウィジェットのセッショントークンで識別する公開の読み取りエンドポイントで、APIキーは不要です。エンドユーザーのウィジェットのVASP選択画面で使用されます。ウィジェットのアプリケーションに対してGET
        /v3/travel-rule/vasps/と同じ検索とフィルターを提供し、各VASPが誰であるか、および到達可能かどうかのみを返します。
      operationId: listTravelRuleWidgetVasps
      parameters:
        - name: token
          in: path
          required: true
          description: ウィジェットセッションの発行時に返される不透明なセッショントークンです。
          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: 不明なトークンです。
        '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: GET /v3/travel-rule/vasps/{vasp_id}/で使用するエントリの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.