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

# List API requests

> Billed API requests for your organization in [from, to] (UTC days, at most 31 inclusive), newest first. Paginate with `nextCursor`. The log keeps the last 30 days and holds billed (2xx/3xx) requests only. To find the request behind a response, pass its `check_id` (the `X-Request-Id` header, also the `check_id` body field on risk endpoints) with a range that covers the day of the request. `responseSha256` is the hex sha256 of the response body as we sent it, so you can check a stored response against it (for example `sha256sum` of the saved body). It is null when the response had no body, was not sent as a single body (for example a stream), came from an MCP tool call, or was logged before this field was recorded. For a HEAD request, or a GET answered 304 Not Modified, it is the hash of the body the request would have returned.



## OpenAPI

````yaml GET /billing/requests
openapi: 3.0.1
info:
  title: Risk Score API
  description: API definition for Webacy Risk Scores
  version: 1.35.0
servers:
  - url: https://api.webacy.com
    description: Webacy Risk Score API (Production)
  - url: https://api-development.webacy.com
    description: Webacy Risk Score API (Development)
  - url: http://0.0.0.0:3030/api/v1/risk-score
    description: Webacy Risk Score API - Local
security:
  - api_key: []
tags:
  - name: Webhooks
    description: >-
      Subscribe to and manage real-time event notifications (currently
      DEPEG_TIER_CHANGE)
  - name: Threat Risks
    description: Analyze addresses for security threats and malicious activity
  - name: Sanction Checks
    description: Check addresses against OFAC and other sanction lists
  - name: Approval Risks
    description: Analyze token approvals and associated risks
  - name: Transaction Risks
    description: Assess risk details for blockchain transactions
  - name: Exposure Risk
    description: Understand risk profile and exposure of addresses
  - name: Contract Risk
    description: Real-time smart contract security analysis
  - name: URL Risks
    description: Analyze URLs for phishing and security threats
  - name: API Usage
    description: Monitor and manage API consumption
  - name: Holder Analysis
    description: Token holder distribution and sniper detection
  - name: Address Poisoning
    description: Detect address poisoning attack patterns
  - name: Token Analysis
    description: Comprehensive token security and market analysis
  - name: Pool Analysis
    description: Liquidity pool data and analysis
  - name: Transaction Scanning
    description: Scan and simulate transactions for risks
  - name: trading-lite
    description: Lightweight trading risk assessment
  - name: RWA & Pegged Tokens
    description: >-
      Real-world asset and pegged-token analytics (supply flows, mint/burn
      velocity)
  - name: Vault Risk v3
    description: >-
      Webacy-native v3 vault risk surface — composite grade, categories,
      coverage, and the framework taxonomy.
  - name: RWA Risk v3
    description: >-
      Webacy-native v3 RWA / stablecoin risk surface — composite grade,
      structural-health criteria, and batch scoring.
  - name: Stablecoins v3
    description: >-
      Stablecoin-only aliases of the v3 RWA routes: same grades, same shapes,
      `segment` fixed to `stablecoin`.
  - name: Yield
    description: >-
      The Webacy On-Chain Dollar Rate: an indicative daily index of the realized
      yield depositors earn lending USDC and USDT in DeFi vaults, with its
      history, constituents and restatement log. How the rate is built
      (eligibility, weighting, grade tiers):
      https://docs.webacy.com/dollar-rate. Beta: the Dollar Rate endpoints and
      their response shape may still change, including between minor versions of
      this specification. The Dollar Rate endpoints require an API key
      (`x-api-key`) and are included at no compute-unit cost during the beta.
paths:
  /billing/requests:
    get:
      tags:
        - API Usage
      summary: List API requests
      description: >-
        Billed API requests for your organization in [from, to] (UTC days, at
        most 31 inclusive), newest first. Paginate with `nextCursor`. The log
        keeps the last 30 days and holds billed (2xx/3xx) requests only. To find
        the request behind a response, pass its `check_id` (the `X-Request-Id`
        header, also the `check_id` body field on risk endpoints) with a range
        that covers the day of the request. `responseSha256` is the hex sha256
        of the response body as we sent it, so you can check a stored response
        against it (for example `sha256sum` of the saved body). It is null when
        the response had no body, was not sent as a single body (for example a
        stream), came from an MCP tool call, or was logged before this field was
        recorded. For a HEAD request, or a GET answered 304 Not Modified, it is
        the hash of the body the request would have returned.
      operationId: listApiRequests
      parameters:
        - name: from
          in: query
          required: true
          description: First UTC day to include (YYYY-MM-DD).
          schema:
            type: string
            format: date
            example: '2026-10-01'
        - name: to
          in: query
          required: true
          description: >-
            Last UTC day to include (YYYY-MM-DD). [from, to] spans at most 31
            days, inclusive.
          schema:
            type: string
            format: date
            example: '2026-10-12'
        - name: check_id
          in: query
          required: false
          description: >-
            Only the request with this check_id (the `X-Request-Id` response
            header). The range must still cover the day of the request.
          schema:
            type: string
            format: uuid
            example: 2c9e13c7-31b6-4fdf-a6ab-3ab1c6e92eb7
        - name: endpoint
          in: query
          required: false
          description: Only requests to this endpoint (route pattern, exact match).
          schema:
            type: string
            maxLength: 255
            example: /api/v2/risk-score/quick-profile/:walletAddress
        - name: chain
          in: query
          required: false
          description: Only requests for this chain.
          schema:
            type: string
            maxLength: 32
            example: eth
        - name: cursor
          in: query
          required: false
          description: Opaque cursor from a previous page (`nextCursor`).
          schema:
            type: string
            maxLength: 128
        - name: limit
          in: query
          required: false
          description: Page size (1-100).
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
      responses:
        '200':
          description: One page of requests
          content:
            application/json:
              schema:
                type: object
                required:
                  - from
                  - to
                  - items
                  - nextCursor
                properties:
                  from:
                    type: string
                    format: date
                    example: '2026-11-05'
                  to:
                    type: string
                    format: date
                    example: '2026-11-05'
                  items:
                    type: array
                    description: Requests, newest first.
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: '1'
                        occurredAt:
                          type: string
                          format: date-time
                          example: '2026-11-05T13:31:04.682Z'
                        method:
                          type: string
                          example: GET
                        endpoint:
                          type: string
                          example: /api/v2/risk-score/quick-profile/:walletAddress
                        endpointName:
                          type: string
                          nullable: true
                          example: quick-profile
                        chain:
                          type: string
                          nullable: true
                          example: eth
                        httpStatus:
                          type: integer
                          example: 200
                        cuCost:
                          type: integer
                          example: 3
                        batchSize:
                          type: integer
                          example: 1
                        cached:
                          type: boolean
                          example: false
                        checkId:
                          type: string
                          format: uuid
                          nullable: true
                          description: >-
                            The `X-Request-Id` of the request. Null for MCP tool
                            calls and for requests logged before check_id was
                            recorded.
                          example: 2c9e13c7-31b6-4fdf-a6ab-3ab1c6e92eb7
                        subjectAddress:
                          type: string
                          nullable: true
                          description: >-
                            The address or hash the request was about, when the
                            route takes one. Null for routes keyed by something
                            else (a symbol, an id).
                          example: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'
                        responseSha256:
                          type: string
                          nullable: true
                          description: >-
                            Hex sha256 of the response body as sent. Null when
                            the response had no body, was not sent as a single
                            body (for example a stream), came from an MCP tool
                            call, or was logged before this field was recorded.
                          example: >-
                            10abab8a396c6e7312067616b9262afb4da7f864c0ee4cd64de7276be0fa7a08
                  nextCursor:
                    type: string
                    nullable: true
                    description: Pass as `cursor` for the next page; null on the last page.
                    example: null
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
        '400':
          description: Invalid range, filter or cursor
          content:
            application/json:
              examples:
                malformedCheckId:
                  summary: check_id is not a UUID
                  value:
                    statusCode: 400
                    timestamp: '2026-11-05T13:31:20.503Z'
                    path: >-
                      /api/v2/billing/requests?from=2026-11-05&to=2026-11-05&check_id=nope
                    message: check_id must be a UUID
        '404':
          description: Organization not found
      security:
        - api_key: []
components:
  headers:
    XRequestId:
      description: >-
        Server-issued id for this request, returned on every response, success
        or error. Quote it to Webacy support to find the request. On risk
        endpoints it equals the `check_id` body field.
      schema:
        type: string
        format: uuid
        example: 3f1c2b9e-7a4d-4e1b-9c55-0d6a2f8e4b71
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: x-api-key

````

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