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

# /l2beat/projects/tvs

> Get the value-secured (TVS) history and current breakdown for an L2BEAT scaling project

**Price:** 1 credit

**💡 AI Hint:** Get the value-secured (TVS) time series for a single Ethereum layer-two scaling project, plus its current TVS breakdown by bridge type (canonical, external, native) and asset category (ether, stablecoin, btc, other, real-world assets). Each chart point carries the per-category USD values and the ETH price at that time, ordered oldest-first. Optionally limit to the most recent N points.

**⚠️ Common errors:** 412: Project not found



## OpenAPI

````yaml /openapi-filtered.json post /api/l2beat/projects/tvs
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/l2beat/projects/tvs:
    post:
      tags:
        - /l2beat
      summary: /l2beat/projects/tvs
      description: >-
        Get the value-secured (TVS) history and current breakdown for an L2BEAT
        scaling project


        **Price:** 1 credit


        **💡 AI Hint:** Get the value-secured (TVS) time series for a single
        Ethereum layer-two scaling project, plus its current TVS breakdown by
        bridge type (canonical, external, native) and asset category (ether,
        stablecoin, btc, other, real-world assets). Each chart point carries the
        per-category USD values and the ETH price at that time, ordered
        oldest-first. Optionally limit to the most recent N points.


        **⚠️ Common errors:** 412: Project not found
      operationId: __api_l2beat_projects_tvs_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/L2beatProjectsTvsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/L2beatProjectTvsHistory'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    L2beatProjectsTvsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        project:
          type: string
          minLength: 1
          description: Project slug or project URL
          examples:
            - arbitrum
            - base
            - https://l2beat.com/scaling/projects/optimism
        range:
          $ref: '#/components/schemas/L2beatRange'
          description: Time window for the value-secured history
          default: 1y
        count:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          description: Return only the most recent N chart points
      type: object
      required:
        - project
    L2beatProjectTvsHistory:
      properties:
        '@type':
          type: string
          default: L2beatProjectTvsHistory
        id:
          type: string
        tvs:
          anyOf:
            - $ref: '#/components/schemas/L2beatProjectTvs'
            - type: 'null'
        chart:
          items:
            $ref: '#/components/schemas/L2beatTvsPoint'
          type: array
          default: []
        synced_until:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    L2beatRange:
      type: string
      enum:
        - 1d
        - 7d
        - 30d
        - 90d
        - 180d
        - 1y
        - max
    L2beatProjectTvs:
      properties:
        '@type':
          type: string
          default: L2beatProjectTvs
        total:
          anyOf:
            - type: number
            - type: 'null'
        native:
          anyOf:
            - type: number
            - type: 'null'
        canonical:
          anyOf:
            - type: number
            - type: 'null'
        external:
          anyOf:
            - type: number
            - type: 'null'
        ether:
          anyOf:
            - type: number
            - type: 'null'
        stablecoin:
          anyOf:
            - type: number
            - type: 'null'
        btc:
          anyOf:
            - type: number
            - type: 'null'
        other:
          anyOf:
            - type: number
            - type: 'null'
        rwa_restricted:
          anyOf:
            - type: number
            - type: 'null'
        rwa_public:
          anyOf:
            - type: number
            - type: 'null'
        associated:
          anyOf:
            - type: number
            - type: 'null'
        change_7d:
          anyOf:
            - type: number
            - type: 'null'
        associated_tokens:
          items:
            $ref: '#/components/schemas/L2beatProjectToken'
          type: array
          default: []
      type: object
    L2beatTvsPoint:
      properties:
        '@type':
          type: string
          default: L2beatTvsPoint
        timestamp:
          type: integer
        eth_price:
          anyOf:
            - type: number
            - type: 'null'
        native:
          anyOf:
            - type: number
            - type: 'null'
        canonical:
          anyOf:
            - type: number
            - type: 'null'
        external:
          anyOf:
            - type: number
            - type: 'null'
        ether:
          anyOf:
            - type: number
            - type: 'null'
        stablecoin:
          anyOf:
            - type: number
            - type: 'null'
        btc:
          anyOf:
            - type: number
            - type: 'null'
        other:
          anyOf:
            - type: number
            - type: 'null'
        rwa_restricted:
          anyOf:
            - type: number
            - type: 'null'
        rwa_public:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - timestamp
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    L2beatProjectToken:
      properties:
        '@type':
          type: string
          default: L2beatProjectToken
        symbol:
          type: string
        icon:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - symbol
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````