Pred · Arazzo Workflow

PRED trading workflows

Version 1.0.0

End-to-end signed-order trading flow on the Pred prediction exchange.

1 workflow 4 source APIs 1 provider
View Spec View on GitHub CompanyFintechPrediction MarketsSportsTradingExchangeWeb3BlockchainBaseUSDCArazzoWorkflows

Provider

pred

Workflows

login-discover-and-place-order
Login with wallet signature, discover an active market, read its orderbook, place a signed order, and confirm the position.
5 steps inputs: api_key, chain_type, marketID, parentMarketID
1
login
EIP-712 CreateProxy login. Provide X-API-Key and a signed message body.
2
discover
List active parent/child markets (verbose=true).
3
orderbook
Read the orderbook for the chosen parent/child market.
4
place
Place an EIP-712 signed order on the parent market.
5
confirm
Confirm the resulting position.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: PRED trading workflows
  version: 1.0.0
  summary: End-to-end signed-order trading flow on the Pred prediction exchange.
sourceDescriptions:
- name: authenticationApi
  url: ../openapi/pred-authentication-api-openapi.yml
  type: openapi
- name: marketDiscoveryApi
  url: ../openapi/pred-market-discovery-api-openapi.yml
  type: openapi
- name: ordersApi
  url: ../openapi/pred-orders-api-openapi.yml
  type: openapi
- name: portfolioApi
  url: ../openapi/pred-portfolio-api-openapi.yml
  type: openapi
workflows:
- workflowId: login-discover-and-place-order
  summary: Login with wallet signature, discover an active market, read its orderbook, place a signed order, and confirm the position.
  inputs:
    type: object
    properties:
      api_key:
        type: string
      chain_type:
        type: string
        default: base-sepolia
      parentMarketID:
        type: string
      marketID:
        type: string
  steps:
  - stepId: login
    operationId: loginWithSignature
    description: EIP-712 CreateProxy login. Provide X-API-Key and a signed message body.
    outputs:
      access_token: $response.body#/data/access_token
      proxy: $response.body#/data/proxy_wallet_addr
  - stepId: discover
    operationId: getAllParentMarkets
    description: List active parent/child markets (verbose=true).
    outputs:
      total: $response.body#/data/total
  - stepId: orderbook
    operationId: getOrderBook
    description: Read the orderbook for the chosen parent/child market.
    parameters:
    - name: parentMarketID
      in: path
      value: $inputs.parentMarketID
    - name: marketID
      in: path
      value: $inputs.marketID
  - stepId: place
    operationId: placeOrder
    description: Place an EIP-712 signed order on the parent market.
    parameters:
    - name: parentMarketID
      in: path
      value: $inputs.parentMarketID
    outputs:
      order: $response.body
  - stepId: confirm
    operationId: getPositions
    description: Confirm the resulting position.

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/pred-trading"
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.