Orca · Arazzo Workflow

Find an Orca pool by token pair and read its stats

Version 1.0.0

Search Orca Whirlpools for a token pair, then fetch full state for the top-matching pool. Read-only; runs against the open Orca Public REST API.

1 workflow 1 source API 1 provider
View Spec View on GitHub CompanyDefi DexDeFiDEXSolanaAMMLiquidityConcentrated LiquidityBlockchainCryptoArazzoWorkflows

Provider

orca

Workflows

find-pool-by-pair
Search pools by pair, then read the top pool.
Uses search_whirlpools to resolve a pool address, then get_whirlpool.
2 steps inputs: q outputs: pool
1
searchPools
Search Whirlpools by token pair.
2
getPool
Fetch the top-matching pool by address.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Find an Orca pool by token pair and read its stats
  version: 1.0.0
  description: >-
    Search Orca Whirlpools for a token pair, then fetch full state for the
    top-matching pool. Read-only; runs against the open Orca Public REST API.
sourceDescriptions:
- name: whirlpoolsApi
  url: ../openapi/orca-whirlpools-api-openapi.yml
  type: openapi
workflows:
- workflowId: find-pool-by-pair
  summary: Search pools by pair, then read the top pool.
  description: Uses search_whirlpools to resolve a pool address, then get_whirlpool.
  inputs:
    type: object
    properties:
      q:
        type: string
        description: Token pair or symbol query, e.g. "SOL-USDC".
    required: [q]
  steps:
  - stepId: searchPools
    description: Search Whirlpools by token pair.
    operationId: search_whirlpools
    parameters:
    - name: q
      in: query
      value: $inputs.q
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstAddress: $response.body#/data/0/address
  - stepId: getPool
    description: Fetch the top-matching pool by address.
    operationId: get_whirlpool
    parameters:
    - name: address
      in: path
      value: $steps.searchPools.outputs.firstAddress
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      pool: $response.body#/data
  outputs:
    pool: $steps.getPool.outputs.pool

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/orca-find-pool"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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