> ## 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 a Recorded Screen

> Fetch a recorded v3 screen exactly as it was served, with the SHA-256 of its body, for audit and attestation.

Pass the `screen_id` from a [screen](https://docs.range.org/risk-api/risk-v3/screen-address.md) or from [List Recorded Screens](https://docs.range.org/risk-api/risk-v3/list-screens.md). The response holds the body in `result`, exactly as it was served, and its SHA-256 in `result_sha256`. This call is free: it costs no credits.

Only screens from your own workspace are visible. An unknown `screen_id` returns 404 with code `screen_not_found`; one that is not a UUID returns 400 with code `invalid_request`.

Recorded screens never change. A later screen of the same address is a new screen with its own `screen_id`.

## Verify a recorded screen

`result_sha256` is the SHA-256, in hex, of the exact JSON text of `result` as it was served: compact, UTF-8, keys in their original order. To check that a body has not been altered, hash the `result` value from the response text and compare.

```javascript JavaScript theme={null}
import { createHash } from "node:crypto";

const response = await fetch(
  `https://api.range.org/v3/risk/screens/${screenId}`,
  { headers: { Authorization: "Bearer YOUR_API_KEY" } }
);
const record = await response.json();

// JSON.stringify on the parsed value reproduces the served text.
const digest = createHash("sha256")
  .update(JSON.stringify(record.result), "utf8")
  .digest("hex");

console.log(digest === record.result_sha256); // true
```

```python Python theme={null}
import hashlib
import json
import requests

response = requests.get(
    f"https://api.range.org/v3/risk/screens/{screen_id}",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)
record = response.json()

# Compact separators and ensure_ascii=False match the served text.
text = json.dumps(record["result"], separators=(",", ":"), ensure_ascii=False)
digest = hashlib.sha256(text.encode("utf-8")).hexdigest()

print(digest == record["result_sha256"])  # True
```

Re-serializing in a language other than JavaScript can format some numbers differently. If the hashes differ, hash the raw bytes of the `result` value from the response text instead of a re-serialized copy.

## Older records

Each recorded body keeps the shape of the `contract_version` it was served under. Read `result.contract_version` before you parse a recorded body, and branch on its major version. See [Versioning and compatibility](https://docs.range.org/risk-api/risk-v3/versioning.md).

> [accordion] Example response
>
> ```json theme={null}
> {
>   "screen_id": "5b1f0c9e-3a7d-4e2b-9c41-8d6e2f1a7b30",
>   "recorded_at": "2026-11-13T09:20:12.113Z",
>   "result_sha256": "1180f9a92730b1a22cc737d95c34f09b7ba29c20050b648b030abaebebe605bc",
>   "result": {
>     "contract_version": "3.0.0",
>     "taxonomy_version": "2026-11",
>     "screen_id": "5b1f0c9e-3a7d-4e2b-9c41-8d6e2f1a7b30",
>     "screened_at": "2026-11-13T09:20:12.000Z",
>     "previous_screen_id": null,
>     "subject": {
>       "type": "address",
>       "identifier": "0x52908400098527886e0f7030069857d2e4169ee7",
>       "network": "eth",
>       "kind": "unknown"
>     },
>     "request": {
>       "mode": "single",
>       "providers": null,
>       "signals": null,
>       "include_evidence": false,
>       "origin": "api",
>       "client_reference": "withdrawal-48213"
>     },
>     "routing": {
>       "order": [
>         "range"
>       ],
>       "served_result_id": "r1"
>     },
>     "decision": {
>       "basis": "served",
>       "result_ids": [
>         "r1"
>       ],
>       "status": "final",
>       "data_state": "full",
>       "severity": "low",
>       "score": 25,
>       "sanctioned": false,
>       "action": null
>     },
>     "results": [
>       {
>         "id": "r1",
>         "route": "range",
>         "provider": "range",
>         "credential": "range",
>         "delegated": null,
>         "status": "answered",
>         "outcome": null,
>         "credits_charged": 1,
>         "network": null,
>         "network_scope": "all-evm",
>         "verdict": {
>           "severity": "low",
>           "score": 25,
>           "sanctioned": false
>         },
>         "native_verdict": {
>           "value": "low",
>           "label": "low",
>           "scale": "range:v2-severity",
>           "higher_is_riskier": true,
>           "reason": null
>         },
>         "data_state": "full",
>         "coverage": "full",
>         "mapping_version": "range@2",
>         "provider_profile": null,
>         "attribution": [],
>         "listings": [],
>         "exposures": [],
>         "signals": [
>           {
>             "signal": "token-activity",
>             "pillar": "behaviour",
>             "severity": "low",
>             "polarity": "risk",
>             "confidence": 40,
>             "rule": null,
>             "provider": "range",
>             "summary": "behaviour token-activity detected with confidence 0.4",
>             "confidence_label": null,
>             "first_seen": null,
>             "last_seen": null,
>             "native_severity": null
>           }
>         ],
>         "evidence": [],
>         "totals": {
>           "incoming_usd": 48210.55,
>           "outgoing_usd": 47950.1,
>           "flagged_incoming_usd": 0,
>           "flagged_outgoing_usd": 0
>         },
>         "truncated": {
>           "exposures": false,
>           "reason": null
>         },
>         "history": null,
>         "problem": null,
>         "retry_after_ms": null,
>         "warnings": [
>           "EVM address screened as one actor across every EVM chain Range indexes; network selects the chain only for a fallback"
>         ],
>         "provider_ref": null,
>         "screened_at": "2026-11-13T09:20:12.000Z",
>         "data_as_of": null,
>         "latency_ms": 1380,
>         "override": null,
>         "active_networks": [
>           "eth",
>           "base"
>         ]
>       }
>     ],
>     "meta": {
>       "total_ms": 1460,
>       "credits_charged": 1,
>       "evidence_url": null
>     }
>   }
> }
> ```


## OpenAPI

````yaml api-reference/risk-api.json get /v3/risk/screens/{screen_id}
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/screens/{screen_id}:
    get:
      tags:
        - Risk v3
      summary: Get a recorded screen
      description: >-
        Returns a screen exactly as it was served, with the SHA-256 of its body,
        for audit and attestation. A screen keeps the shape it was served with:
        one recorded before `results` existed has none, so check for `results`
        rather than `contract_version`. Only screens of the caller’s workspace
        are visible. Free: this call costs no credits.
      operationId: getScreen
      parameters:
        - name: screen_id
          required: true
          in: path
          description: The `screen_id` a screen returned, or one from GET /v3/risk/screens.
          schema:
            type: string
            format: uuid
            example: 3c1e2f0a-6b1d-4d7e-9a3b-2f6c1d0e9b7a
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RiskScreenRecordDto'
        '400':
          description: '`screen_id` is not a UUID (`invalid_request`).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RiskV3ErrorResponseDto'
        '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'
        '404':
          description: >-
            No screen with this id in the caller’s workspace
            (`screen_not_found`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RiskV3ErrorResponseDto'
        '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:
    RiskScreenRecordDto:
      type: object
      properties:
        screen_id:
          type: string
          format: uuid
          example: 3c1e2f0a-6b1d-4d7e-9a3b-2f6c1d0e9b7a
        recorded_at:
          type: string
          format: date-time
          example: '2026-09-25T11:45:02.113Z'
        result_sha256:
          type: string
          example: b1946ac92492d2347c6235b4d2611184d4c0b1d0f3c3a5f4e9c9d1e8a7b6c5d4
          description: >-
            SHA-256 (hex) over the UTF-8 JSON text of `result` exactly as
            served: the bytes of the `result` value in this response body,
            compact and with keys in their original order. JavaScript
            `JSON.stringify(result)` on the parsed value reproduces them;
            re-serialising in another language may change number or key
            formatting, so hash the raw text when you can.
        result:
          $ref: '#/components/schemas/CanonicalScreeningResultDto'
      required:
        - screen_id
        - recorded_at
        - result_sha256
        - result
    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
    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
    CanonicalScreeningResultDto:
      type: object
      properties:
        contract_version:
          type: string
          example: 3.0.0
          description: >-
            Semantic version of this response shape. Within a major version,
            changes only add: new fields, new values in open lists. A recorded
            screen keeps the version it was served under.
        taxonomy_version:
          type: string
          example: 2026-11
          description: >-
            Version of Range’s category list (`entity.category`) this screen was
            mapped with.
        screen_id:
          type: string
          format: uuid
          example: 3c1e2f0a-6b1d-4d7e-9a3b-2f6c1d0e9b7a
        screened_at:
          type: string
          format: date-time
          example: '2026-11-13T09:20:12Z'
        previous_screen_id:
          type: string
          format: uuid
          example: null
          nullable: true
          description: >-
            A screen that supersedes an earlier one (a re-screen or a completed
            pending answer) names it here. Recorded screens never change.
        subject:
          $ref: '#/components/schemas/ScreeningSubjectDto'
        request:
          $ref: '#/components/schemas/ScreeningRequestDto'
        routing:
          $ref: '#/components/schemas/ScreeningRoutingDto'
        decision:
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/ScreeningDecisionDto'
        results:
          type: array
          items:
            $ref: '#/components/schemas/ScreeningProviderResultDto'
        meta:
          $ref: '#/components/schemas/CanonicalScreeningMetaDto'
      required:
        - contract_version
        - taxonomy_version
        - screen_id
        - screened_at
        - previous_screen_id
        - subject
        - request
        - routing
        - decision
        - results
        - meta
    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
    ScreeningSubjectDto:
      type: object
      properties:
        type:
          x-extensible-enum: true
          example: address
          allOf:
            - $ref: '#/components/schemas/ScreeningSubjectType'
        identifier:
          type: string
          example: '0xd90e2f925DA726b50C4Ed8D0Fb90Ad053324F31b'
        network:
          type: string
          example: eth
          nullable: true
          description: >-
            The network id (as listed by GET /v3/risk/networks) the caller named
            or the address format names. Null only when neither names one chain.
            What each provider actually screened is `results[].network` and
            `results[].network_scope`.
        kind:
          x-extensible-enum: true
          example: unknown
          description: >-
            What the address is (an externally owned account, a contract, a
            token), when known. `unknown` until Range reports it.
          allOf:
            - $ref: '#/components/schemas/ScreeningSubjectKind'
      required:
        - type
        - identifier
        - network
        - kind
    ScreeningRequestDto:
      type: object
      properties:
        mode:
          x-extensible-enum: true
          example: single
          allOf:
            - $ref: '#/components/schemas/ScreenMode'
        providers:
          nullable: true
          example: null
          description: >-
            `multi` only: the providers the caller asked for, in the order
            asked. Null on a `single` screen, whose order is `routing.order`.
          type: array
          items:
            type: string
        signals:
          nullable: true
          example: null
          description: >-
            The Range signal ids the caller limited Range’s screen to
            (`signals`); null for the full assessment.
          type: array
          items:
            type: string
        include_evidence:
          type: boolean
          example: false
        origin:
          x-extensible-enum: true
          example: api
          allOf:
            - $ref: '#/components/schemas/ScreenOrigin'
        client_reference:
          type: string
          example: withdrawal-8f2c41
          nullable: true
          maxLength: 128
          description: >-
            The `client_reference` the caller sent, unchanged; null when none.
            Filter the screen history by it with GET
            /v3/risk/screens?client_reference=.
      required:
        - mode
        - providers
        - signals
        - include_evidence
        - origin
        - client_reference
    ScreeningRoutingDto:
      type: object
      properties:
        order:
          type: array
          x-extensible-enum: true
          example:
            - range
          description: >-
            The order this screen tried providers in: the workspace order on a
            `single` screen, the providers asked for on a `multi` one. `range`
            includes the providers Range answers through on its own account.
          items:
            $ref: '#/components/schemas/ScreeningProviderId'
        served_result_id:
          type: string
          example: r1
          nullable: true
          description: >-
            The `results[].id` that answered a `single` screen. Null on a
            `multi` screen.
      required:
        - order
        - served_result_id
    ScreeningDecisionDto:
      type: object
      properties:
        basis:
          x-extensible-enum: true
          example: served
          allOf:
            - $ref: '#/components/schemas/DecisionBasis'
        result_ids:
          example:
            - r1
          type: array
          items:
            type: string
        status:
          x-extensible-enum: true
          example: final
          description: >-
            `final`: a verdict. `pending`: the provider has none yet; screen
            again after `results[].retry_after_ms`.
          allOf:
            - $ref: '#/components/schemas/DecisionStatus'
        data_state:
          x-extensible-enum: true
          example: full
          description: >-
            How complete the served answer is. `full`: screened in full.
            `partial`: one of the sources failed; the verdict may miss what it
            would have found. `empty`: no record of the address at all, which
            can mean unused or not covered. `sanctions-only`: checked against
            sanctions lists only. Review a `partial` or `empty` answer before
            relying on a low severity.
          allOf:
            - $ref: '#/components/schemas/ProviderDataState'
        severity:
          x-extensible-enum: true
          example: high
          description: >-
            The served result’s severity. `unknown` when no risk tier was given
            (`status: pending`): it is no verdict, never read it as `none` or
            `low`.
          allOf:
            - $ref: '#/components/schemas/VerdictSeverity'
        score:
          type: integer
          example: 75
          nullable: true
          minimum: 0
          maximum: 100
        sanctioned:
          type: boolean
          nullable: true
          example: false
        action:
          x-extensible-enum: true
          nullable: true
          example: null
          description: Set only by a policy layer; never derived from `severity`.
          allOf:
            - $ref: '#/components/schemas/VerdictAction'
      required:
        - basis
        - result_ids
        - status
        - data_state
        - severity
        - score
        - sanctioned
        - action
    ScreeningProviderResultDto:
      type: object
      properties:
        id:
          type: string
          example: r1
          description: >-
            Stable within this screen; what `routing.served_result_id` and
            `decision.result_ids` point at.
        route:
          x-extensible-enum: true
          example: range
          description: The entry of `routing.order` this result answers for.
          allOf:
            - $ref: '#/components/schemas/ScreeningProviderId'
        provider:
          x-extensible-enum: true
          example: range
          description: >-
            Whose answer this is. Equal to `route`: on Range’s own account the
            answer is Range’s, also when Range answered through a partner
            (`delegated` then says why); a provider on the workspace’s own key
            answers under its own name.
          allOf:
            - $ref: '#/components/schemas/ScreeningProviderId'
        credential:
          x-extensible-enum: true
          example: range
          description: >-
            Whose account paid for the answer: `range` (Range’s own) or
            `workspace` (a key the workspace connected).
          allOf:
            - $ref: '#/components/schemas/CredentialOwner'
        delegated:
          x-extensible-enum: true
          nullable: true
          example: null
          description: >-
            Set when Range answered through a partner on its own account, and
            says why: `unindexed-network` (Range does not index the network) or
            `range-unavailable` (Range’s own screen was unavailable). The answer
            is still Range’s. Null when the provider answered with its own data.
          allOf:
            - $ref: '#/components/schemas/DelegationReason'
        status:
          x-extensible-enum: true
          example: answered
          allOf:
            - $ref: '#/components/schemas/ResultStatus'
        outcome:
          x-extensible-enum: true
          nullable: true
          example: null
          description: >-
            Why this result is not the answer. Null on the served result and on
            every answered result of a `multi` screen.
          allOf:
            - $ref: '#/components/schemas/ResultOutcome'
        credits_charged:
          type: integer
          example: 1
          description: Credits this result cost.
        network:
          type: string
          example: null
          nullable: true
          description: >-
            The network this provider screened. Null with `network_scope:
            all-evm`, or when it was never called.
        network_scope:
          x-extensible-enum: true
          nullable: true
          example: all-evm
          description: >-
            `chain`: the one network in `network`. `all-evm`: the address as one
            actor across every EVM chain Range indexes. Null when it was never
            called, or the provider takes no network.
          allOf:
            - $ref: '#/components/schemas/NetworkScope'
        verdict:
          $ref: '#/components/schemas/ScreeningResultVerdictDto'
        native_verdict:
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/NativeVerdictDto'
        data_state:
          x-extensible-enum: true
          nullable: true
          example: full
          description: Null when the provider was never called.
          allOf:
            - $ref: '#/components/schemas/ProviderDataState'
        coverage:
          x-extensible-enum: true
          example: full
          allOf:
            - $ref: '#/components/schemas/ProviderCoverageTier'
        mapping_version:
          type: string
          example: range@1
          description: >-
            Version of the table that mapped this provider’s answer onto the
            canonical vocabulary. `range-partner@…` on an answer Range gave
            through a partner (`delegated`).
        provider_profile:
          type: string
          example: team-rules@v14
          nullable: true
          description: >-
            The ruleset or policy profile that produced the verdict, when the
            provider names one.
        attribution:
          type: array
          items:
            $ref: '#/components/schemas/AttributionClaimDto'
        listings:
          type: array
          items:
            $ref: '#/components/schemas/ListingClaimDto'
        exposures:
          type: array
          items:
            $ref: '#/components/schemas/ExposureClaimDto'
        signals:
          type: array
          items:
            $ref: '#/components/schemas/SignalClaimDto'
        evidence:
          type: array
          items:
            $ref: '#/components/schemas/EvidenceDto'
        totals:
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/ScreeningTotalsDto'
        truncated:
          $ref: '#/components/schemas/ProviderTruncationDto'
        history:
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/ProviderHistoryDto'
        problem:
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/ProviderProblemDto'
        retry_after_ms:
          type: integer
          example: null
          nullable: true
          description: >-
            Milliseconds to wait before screening again: when the provider said
            so (a pending answer), or, when Range did not call a provider
            because it failed 5 times in a row (see `warnings`), until Range
            lets one screen through to test it again (paused for 5 minutes at a
            time), or, when the provider said the workspace’s own plan is out of
            credits or over its rate limit, until that test (the provider’s own
            wait, 60 seconds when it gave none, at most 5 minutes).
        warnings:
          description: >-
            Fixed, machine-stable caveats about how this provider’s answer was
            read. Match them as whole strings.
          type: array
          items:
            type: string
        provider_ref:
          type: string
          example: null
          nullable: true
          description: The provider’s own reference for this screen, when it has one.
        screened_at:
          type: string
          format: date-time
          example: '2026-11-13T09:20:12Z'
          nullable: true
        data_as_of:
          type: string
          format: date-time
          example: null
          nullable: true
          description: How fresh the provider’s underlying data is, when it says.
        latency_ms:
          type: integer
          example: 820
          nullable: true
        override:
          nullable: true
          description: >-
            Range only: why Range lowered the severity its signals computed (the
            address is on the Range whitelist), with the severity before the
            override. Signals are reported unchanged. Null otherwise.
          type: object
          allOf:
            - $ref: '#/components/schemas/SeverityOverrideDto'
        active_networks:
          nullable: true
          example:
            - eth
            - bnb
          description: >-
            Range only: the networks Range saw this address active on. On an
            `all-evm` screen, which EVM chains the actor uses. Null for
            providers that do not say.
          type: array
          items:
            type: string
      required:
        - id
        - route
        - provider
        - credential
        - delegated
        - status
        - outcome
        - credits_charged
        - network
        - network_scope
        - verdict
        - native_verdict
        - data_state
        - coverage
        - mapping_version
        - provider_profile
        - attribution
        - listings
        - exposures
        - signals
        - evidence
        - totals
        - truncated
        - history
        - problem
        - retry_after_ms
        - warnings
        - provider_ref
        - screened_at
        - data_as_of
        - latency_ms
        - override
        - active_networks
    CanonicalScreeningMetaDto:
      type: object
      properties:
        total_ms:
          type: integer
          example: 1400
        credits_charged:
          type: integer
          example: 1
          description: 'Credits debited for this screen: the sum over `results`.'
        evidence_url:
          type: string
          example: null
          nullable: true
          description: Reserved for a link to the screen’s evidence; always null today.
      required:
        - total_ms
        - credits_charged
        - evidence_url
    ScreeningSubjectType:
      type: string
      enum:
        - address
        - transaction
      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
    ScreeningSubjectKind:
      type: string
      enum:
        - eoa
        - contract
        - token
        - unknown
      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
    ScreenMode:
      type: string
      enum:
        - single
        - multi
      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
    ScreenOrigin:
      type: string
      enum:
        - api
        - client-screening
      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.
    DecisionBasis:
      type: string
      enum:
        - served
        - served-with-range-lists
      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
    DecisionStatus:
      type: string
      enum:
        - final
        - pending
      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
    ProviderDataState:
      type: string
      enum:
        - full
        - partial
        - sanctions-only
        - empty
        - pending
        - unsupported
        - 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
    VerdictSeverity:
      type: string
      enum:
        - severe
        - high
        - medium
        - low
        - none
        - unknown
      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
    VerdictAction:
      type: string
      enum:
        - allow
        - review
        - block
      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
    CredentialOwner:
      type: string
      enum:
        - range
        - workspace
      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
    DelegationReason:
      type: string
      enum:
        - unindexed-network
        - range-unavailable
      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
    ResultStatus:
      type: string
      enum:
        - answered
        - pending
        - failed
        - skipped
      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
    ResultOutcome:
      type: string
      enum:
        - provider-missing
        - provider-unauthorized
        - provider-error
        - unsupported-network
        - sanctions-only
        - range-unavailable
      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
    NetworkScope:
      type: string
      enum:
        - chain
        - all-evm
      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
    ScreeningResultVerdictDto:
      type: object
      properties:
        severity:
          x-extensible-enum: true
          example: high
          description: >-
            The provider’s verdict on Range’s severity scale (none, low, medium,
            high, severe), or `unknown` when the provider gave no risk tier
            (pending, failed, skipped, unsupported network, or sanctions-only
            coverage). `unknown` is not a rung: it is no verdict, never read it
            as `none` or `low`.
          allOf:
            - $ref: '#/components/schemas/VerdictSeverity'
        score:
          type: integer
          example: 75
          nullable: true
          minimum: 0
          maximum: 100
          description: >-
            Point value of `severity` (0/25/50/75/100); null when `severity` is
            `unknown`.
        sanctioned:
          type: boolean
          example: false
          nullable: true
          description: >-
            The provider asserted a sanctions listing or sanctions ownership;
            null when it could not say (no answer, an empty record, or a Range
            screen narrowed by `signals=` that did not check every list).
      required:
        - severity
        - score
        - sanctioned
    NativeVerdictDto:
      type: object
      properties:
        value:
          oneOf:
            - type: string
            - type: number
          example: high
          nullable: true
          description: >-
            The provider’s own value, as it sent it: a label (`"Severe"`) or a
            number (`5`) on the scale named in `scale`.
        label:
          type: string
          example: high
          nullable: true
        scale:
          type: string
          example: range:v2-severity
          description: Identifier of the provider scale the value is expressed on.
        higher_is_riskier:
          type: boolean
          example: true
          nullable: true
        reason:
          type: string
          example: '> 55% indirect exposure to Sanctioned Jurisdiction'
          nullable: true
          description: >-
            The provider’s own explanation of this value, verbatim, when it
            gives one.
      required:
        - value
        - label
        - scale
        - higher_is_riskier
        - reason
    ProviderCoverageTier:
      type: string
      enum:
        - full
        - lite
        - unknown
      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
    AttributionClaimDto:
      type: object
      properties:
        provider:
          x-extensible-enum: true
          example: range
          allOf:
            - $ref: '#/components/schemas/ScreeningProviderId'
        polarity:
          x-extensible-enum: true
          example: risk
          allOf:
            - $ref: '#/components/schemas/ClaimPolarity'
        confidence:
          type: integer
          example: null
          nullable: true
          minimum: 0
          maximum: 100
          description: >-
            How sure the provider is of this claim, from 0 to 100. Null when the
            provider gives no confidence (never a guessed midpoint).
        confidence_label:
          type: string
          example: High confidence
          nullable: true
        first_seen:
          type: string
          format: date-time
          example: '2022-02-09T17:06:30Z'
          nullable: true
          description: When the provider first observed this, if it says.
        last_seen:
          type: string
          format: date-time
          example: '2026-09-02T14:40:59Z'
          nullable: true
        native_severity:
          nullable: true
          description: >-
            The provider’s own level for this claim, when it rates claims
            individually.
          type: object
          allOf:
            - $ref: '#/components/schemas/NativeVerdictDto'
        role:
          x-extensible-enum: true
          example: owner
          allOf:
            - $ref: '#/components/schemas/AttributionRole'
        scope:
          x-extensible-enum: true
          example: cluster
          allOf:
            - $ref: '#/components/schemas/AttributionScope'
        entity:
          $ref: '#/components/schemas/CanonicalEntityDto'
      required:
        - provider
        - polarity
        - confidence
        - confidence_label
        - first_seen
        - last_seen
        - native_severity
        - role
        - scope
        - entity
    ListingClaimDto:
      type: object
      properties:
        provider:
          x-extensible-enum: true
          example: range
          allOf:
            - $ref: '#/components/schemas/ScreeningProviderId'
        polarity:
          x-extensible-enum: true
          example: risk
          allOf:
            - $ref: '#/components/schemas/ClaimPolarity'
        confidence:
          type: integer
          example: null
          nullable: true
          minimum: 0
          maximum: 100
          description: >-
            How sure the provider is of this claim, from 0 to 100. Null when the
            provider gives no confidence (never a guessed midpoint).
        confidence_label:
          type: string
          example: High confidence
          nullable: true
        first_seen:
          type: string
          format: date-time
          example: '2022-02-09T17:06:30Z'
          nullable: true
          description: When the provider first observed this, if it says.
        last_seen:
          type: string
          format: date-time
          example: '2026-09-02T14:40:59Z'
          nullable: true
        native_severity:
          nullable: true
          description: >-
            The provider’s own level for this claim, when it rates claims
            individually.
          type: object
          allOf:
            - $ref: '#/components/schemas/NativeVerdictDto'
        authority:
          type: string
          example: OFAC
          nullable: true
        program:
          type: string
          example: SDN
          nullable: true
        list_key:
          type: string
          example: us_ofac_sdn
          nullable: true
        listed_at:
          type: string
          example: '2022-08-08'
          nullable: true
        delisted_at:
          type: string
          example: null
          nullable: true
        record_id:
          type: string
          example: null
          nullable: true
        url:
          type: string
          example: null
          nullable: true
      required:
        - provider
        - polarity
        - confidence
        - confidence_label
        - first_seen
        - last_seen
        - native_severity
        - authority
        - program
        - list_key
        - listed_at
        - delisted_at
        - record_id
        - url
    ExposureClaimDto:
      type: object
      properties:
        provider:
          x-extensible-enum: true
          example: range
          allOf:
            - $ref: '#/components/schemas/ScreeningProviderId'
        polarity:
          x-extensible-enum: true
          example: risk
          allOf:
            - $ref: '#/components/schemas/ClaimPolarity'
        confidence:
          type: integer
          example: null
          nullable: true
          minimum: 0
          maximum: 100
          description: >-
            How sure the provider is of this claim, from 0 to 100. Null when the
            provider gives no confidence (never a guessed midpoint).
        confidence_label:
          type: string
          example: High confidence
          nullable: true
        first_seen:
          type: string
          format: date-time
          example: '2022-02-09T17:06:30Z'
          nullable: true
          description: When the provider first observed this, if it says.
        last_seen:
          type: string
          format: date-time
          example: '2026-09-02T14:40:59Z'
          nullable: true
        native_severity:
          nullable: true
          description: >-
            The provider’s own level for this claim, when it rates claims
            individually.
          type: object
          allOf:
            - $ref: '#/components/schemas/NativeVerdictDto'
        direction:
          x-extensible-enum: true
          example: incoming
          allOf:
            - $ref: '#/components/schemas/ExposureDirection'
        hop:
          x-extensible-enum: true
          example: direct
          allOf:
            - $ref: '#/components/schemas/ExposureHop'
        entity:
          $ref: '#/components/schemas/CanonicalEntityDto'
        counterparty_address:
          type: string
          example: '0xa160cdab225685da1d56aa342ad8841c3b53f291'
          nullable: true
          description: >-
            Counterparty address when the provider exposes one; null for
            entity-level claims.
        network:
          type: string
          example: eth
          nullable: true
        usd:
          type: number
          example: 6187057785.29
          nullable: true
        share:
          type: number
          example: 0.4961
          nullable: true
          description: Share (from 0 to 1) of the basis named in `share_basis`.
        share_basis:
          x-extensible-enum: true
          nullable: true
          example: total-volume
          allOf:
            - $ref: '#/components/schemas/ShareBasis'
        tx_count:
          type: integer
          example: 41
          nullable: true
        min_hops:
          type: integer
          example: 1
          nullable: true
          description: Shortest path length, when the provider reports one.
      required:
        - provider
        - polarity
        - confidence
        - confidence_label
        - first_seen
        - last_seen
        - native_severity
        - direction
        - hop
        - entity
        - counterparty_address
        - network
        - usd
        - share
        - share_basis
        - tx_count
        - min_hops
    SignalClaimDto:
      type: object
      properties:
        provider:
          x-extensible-enum: true
          example: range
          allOf:
            - $ref: '#/components/schemas/ScreeningProviderId'
        polarity:
          x-extensible-enum: true
          example: risk
          allOf:
            - $ref: '#/components/schemas/ClaimPolarity'
        confidence:
          type: integer
          example: null
          nullable: true
          minimum: 0
          maximum: 100
          description: >-
            How sure the provider is of this claim, from 0 to 100. Null when the
            provider gives no confidence (never a guessed midpoint).
        confidence_label:
          type: string
          example: High confidence
          nullable: true
        first_seen:
          type: string
          format: date-time
          example: '2022-02-09T17:06:30Z'
          nullable: true
          description: When the provider first observed this, if it says.
        last_seen:
          type: string
          format: date-time
          example: '2026-09-02T14:40:59Z'
          nullable: true
        native_severity:
          nullable: true
          description: >-
            The provider’s own level for this claim, when it rates claims
            individually.
          type: object
          allOf:
            - $ref: '#/components/schemas/NativeVerdictDto'
        signal:
          type: string
          example: ofac-sanctioned
          description: Range signal id (GET /v2/risk/signals).
        pillar:
          x-extensible-enum: true
          example: exposure
          allOf:
            - $ref: '#/components/schemas/SignalPillar'
        severity:
          x-extensible-enum: true
          example: severe
          allOf:
            - $ref: '#/components/schemas/RiskSeverity'
        rule:
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/SignalRuleDto'
        summary:
          type: string
          example: >-
            49.61% of counterparty volume is ofac-sanctioned, crossing the 1%
            (severe) threshold.
      required:
        - provider
        - polarity
        - confidence
        - confidence_label
        - first_seen
        - last_seen
        - native_severity
        - signal
        - pillar
        - severity
        - rule
        - summary
    EvidenceDto:
      type: object
      properties:
        type:
          type: string
          example: counterparty
          enum:
            - transaction
            - counterparty
            - pattern
            - attribution
        summary:
          type: string
          example: Interacted with OFAC-sanctioned address 0xDEF... on 2026-03-15
        details:
          type: object
          additionalProperties: true
          example:
            address: 0xDEF...
            tx_hash: 0x789...
            timestamp: '2026-03-15T14:22:00Z'
            entity: Tornado Cash
            list: OFAC SDN
      required:
        - type
        - summary
        - details
    ScreeningTotalsDto:
      type: object
      properties:
        incoming_usd:
          type: number
          example: 7613577866
        outgoing_usd:
          type: number
          example: 7577851830
        flagged_incoming_usd:
          type: number
          example: 57071886
          nullable: true
          description: >-
            USD received from flagged counterparties; null when the provider
            reports totals but not this split.
        flagged_outgoing_usd:
          type: number
          example: 0
          nullable: true
      required:
        - incoming_usd
        - outgoing_usd
        - flagged_incoming_usd
        - flagged_outgoing_usd
    ProviderTruncationDto:
      type: object
      properties:
        exposures:
          type: boolean
          example: true
        reason:
          type: string
          example: top 100 exposures by USD; 12 dropped
          nullable: true
          description: Why `exposures` was cut, when it was; null otherwise.
      required:
        - exposures
        - reason
    ProviderHistoryDto:
      type: object
      properties:
        previous_severity:
          x-extensible-enum: true
          nullable: true
          allOf:
            - $ref: '#/components/schemas/RiskSeverity'
        peak_severity:
          x-extensible-enum: true
          nullable: true
          allOf:
            - $ref: '#/components/schemas/RiskSeverity'
      required:
        - previous_severity
        - peak_severity
    ProviderProblemDto:
      type: object
      properties:
        type:
          type: string
          example: https://range.org/problems/provider-error
          description: >-
            Identifies the kind of failure; its last path segment equals the
            result’s `outcome`. Compare it as a string: it is not guaranteed to
            resolve.
        title:
          type: string
          example: Provider unavailable
        status:
          type: integer
          example: 503
          nullable: true
          description: >-
            The HTTP status the provider call failed with, as Range classified
            it (401/403: the key was rejected; 429: rate-limited; 502/503:
            unavailable). Null when the provider was never called.
        detail:
          type: string
          example: null
          nullable: true
          description: >-
            Reserved. Always null today: no text from a provider’s error is
            passed on.
        provider_code:
          type: string
          example: null
          nullable: true
          description: Reserved for a provider’s own error code. Always null today.
        retry_after_ms:
          type: integer
          example: null
          nullable: true
          description: >-
            Milliseconds to wait before asking this provider again, when known:
            the provider said so, or Range paused it after repeated failures and
            tests it again then.
      required:
        - type
        - title
        - status
        - detail
        - provider_code
        - retry_after_ms
    SeverityOverrideDto:
      type: object
      properties:
        type:
          type: string
          example: range_whitelist
          enum:
            - range_whitelist
        original_severity:
          type: string
          example: severe
          enum:
            - severe
            - high
            - medium
            - low
            - none
          description: The severity the signals computed before the override.
        criterion:
          type: string
          example: uncontrollable_infrastructure
          enum:
            - trusted_entity
            - uncontrollable_infrastructure
        reason:
          type: string
          example: Cross-chain router; inbound flows are permissionless
        whitelisted_at:
          type: string
          example: '2026-10-22T10:00:00.000Z'
      required:
        - type
        - original_severity
        - criterion
        - reason
        - whitelisted_at
    ClaimPolarity:
      type: string
      enum:
        - risk
        - mitigating
        - informational
      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
    AttributionRole:
      type: string
      enum:
        - owner
        - user
        - cluster
        - label
      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
    AttributionScope:
      type: string
      enum:
        - address
        - cluster
      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
    CanonicalEntityDto:
      type: object
      properties:
        name:
          type: string
          example: Tornado Cash
          nullable: true
        category:
          x-extensible-enum: true
          example: mixer
          description: >-
            Range’s category for the entity, the same whichever provider named
            it. The provider’s own label is `provider_category`.
          allOf:
            - $ref: '#/components/schemas/CanonicalCategory'
        tags:
          example:
            - range:signal=ofac-sanctioned
          description: >-
            Namespaced machine tags `provider:key=value` preserving the
            provider’s own vocabulary verbatim. On an answer Range gave through
            a partner (`delegated`) the namespace is `range-partner`.
          type: array
          items:
            type: string
        provider_category:
          type: string
          example: Coin Mixer
          nullable: true
          description: The provider's own category label, verbatim.
        provider_subcategory:
          type: string
          example: Decentralized
          nullable: true
        provider_entity_id:
          type: string
          example: '23'
          nullable: true
          description: Stable provider-side id for the entity, when the provider has one.
        country:
          type: string
          example: SC
          nullable: true
      required:
        - name
        - category
        - tags
        - provider_category
        - provider_subcategory
        - provider_entity_id
        - country
    ExposureDirection:
      type: string
      enum:
        - incoming
        - outgoing
        - both
      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
    ExposureHop:
      type: string
      enum:
        - ownership
        - direct
        - indirect
        - unknown
      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
    ShareBasis:
      type: string
      enum:
        - total-volume
        - direction-volume
        - composition
      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
    SignalPillar:
      type: string
      enum:
        - attribution
        - exposure
        - behaviour
      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
    RiskSeverity:
      type: string
      enum:
        - severe
        - high
        - medium
        - low
        - none
      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
    SignalRuleDto:
      type: object
      properties:
        id:
          type: string
          example: exposure/ofac-sanctioned
          nullable: true
        name:
          type: string
          example: Sanctions exposure
          nullable: true
        threshold:
          type: string
          example: 1% (severe)
          nullable: true
      required:
        - id
        - name
        - threshold
    CanonicalCategory:
      type: string
      enum:
        - sanctions
        - special-measures
        - terrorism-financing
        - child-abuse-material
        - mixer
        - darknet
        - theft
        - ransomware
        - malware
        - extortion
        - scam
        - illicit-actor
        - illegal-activity
        - money-laundering
        - compliance-risk
        - blacklisted
        - high-risk-exchange
        - high-risk-jurisdiction
        - gambling
        - law-enforcement
        - exchange
        - dex
        - defi
        - bridge
        - token-contract
        - smart-contract
        - mining-pool
        - donation
        - service
        - wallet-provider
        - payment-processor
        - burn
        - unknown
      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
  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.