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

# Create a Plaid Link token

> Returns a short-lived link_token the client passes to Plaid Link. Optionally scope which institutions Link shows by passing country_codes (e.g. the country of the customer being onboarded); defaults to all approved countries. After the user completes the flow, POST /account-connections with the returned public_token.



## OpenAPI

````yaml /api-reference/data-api.json post /v2/account-connections/plaid/link-token
openapi: 3.0.0
info:
  title: Range Data API
  description: >-
    The Range Data API for crypto addresses, networks, transactions, and
    entities.
  version: 1.7.9
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Entity Information
    description: Get information about entities.
  - name: Network Information
    description: Get information about networks.
  - name: Protocols
    description: Get information about cross-chain protocols.
  - name: Token transfers
    description: Get information about token transfers.
paths:
  /v2/account-connections/plaid/link-token:
    post:
      tags:
        - Account Connections
      summary: Create a Plaid Link token
      description: >-
        Returns a short-lived link_token the client passes to Plaid Link.
        Optionally scope which institutions Link shows by passing country_codes
        (e.g. the country of the customer being onboarded); defaults to all
        approved countries. After the user completes the flow, POST
        /account-connections with the returned public_token.
      operationId: createPlaidLinkToken
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePlaidLinkTokenDto'
      responses:
        '201':
          description: ''
components:
  schemas:
    CreatePlaidLinkTokenDto:
      type: object
      properties:
        country_codes:
          description: >-
            ISO 3166-1 alpha-2 country codes that scope which institutions Plaid
            Link shows (e.g. the country of the customer being onboarded). Must
            be a subset of the countries the Plaid account is approved for;
            defaults to all approved countries when omitted.
          example:
            - GB
          type: array
          items:
            type: string
  securitySchemes:
    Authorization:
      scheme: bearer
      bearerFormat: API Key
      description: 'Use Authorization: Bearer <api-key>'
      type: http

````