ZARQ Yield Risk API

The Yield Risk API from ZARQ, for yield risk.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 7

GET /v1/yield/risk/{protocol}/{pool} Yield Risk Endpoint #
GET /v1/yield/traps Yield Traps Endpoint #
GET /v1/yield/overview Yield Overview Endpoint #
GET /v1/yield/protocol/{protocol} Yield Protocol Endpoint #
GET /v1/yield/pool/{pool_id} Yield Pool Detail #
GET /v1/yield/insights Yield Insights Endpoint #
POST /v1/yield/portfolio/analyze Yield Portfolio Analyze #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zarq-ai:zarq-ai-yield-risk-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zarq-ai-yield-risk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ZARQ & Nerq Yield Risk API
  description: Check before you install. Trust scores for ANY software — apps, packages, extensions, websites, games, VPNs, AI tools. 7.5M+ entities. Free API.
  version: 0.1.0
tags:
- name: Yield Risk
paths:
  /v1/yield/risk/{protocol}/{pool}:
    get:
      tags:
      - Yield Risk
      summary: Yield Risk Endpoint
      description: 'Yield Risk Score for a specific pool.


        - **protocol**: Protocol name (e.g. "aave-v3", "lido", "uniswap-v3")

        - **pool**: Pool ID (UUID from DeFiLlama) or symbol (e.g. "USDC-ETH")


        Returns yield_risk_score (0-100), yield_risk_tier, is_yield_trap flag,

        and component breakdown.'
      operationId: yield_risk_endpoint_v1_yield_risk__protocol___pool__get
      parameters:
      - name: protocol
        in: path
        required: true
        schema:
          type: string
          title: Protocol
      - name: pool
        in: path
        required: true
        schema:
          type: string
          title: Pool
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/yield/traps:
    get:
      tags:
      - Yield Risk
      summary: Yield Traps Endpoint
      description: 'Detect all Yield Traps globally.


        A Yield Trap is identified when ANY of:

        - APY > 500% with >80% reward-token dependency (unsustainable emissions)

        - Protocol token rated CRITICAL/WARNING + APY > 100%

        - IL risk flagged + APY 50% (rug risk)

        - Reward ratio > 90% + APY > 50%


        Returns trap list, high-risk list, chain breakdown, and tier distribution.'
      operationId: yield_traps_endpoint_v1_yield_traps_get
      parameters:
      - name: min_apy
        in: query
        required: false
        schema:
          type: number
          description: Minimum APY threshold (default 50%)
          default: 50.0
          title: Min Apy
        description: Minimum APY threshold (default 50%)
      - name: chain
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by chain (e.g. 'Ethereum', 'Solana')
          title: Chain
        description: Filter by chain (e.g. 'Ethereum', 'Solana')
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          description: Max results per category
          default: 50
          title: Limit
        description: Max results per category
      - name: include_stablecoins
        in: query
        required: false
        schema:
          type: boolean
          description: Include stablecoin pools
          default: false
          title: Include Stablecoins
        description: Include stablecoin pools
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/yield/overview:
    get:
      tags:
      - Yield Risk
      summary: Yield Overview Endpoint
      description: 'Global yield market overview.


        Returns aggregate stats: total pools, TVL, APY distribution,

        top TVL pools, and chain breakdown.'
      operationId: yield_overview_endpoint_v1_yield_overview_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/yield/protocol/{protocol}:
    get:
      tags:
      - Yield Risk
      summary: Yield Protocol Endpoint
      description: All yield pools for a specific protocol, enriched with Yield Risk Scores.
      operationId: yield_protocol_endpoint_v1_yield_protocol__protocol__get
      parameters:
      - name: protocol
        in: path
        required: true
        schema:
          type: string
          title: Protocol
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      - name: sort_by
        in: query
        required: false
        schema:
          type: string
          description: 'Sort by: tvl, apy, risk'
          default: tvl
          title: Sort By
        description: 'Sort by: tvl, apy, risk'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/yield/pool/{pool_id}:
    get:
      tags:
      - Yield Risk
      summary: Yield Pool Detail
      description: 'Full pool-analys: metadata + risk score + historisk APY/TVL + divergens-signaler.

        Används för per-pool detaljsida zarq.ai/yield/pool/{pool_id}.'
      operationId: yield_pool_detail_v1_yield_pool__pool_id__get
      parameters:
      - name: pool_id
        in: path
        required: true
        schema:
          type: string
          title: Pool Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/yield/insights:
    get:
      tags:
      - Yield Risk
      summary: Yield Insights Endpoint
      description: 'Global WOW-insikter — pooler med starkast divergens-signaler just nu.

        TVL-exodus, APY-spikes, emission-cliffs, reward-kollaps.

        Kräver att yield_history_crawler.py körts minst en gång.'
      operationId: yield_insights_endpoint_v1_yield_insights_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/yield/portfolio/analyze:
    post:
      tags:
      - Yield Risk
      summary: Yield Portfolio Analyze
      description: 'Portföljanalys för yield-positioner.


        Input: lista av {pool_id, amount_usd}

        Output:

        - Viktad portfölj-riskscore

        - Yield at risk (vad försvinner om reward-emissioner slutar)

        - Trap-exponering

        - Koncentrationsrisk (chain/protokoll)

        - WOW-alerts (aktiva divergens-signaler i din portfölj)

        - Exit-prioritering


        Exempel:

        [

        {"pool_id": "747c1d2a-c668-4682-b9f9-296708a3dd90", "amount_usd": 10000},

        {"pool_id": "46bd2bdf-6d92-4066-b482-e885ee172264", "amount_usd": 5000}

        ]'
      operationId: yield_portfolio_analyze_v1_yield_portfolio_analyze_post
      requestBody:
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/PoolHolding'
              type: array
              title: Holdings
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PoolHolding:
      properties:
        pool_id:
          type: string
          title: Pool Id
        amount_usd:
          type: number
          title: Amount Usd
      type: object
      required:
      - pool_id
      - amount_usd
      title: PoolHolding