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

# Get daily mint history for one token deployment

> Per-day on-chain mint volume (Transfer-from-zero amount and event count) for one `(chain, address)` deployment, zero-filled to exactly `days` UTC days ending on the snapshot's `generated_at` date. The last day is partial (counted up to `generated_at`).

**Mints only:** burns are not recorded, so this is not a net-flow series (use `GET /rwa/supply/{symbol}` for net flows).

**Coverage is small** (a tracked set of Ethereum deployments). A deployment outside it answers `200` with `covered: false` and an empty `series`, never `404`, so "not tracked" stays distinct from "no mint recorded" (a tracked token with no mints in the window is `covered: true` with an all-zero series). A zero day means no mint was recorded, not a measured zero: the data does not record which days were scanned, so days before a deployment entered the scan, after it left, or skipped by an incomplete run also read 0. Keyed by deployment rather than symbol because symbols collide. Refreshed daily; `stale: true` when the snapshot is older than 25h or served from the fallback cache.



## OpenAPI

````yaml GET /rwa/supply/history
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:
  /rwa/supply/history:
    get:
      tags:
        - RWA & Pegged Tokens
      summary: Daily mint history for one token deployment
      description: >-
        Per-day on-chain mint volume (Transfer-from-zero amount and event count)
        for one `(chain, address)` deployment, zero-filled to exactly `days` UTC
        days ending on the snapshot's `generated_at` date. The last day is
        partial (counted up to `generated_at`).


        **Mints only:** burns are not recorded, so this is not a net-flow series
        (use `GET /rwa/supply/{symbol}` for net flows).


        **Coverage is small** (a tracked set of Ethereum deployments). A
        deployment outside it answers `200` with `covered: false` and an empty
        `series`, never `404`, so "not tracked" stays distinct from "no mint
        recorded" (a tracked token with no mints in the window is `covered:
        true` with an all-zero series). A zero day means no mint was recorded,
        not a measured zero: the data does not record which days were scanned,
        so days before a deployment entered the scan, after it left, or skipped
        by an incomplete run also read 0. Keyed by deployment rather than symbol
        because symbols collide. Refreshed daily; `stale: true` when the
        snapshot is older than 25h or served from the fallback cache.
      operationId: getMintHistory
      parameters:
        - name: chain
          in: query
          required: true
          description: Chain slug of the deployment.
          schema:
            type: string
          example: eth
        - name: address
          in: query
          required: true
          description: Token contract address. EVM addresses match in any casing.
          schema:
            type: string
          example: '0x4c9edd5852cd905f086c759e8383e09bff1e68b3'
        - name: days
          in: query
          required: false
          description: Window length in days (default 30, 1-120).
          schema:
            type: integer
            minimum: 1
            maximum: 120
            default: 30
      responses:
        '200':
          headers:
            x-credit-token:
              $ref: '#/components/headers/XCreditToken'
            x-credit-balance-cu:
              $ref: '#/components/headers/XCreditBalanceCu'
          description: 'Zero-filled daily series, or `covered: false` with an empty series'
          content:
            application/json:
              schema:
                type: object
                properties:
                  chain:
                    type: string
                    example: eth
                  address:
                    type: string
                    description: Requested address, lowercased on EVM chains
                  symbol:
                    type: string
                    nullable: true
                    description: >-
                      Token symbol as tracked for this deployment; null when the
                      deployment is not covered
                    example: usde
                  days:
                    type: integer
                    example: 30
                  covered:
                    type: boolean
                    description: >-
                      True when the mint-history pipeline tracks this
                      deployment. False means not tracked (series empty), never
                      "no mints".
                  series:
                    type: array
                    description: >-
                      Exactly `days` ascending UTC days when `covered`; empty
                      otherwise.
                    items:
                      type: object
                      required:
                        - date
                        - minted
                        - tx_count
                      properties:
                        date:
                          type: string
                          format: date
                          description: UTC calendar day
                          example: '2026-11-02'
                        minted:
                          type: number
                          description: >-
                            Token units minted that day (sum of
                            Transfer-from-zero amounts). 0 on a day with no
                            mint.
                          example: 50.5
                        tx_count:
                          type: integer
                          description: >-
                            Mint (Transfer-from-zero) events that day. 0 on a
                            day with no mint.
                          example: 1
                  generated_at:
                    type: string
                    format: date-time
                    nullable: true
                    description: When the pipeline generated the snapshot
                  stale:
                    type: boolean
                    description: >-
                      True when the snapshot is older than 25h or served from
                      the fallback cache
        '400':
          description: Missing or unsupported chain, missing address, or invalid days
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '402':
          $ref: '#/components/responses/X402PaymentRequired'
        '503':
          description: >-
            Mint history temporarily unavailable (upstream data and cache both
            failed), or the x402 payment service is unavailable
      security:
        - api_key: []
components:
  headers:
    XCreditToken:
      description: >-
        Opaque bearer token for a prepaid x402 CU balance. Send it as
        `x-credit-token` to spend that balance. If the balance is insufficient
        and a payment for its verified payer settles, the same token is topped
        up and returned; otherwise the paid call returns a new independent
        token.
      schema:
        type: string
    XCreditBalanceCu:
      description: CU remaining for the returned or presented credit token after this call.
      schema:
        type: integer
        minimum: 0
        example: 480
    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
  responses:
    UnauthorizedError:
      description: Authorization information is missing or invalid
      content:
        application/json:
          example:
            message: Unauthorized
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
    X402PaymentRequired:
      description: >-
        Keyless x402 payment required. Returned for a keyless caller (gateway
        entry `x-webacy-entry: x402`) with no prepaid CU balance or insufficient
        CU on the presented credit token. Identified by the base64
        `PAYMENT-REQUIRED` response header; the body carries the x402 challenge
        (a USDC price on Base and a Stripe-minted deposit address). Pay it, then
        retry with the `PAYMENT-SIGNATURE` header to unlock the resource and
        receive a credit token. An authenticated api-key caller with a
        past_due/unpaid subscription may instead receive a different 402
        (`Subscription payment required`, plain JSON, no `PAYMENT-REQUIRED`
        header).
      headers:
        PAYMENT-REQUIRED:
          description: >-
            Base64-encoded x402 challenge (network, asset, amount, payTo,
            resource.url). The edge rollout supplies the canonical public
            request path through a valid gateway claim; missing or invalid
            claims safely fall back to the public origin plus an internal path
            identifier. resource.url is not yet suitable for publishing to a
            public x402 discovery catalog (Coinbase's Bazaar): route-specific
            declarations and live paid validation are still pending.
          schema:
            type: string
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          example:
            x402Version: 1
            error: payment required
  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.