Torque MCP API

Agent storefront — Streamable HTTP JSON-RPC at POST /api/mcp

GitHub OpenAPI

Operations 1

POST /api/mcp Torque MCP (Streamable HTTP JSON-RPC) #

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/torque-fi:torque-fi-mcp-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

torque-fi-mcp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Torque API v1 MCP API
  version: '24'
  description: Versioned Platform API for Torque Intelligence (READ), Assistant (DECIDE), and wallet execution (EXECUTE). Business integrators use Bearer sk_live_… (100 requests/minute per key; success responses include X-RateLimit-*; 429 adds Retry-After). Wallet execution requires smart wallet JWT; optional Idempotency-Key on POST execute routes (24h replay). Intelligence schema manifest v7. Legacy paths (/data, /opportunities, /actions, …) are deprecated aliases — see route catalog and X-Torque-Canonical-Path headers.
  contact:
    name: Torque
    url: https://torque.fi
servers:
- url: https://app.torque.fi
  description: Production
- url: http://localhost:3000
  description: Local development
tags:
- name: MCP
  description: Agent storefront — Streamable HTTP JSON-RPC at POST /api/mcp
paths:
  /api/mcp:
    post:
      tags:
      - MCP
      summary: Torque MCP (Streamable HTTP JSON-RPC)
      description: 'Agent storefront over API v1. One JSON-RPC message per POST. GET/DELETE return 405. Paid tools accept Sign in with Torque (OAuth) or Bearer sk_live_…. Unauthenticated paid calls return HTTP 401 + WWW-Authenticate. Setup: https://app.torque.fi/mcp.'
      x-torque-runtime-stage: meta
      security: []
      responses:
        '200':
          description: JSON-RPC success or error envelope
        '202':
          description: JSON-RPC notification accepted
        '400':
          description: Invalid JSON-RPC or unsupported protocol version
        '401':
          description: Paid tool without a valid Bearer; WWW-Authenticate starts OAuth
        '405':
          description: GET/DELETE on this stateless server
      operationId: postApiMcp
      x-operation-id-source: derived
components:
  securitySchemes:
    businessApiKey:
      type: http
      scheme: bearer
      bearerFormat: sk_live_…
      description: Merchant identity, programmatic Torque Intelligence (`GET /api/v1/intelligence/**`), and server-side assistant chat.
    smartWalletJwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: RS256 JWT issued for the email smart-wallet session (same value as in-app smartWalletAuthJWT). Verified with JWT_PUBLIC_KEY / JWT_ISSUER.
x-torque-manifest-version: 24
x-torque-intelligence-schema-version: 7
x-torque-route-catalog:
- method: GET
  path: /api/v1/health
  stage: meta
- method: GET
  path: /api/v1/capabilities
  stage: meta
- method: GET
  path: /api/v1/openapi
  stage: meta
- method: GET
  path: /api/v1/accounts/business
  stage: accounts
  aliases:
  - /api/v1/business/me
- method: GET
  path: /api/v1/accounts/wallet
  stage: accounts
  aliases:
  - /api/v1/wallet/me
- method: POST
  path: /api/v1/accounts/end-users
  stage: accounts
- method: GET
  path: /api/v1/accounts/end-users
  stage: accounts
- method: GET
  path: /api/v1/accounts/end-users/{externalUserId}
  stage: accounts
- method: GET
  path: /api/v1/accounts/end-users/{externalUserId}/deposits
  stage: accounts
- method: GET
  path: /api/v1/intelligence/feed
  stage: read
- method: GET
  path: /api/v1/intelligence/views/trade-angles
  stage: read
  aliases:
  - /api/v1/intelligence/trade-angles
- method: GET
  path: /api/v1/intelligence/views/happening-now
  stage: read
  aliases:
  - /api/v1/intelligence/happening-now
- method: GET
  path: /api/v1/intelligence/views/brief
  stage: read
  aliases:
  - /api/v1/intelligence/brief
- method: GET
  path: /api/v1/intelligence/views/market-outlook
  stage: read
  aliases:
  - /api/v1/intelligence/market-outlook
- method: GET
  path: /api/v1/intelligence/datasets/earnings-spotlight
  stage: read
  aliases:
  - /api/v1/data/earnings-spotlight
  - /api/v1/widgets/earnings-spotlight
- method: GET
  path: /api/v1/intelligence/datasets/events
  stage: read
  aliases:
  - /api/v1/data/events
- method: GET
  path: /api/v1/intelligence/markets/yield
  stage: read
  aliases:
  - /api/v1/opportunities/yield
- method: GET
  path: /api/v1/intelligence/markets/lending
  stage: read
  aliases:
  - /api/v1/opportunities/lending
- method: GET
  path: /api/v1/read/portfolio
  stage: read
- method: POST
  path: /api/v1/connect/confirm
  stage: decide
- method: GET
  path: /api/v1/connect/confirm/verify
  stage: meta
- method: POST
  path: /api/v1/connect/confirm/complete
  stage: decide
- method: POST
  path: /api/v1/connect/authorize/session
  stage: accounts
- method: POST
  path: /api/v1/connect/authorize/complete
  stage: accounts
- method: POST
  path: /api/v1/connect/token
  stage: accounts
- method: POST
  path: /api/v1/decide/assistant/chat
  stage: decide
  aliases:
  - /api/v1/assistant/chat
- method: POST
  path: /api/v1/decide/fulfillment
  stage: decide
- method: POST
  path: /api/v1/execute/trades
  stage: execute
  aliases:
  - /api/v1/actions/trade/swap
- method: POST
  path: /api/v1/execute/trades/solana
  stage: execute
  aliases:
  - /api/v1/actions/trade/swap/solana
- method: POST
  path: /api/v1/execute/transfers/evm
  stage: execute
  aliases:
  - /api/v1/actions/transfer/evm
- method: POST
  path: /api/v1/execute/transfers/solana
  stage: execute
  aliases:
  - /api/v1/actions/transfer/solana
- method: POST
  path: /api/v1/execute/transfers/btc
  stage: execute
  aliases:
  - /api/v1/actions/transfer/btc
- method: POST
  path: /api/v1/execute/lends/evm
  stage: execute
  aliases:
  - /api/v1/actions/lend/evm
- method: POST
  path: /api/v1/execute/borrows/evm
  stage: execute
  aliases:
  - /api/v1/actions/borrow/evm
- method: POST
  path: /api/v1/distribution/bulk
  stage: execute
- method: GET
  path: /api/v1/distribution/runs
  stage: execute
- method: POST
  path: /api/v1/distribution/runs/{runId}/dry-run
  stage: execute
- method: POST
  path: /api/v1/distribution/runs/{runId}/confirm
  stage: execute
- method: GET
  path: /api/v1/distribution/runs/{runId}/reconciliation
  stage: execute