SNHP Vend API

The vend API from SNHP — 3 operation(s) for vend.

Operations 3

GET /v1/vend/machine Machine Board #
POST /v1/vend/quote Quote #
POST /v1/vend/settle/{quote_id} Settle #

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/snhp-dev-vend-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

snhp-dev-vend-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Game Theory Layer for AI Agents Vend API
  description: 'Start with ONE tool: POST /v1/negotiate/turn — plain-dollar price negotiation (your walk-away + the other side''s offers in dollars -> the counter to send, a ready-to-send message, accept/walk advice).'
  version: 0.1.0
tags:
- name: vend
paths:
  /v1/vend/machine:
    get:
      tags:
      - vend
      summary: Machine Board
      operationId: machine_board_v1_vend_machine_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/vend/quote:
    post:
      tags:
      - vend
      summary: Quote
      operationId: quote_v1_vend_quote_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteReq'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/vend/settle/{quote_id}:
    post:
      tags:
      - vend
      summary: Settle
      operationId: settle_v1_vend_settle__quote_id__post
      parameters:
      - name: quote_id
        in: path
        required: true
        schema:
          type: string
          title: Quote Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BuyerBlock:
      properties:
        disclosure:
          additionalProperties: true
          type: object
          title: Disclosure
          description: '{''utilities'': {sku: $}, ''walk_cost'': $}'
        peer_proof:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Peer Proof
      type: object
      required:
      - disclosure
      title: BuyerBlock
    QuoteReq:
      properties:
        protocol:
          type: string
          title: Protocol
          default: snhp-price/1
        machine_id:
          type: string
          title: Machine Id
          default: demo-01
        intent:
          $ref: '#/components/schemas/Intent'
      type: object
      required:
      - intent
      title: QuoteReq
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    Intent:
      properties:
        sku:
          type: string
          title: Sku
        quantity:
          type: integer
          maximum: 3.0
          minimum: 1.0
          title: Quantity
          default: 1
        substitutes_ok:
          type: boolean
          title: Substitutes Ok
          default: true
        buyer:
          anyOf:
          - $ref: '#/components/schemas/BuyerBlock'
          - type: 'null'
      type: object
      required:
      - sku
      title: Intent