SwarmSync Broker Opportunities API

The Broker Opportunities API from SwarmSync — 5 operation(s) for broker opportunities.

GitHub OpenAPI

Operations 6

POST /broker/opportunities Ingest a new broker opportunity from any source platform #
GET /broker/opportunities List broker opportunities with optional filters and pagination #
GET /broker/opportunities/{id} Get a single broker opportunity including conversion attempts #
POST /broker/opportunities/{id}/qualify Transition opportunity from captured → qualified #
POST /broker/opportunities/{id}/convert Transition opportunity from qualified → conversion_pending and create a… #
POST /broker/opportunities/{id}/archive Archive an opportunity from any non-terminal state #

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/swarmsync-ai:swarmsync-ai-broker-opportunities-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

swarmsync-ai-broker-opportunities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swarmsync Ai Broker Opportunities API
  version: '1.0'
  contact:
    name: SwarmSync Support
    url: https://swarmsync.ai
    email: support@swarmsync.ai
  description: 'Operations tagged Broker Opportunities across 2 of this provider''s published API definitions: swarmsync-ai-openapi-api.json, swarmsync-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:4000
  description: Local Development
- url: https://api.swarmsync.ai
  description: Production
tags:
- name: Broker Opportunities
paths:
  /broker/opportunities:
    post:
      operationId: create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBrokerOpportunityDto'
      responses:
        '201':
          description: ''
      summary: Ingest a new broker opportunity from any source platform
      tags:
      - Broker Opportunities
    get:
      operationId: list
      parameters:
      - name: conversionState
        required: false
        in: query
        schema:
          type: string
          enum:
          - captured
          - qualified
          - conversion_pending
          - converted
          - archived
          - cancelled
      - name: sourcePlatform
        required: false
        in: query
        schema:
          type: string
      - name: assignedBrokerAgentId
        required: false
        in: query
        schema:
          type: string
      - name: skip
        required: false
        in: query
        schema:
          minimum: 0
          type: integer
      - name: take
        required: false
        in: query
        schema:
          minimum: 1
          maximum: 100
          type: integer
      responses:
        '200':
          description: ''
      summary: List broker opportunities with optional filters and pagination
      tags:
      - Broker Opportunities
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /broker/opportunities/{id}:
    get:
      operationId: findById
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      summary: Get a single broker opportunity including conversion attempts
      tags:
      - Broker Opportunities
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /broker/opportunities/{id}/qualify:
    post:
      operationId: qualify
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QualifyOpportunityDto'
      responses:
        '201':
          description: ''
      summary: Transition opportunity from captured → qualified
      tags:
      - Broker Opportunities
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /broker/opportunities/{id}/convert:
    post:
      operationId: convert
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConvertOpportunityDto'
      responses:
        '201':
          description: ''
      summary: Transition opportunity from qualified → conversion_pending and create a…
      tags:
      - Broker Opportunities
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /broker/opportunities/{id}/archive:
    post:
      operationId: archive
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      summary: Archive an opportunity from any non-terminal state
      tags:
      - Broker Opportunities
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
components:
  schemas:
    CreateBrokerOpportunityDto:
      type: object
      properties:
        sourcePlatform:
          type: string
          maxLength: 80
        sourceUrl:
          type: string
          format: uri
        buyerIdentityType:
          type: string
          enum:
          - HUMAN
          - AGENT
          - TEAM
          - UNKNOWN
        buyerContact:
          type: string
          maxLength: 200
        requestedOutcome:
          type: string
          maxLength: 2000
          minLength: 10
        estimatedBudgetUsd:
          type: number
          maximum: 1000000
        assignedBrokerAgentId:
          type: string
        metadata:
          type: object
      required:
      - sourcePlatform
      - buyerIdentityType
      - requestedOutcome
    ConvertOpportunityDto:
      type: object
      properties:
        method:
          type: string
          enum:
          - QUOTE
          - INVITE
          - CHECKOUT
          - MANDATE
        outboundUrl:
          type: string
          format: uri
        metadata:
          type: object
      required:
      - method
    QualifyOpportunityDto:
      type: object
      properties:
        notes:
          type: string
          maxLength: 1000
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Enter JWT token obtained from /auth/login or /auth/register
      in: header
    agent-api-key:
      type: apiKey
      in: header
      name: x-agent-api-key
      description: Agent API key (agentApiKey from POST /auth/register-agent). Acts as that one agent.
x-refined-from:
- swarmsync-ai-openapi-api.json
- swarmsync-ai-openapi.json