Stabledrop Escrow API

The Escrow API from Stabledrop — 1 operation(s) for escrow.

GitHub OpenAPI

Operations 1

POST /escrow/address Ask the factory where a payment contract with these terms lives, and what it… #

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/stabledrop-me:stabledrop-me-escrow-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

stabledrop-me-escrow-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stabledrop Me Escrow API
  version: 0.1.0
  termsOfService: https://stabledrop.me/terms-of-service/
  description: 'Operations tagged Escrow across 2 of this provider''s published API definitions: openapi.json, stabledrop-me-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Escrow
paths:
  /escrow/address:
    post:
      summary: Ask the factory where a payment contract with these terms lives, and what it…
      description: 'The factory''s own answers, through chainservice: its fee (`quoteCreatorFee`) and the

        address (`getContractAddress`), both eth_calls.


        The MCP tools reach services only through the API layer, so this is how they learn the

        address and fee they quote. Nothing in this service derives either. A 422 means the factory

        would refuse a payment contract this small; a 502 means the chain could not be asked, and the caller

        must not quote anything in its place.'
      operationId: escrow_address_escrow_address_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EscrowAddressBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EscrowAddressResponse'
        '401':
          description: No session, API access key or merchant API key; or one that is unknown, expired, revoked, or made for terms that have since changed. `detail.error` is `api_access_required`, `detail.reason` says which (`missing`, `invalid`, `terms_changed`, `terms_not_accepted`), `detail.access_url` is where to get a key, and `detail.docs_url` is this reference's section on sending one.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: 'amount_too_small: the factory would refuse a payment contract this small.'
        '502':
          description: The factory could not be asked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
      - Bearer: []
      - Session cookie: []
      tags:
      - Escrow
components:
  schemas:
    ErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
          description: What was wrong, in terms a machine can branch on.
      type: object
      required:
      - detail
      title: ErrorResponse
    EscrowAddressResponse:
      properties:
        address:
          type: string
          title: Address
        factory:
          type: string
          title: Factory
        creator_fee:
          type: integer
          title: Creator Fee
          description: The factory's fee on this amount, token base units
        external_id_bytes32:
          type: string
          title: External Id Bytes32
          description: The externalId the factory was asked with, so a payer can ask it themselves
      type: object
      required:
      - address
      - factory
      - creator_fee
      - external_id_bytes32
      title: EscrowAddressResponse
    EscrowAddressBody:
      properties:
        factory:
          type: string
          title: Factory
          description: 'The factory to ask: the one the quote is made against'
        token_address:
          type: string
          title: Token Address
        buyer:
          type: string
          title: Buyer
          description: The nominal buyer's wallet
        seller:
          type: string
          title: Seller
          description: The seller's wallet
        amount:
          type: integer
          title: Amount
          description: Token base units
        expiry_timestamp:
          type: integer
          title: Expiry Timestamp
          description: Unix seconds; 0 for an instant transfer
        arbiter:
          type: string
          title: Arbiter
          description: The arbiter's wallet
        contractservice_id:
          type: string
          title: Contractservice Id
          description: What seeds the address (the external id)
      type: object
      required:
      - factory
      - token_address
      - buyer
      - seller
      - amount
      - expiry_timestamp
      - arbiter
      - contractservice_id
      title: EscrowAddressBody
      description: The terms of a payment contract that may not exist yet. Every field is in the factory's salt.
  securitySchemes:
    Bearer:
      type: http
      description: An API access key (`sd_access_…`, from the site's /myAPIAccessCode page), a merchant API key (`sd_live_…`, created on the site under API keys), or a signed-in user's session token.
      scheme: bearer
    Session_cookie:
      type: apiKey
      description: A signed-in user's session, as the site's browser sends it.
      in: cookie
      name: AUTH-TOKEN
x-refined-from:
- openapi.json
- stabledrop-me-openapi.json