PRUVIQ Macro API

The Macro API from PRUVIQ — 1 operation(s) for macro.

GitHub OpenAPI

Operations 1

GET /macro Get Macro #

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/pruviq-com:pruviq-com-macro-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

pruviq-com-macro-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PRUVIQ Simulation Macro API
  description: Run crypto strategy simulations with realistic costs.
  version: 0.3.0
tags:
- name: Macro
paths:
  /macro:
    get:
      summary: Get Macro
      description: Get macro economic indicators and derivatives data.
      operationId: get_macro_macro_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MacroResponse'
      tags:
      - Macro
components:
  schemas:
    MissingMacroIndicator:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        source:
          type: string
          title: Source
        reason:
          type: string
          enum:
          - unavailable
          - stale
          title: Reason
          default: unavailable
      type: object
      required:
      - id
      - name
      - source
      title: MissingMacroIndicator
      description: Expected indicator that is absent from this payload («unavailable») or served past its age limit («stale»).
    EconomicEvent:
      properties:
        date:
          type: string
          title: Date
        time_utc:
          type: string
          title: Time Utc
          default: ''
        country:
          type: string
          title: Country
          default: ''
        event:
          type: string
          title: Event
        impact:
          type: string
          title: Impact
          default: ''
        forecast:
          anyOf:
          - type: string
          - type: 'null'
          title: Forecast
        previous:
          anyOf:
          - type: string
          - type: 'null'
          title: Previous
      type: object
      required:
      - date
      - event
      title: EconomicEvent
      description: Upcoming economic calendar event.
    DerivativesData:
      properties:
        btc_open_interest_b:
          anyOf:
          - type: number
          - type: 'null'
          title: Btc Open Interest B
        eth_open_interest_b:
          anyOf:
          - type: number
          - type: 'null'
          title: Eth Open Interest B
        btc_ls_ratio:
          anyOf:
          - type: number
          - type: 'null'
          title: Btc Ls Ratio
        eth_ls_ratio:
          anyOf:
          - type: number
          - type: 'null'
          title: Eth Ls Ratio
        btc_oi_change_24h:
          anyOf:
          - type: number
          - type: 'null'
          title: Btc Oi Change 24H
        eth_oi_change_24h:
          anyOf:
          - type: number
          - type: 'null'
          title: Eth Oi Change 24H
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
      type: object
      title: DerivativesData
      description: 'Crypto derivatives market data.


        None = not measured. 2026-10-09 (Q-B180): the four ratio/change fields had a default of 0 and no code ever

        filled them, so /macro published «long/short 0.0» as if measured. Keys stay for consumers; values are null.'
    MacroResponse:
      properties:
        missing_indicators:
          items:
            $ref: '#/components/schemas/MissingMacroIndicator'
          type: array
          title: Missing Indicators
        indicators:
          items:
            $ref: '#/components/schemas/MacroIndicator'
          type: array
          title: Indicators
          default: []
        derivatives:
          anyOf:
          - $ref: '#/components/schemas/DerivativesData'
          - type: 'null'
        events:
          items:
            $ref: '#/components/schemas/EconomicEvent'
          type: array
          title: Events
          default: []
        generated:
          type: string
          title: Generated
          default: ''
      type: object
      title: MacroResponse
      description: Macro economic dashboard response.
    MacroIndicator:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        value:
          type: number
          title: Value
        change:
          anyOf:
          - type: number
          - type: 'null'
          title: Change
        previous:
          anyOf:
          - type: number
          - type: 'null'
          title: Previous
        unit:
          type: string
          title: Unit
          default: ''
        updated:
          type: string
          title: Updated
          default: ''
        updated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Updated At
        source:
          type: string
          title: Source
          default: ''
        stale:
          type: boolean
          title: Stale
          default: false
      type: object
      required:
      - id
      - name
      - value
      title: MacroIndicator
      description: A single macro economic indicator.