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

# Get Screening Routing

> Returns the order your workspace's v3 address screens try providers in, with the providers you can use and warnings about the order.

`provider_order` is the order your workspace's screens try providers in. It is `["range"]` unless you changed it with [Set Screening Routing](https://docs.range.org/risk-api/risk-v3/update-config.md). This call is free: it costs no credits.

| Field | Meaning |
| - | - |
| `provider_order` | The providers a screen tries, in order. The first one that can answer does, and the rest are not asked. `range` is always in it. |
| `screening_provider` | Deprecated: use `provider_order`. The first provider other than `range` in the order, or `range` when there is none. |
| `warnings` | What to know for the order to work as expected. Empty when the order is `["range"]`. |
| `providers` | Every provider Range screens with, and whether your workspace has connected it: the same list as [List Screening Providers](https://docs.range.org/risk-api/risk-v3/list-providers.md). |

`warnings` can say one of two things:

* A provider in your order is connected: pass `network` whenever the address format does not name one chain, because a provider screens one network per call.
* A provider in your order has no connection: screens skip it, and its result reads `outcome: provider-missing`. Create the connection or remove the provider from `provider_order`.

Match warnings as whole strings. New warnings can appear.

Risk thresholds are not part of this setting: they stay on [Get Risk Configuration](https://docs.range.org/risk-api/risk-v2/get-config.md) (v2).


## OpenAPI

````yaml api-reference/risk-api.json get /v3/risk/config
openapi: 3.0.0
info:
  title: Range Risk API
  description: The Range Risk API for risk assessment of crypto addresses.
  version: 1.7.39
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Bearer: []
tags:
  - name: Risk
    description: Get risk information about a crypto address.
  - name: Risk v2
    description: >-
      Address risk assessment, workspace configuration, and signals catalogue
      (API v2).
  - name: Simulator
    description: Simulate a transaction on a network.
paths:
  /v3/risk/config:
    get:
      tags:
        - Risk v3
      summary: Get v3 routing configuration
      description: >-
        The order this workspace’s screens try providers in (`provider_order`),
        and the providers it can use. Risk thresholds stay on GET
        /v2/risk/config. Free: this call costs no credits.
      operationId: getRoutingConfig
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RiskV3ConfigDto'
        '401':
          description: >-
            Missing or invalid credentials. A key that was checked and refused
            carries `code: unauthorized`. A request refused before it reaches
            the route (no API key at all, or an incomplete session) carries no
            `code`: handle it by its status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RiskV3ErrorResponseCodeOptionalDto'
        '429':
          description: Too many requests for this key (`rate_limited`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RiskV3ErrorResponseDto'
        '500':
          description: >-
            Unexpected failure; retry later. An error Range raised itself
            carries `code: internal_error`; any other carries only `statusCode`
            and `message`. Nothing is charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RiskV3ErrorResponseCodeOptionalDto'
components:
  schemas:
    RiskV3ConfigDto:
      type: object
      properties:
        provider_order:
          type: array
          x-extensible-enum: true
          example:
            - range
          description: >-
            The order this workspace’s screens try providers in. The first
            provider that can answer does; the rest are not asked. `range` is
            always in the order.
          items:
            $ref: '#/components/schemas/ServableScreeningProviderId'
        screening_provider:
          x-extensible-enum: true
          example: range
          deprecated: true
          description: >-
            Deprecated: use `provider_order`. The first provider other than
            Range in the order, or `range` when it lists none.
          allOf:
            - $ref: '#/components/schemas/ServableScreeningProviderId'
        warnings:
          example: []
          description: >-
            What callers must know for this order to work as expected: that a
            provider screens one network per call, so `network` must be passed
            whenever the address format does not name one chain; or that a
            provider in the order has no connection, so screens skip it. Empty
            when the order is Range alone.
          type: array
          items:
            type: string
        providers:
          description: >-
            Every provider Range supports and whether this workspace has
            connected it (the same list as GET /v3/risk/providers).
          type: array
          items:
            $ref: '#/components/schemas/RiskProviderDto'
      required:
        - provider_order
        - screening_provider
        - warnings
        - providers
    RiskV3ErrorResponseCodeOptionalDto:
      type: object
      properties:
        statusCode:
          type: integer
          example: 400
        message:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
          example: >-
            network is required for this address: its format does not name one
            chain
          description: >-
            Human-readable and fixed per cause; a list when several query
            parameters failed validation. Do not parse it: branch on `code`.
        error:
          type: string
          example: Bad Request
        code:
          x-extensible-enum: true
          example: network_required
          description: >-
            Stable machine code for the cause. Open list: handle a code you do
            not know by its HTTP status.
          allOf:
            - $ref: '#/components/schemas/RiskV3ErrorCode'
        retry_after_seconds:
          type: integer
          nullable: true
          example: null
          description: >-
            Seconds until a retry can succeed, also sent as the `Retry-After`
            header. Null when retrying will not help or the wait is unknown.
      required:
        - statusCode
        - message
    RiskV3ErrorResponseDto:
      type: object
      properties:
        statusCode:
          type: integer
          example: 400
        error:
          type: string
          example: Bad Request
        message:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
          example: >-
            network is required for this address: its format does not name one
            chain
          description: >-
            Human-readable and fixed per cause; a list when several query
            parameters failed validation. Do not parse it: branch on `code`.
        code:
          x-extensible-enum: true
          example: network_required
          description: >-
            Stable machine code for the cause. Open list: handle a code you do
            not know by its HTTP status.
          allOf:
            - $ref: '#/components/schemas/RiskV3ErrorCode'
        retry_after_seconds:
          type: integer
          nullable: true
          example: null
          description: >-
            Seconds until a retry can succeed, also sent as the `Retry-After`
            header. Null when retrying will not help or the wait is unknown.
      required:
        - statusCode
        - error
        - message
        - code
        - retry_after_seconds
    ServableScreeningProviderId:
      type: string
      description: >-
        A provider id, as listed by GET /v3/risk/providers. Open list: Range may
        add values without a new contract version. Handle a value you do not
        know, never reject the response.
    RiskProviderDto:
      type: object
      properties:
        id:
          x-extensible-enum: true
          example: range
          allOf:
            - $ref: '#/components/schemas/ScreeningProviderId'
        name:
          type: string
          example: Range
        connectable:
          type: boolean
          example: true
          description: >-
            Whether a workspace can connect its own key for this provider. Range
            itself needs none.
        maturity:
          x-extensible-enum: true
          example: live_verified
          description: >-
            `live_verified`: checked against the provider’s live answers.
            `documented`: built from the provider’s published documentation and
            not yet checked live; its results carry a warning. `coming_soon`:
            not connectable yet.
          allOf:
            - $ref: '#/components/schemas/RiskProviderMaturity'
        key_check:
          x-extensible-enum: true
          nullable: true
          example: null
          description: >-
            When a connected key is checked: `probe`, when the connection is
            created; `first_screen`, by the first screen. Null when the provider
            takes no key.
          allOf:
            - $ref: '#/components/schemas/RiskProviderKeyCheck'
        credential_fields:
          type: array
          items:
            $ref: '#/components/schemas/RiskProviderCredentialFieldDto'
        docs_url:
          type: string
          example: null
          nullable: true
        connected:
          type: boolean
          example: false
          description: Whether this workspace holds a connection for the provider.
      required:
        - id
        - name
        - connectable
        - maturity
        - key_check
        - credential_fields
        - docs_url
        - connected
    RiskV3ErrorCode:
      type: string
      enum:
        - invalid_request
        - invalid_address
        - network_required
        - network_address_mismatch
        - unsupported_network
        - x_address_unsupported
        - invalid_cursor
        - invalid_idempotency_key
        - idempotency_key_reuse
        - idempotency_in_progress
        - invalid_time_range
        - unauthorized
        - forbidden
        - screen_not_found
        - not_found
        - provider_connection_required
        - provider_order_duplicate
        - provider_order_range_required
        - provider_order_invalid
        - providers_invalid
        - providers_duplicate
        - provider_unauthorized
        - rate_limited
        - network_monthly_limit
        - provider_unavailable
        - network_capacity_exhausted
        - network_not_covered
        - range_unavailable
        - all_providers_failed
        - internal_error
      description: >-
        Open list: Range may add values without a new contract version. Handle a
        value you do not know (for example as "other"), never reject the
        response.
      x-extensible-enum: true
    ScreeningProviderId:
      type: string
      description: >-
        A provider id, as listed by GET /v3/risk/providers. Open list: Range may
        add values without a new contract version. Handle a value you do not
        know, never reject the response.
    RiskProviderMaturity:
      type: string
      enum:
        - live_verified
        - documented
        - coming_soon
      description: >-
        Open list: Range may add values without a new contract version. Handle a
        value you do not know (for example as "other"), never reject the
        response.
      x-extensible-enum: true
    RiskProviderKeyCheck:
      type: string
      enum:
        - probe
        - first_screen
      description: >-
        Open list: Range may add values without a new contract version. Handle a
        value you do not know (for example as "other"), never reject the
        response.
      x-extensible-enum: true
    RiskProviderCredentialFieldDto:
      type: object
      properties:
        name:
          type: string
          example: api_key
          description: >-
            Field name inside the `<provider id>` object of POST
            /v2/account-connections (for example `api_key`).
        label:
          type: string
          example: API key
        secret:
          type: boolean
          example: true
          description: 'Write-only: never returned once stored.'
        optional:
          type: boolean
          example: true
          description: True when the field may be left out; absent means required.
      required:
        - name
        - label
        - secret
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.
    Bearer:
      type: http
      scheme: bearer
      description: 'Pass the API key as a bearer token (Authorization: Bearer <api-key>).'

````

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