Signo Execution API

Re-quote and simulate steps at sign time.

GitHub OpenAPI

Operations 2

POST /steps/reencode Re-quote a single step at sign time #
POST /simulate Dry-run steps against a fork before signing #

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/signo-fi:signo-fi-execution-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

signo-fi-execution-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Signo Execution API
  version: 1beta
  summary: Turn a plain-English outcome into a ready-to-sign, multi-step, cross-chain transaction plan.
  description: '# Overview


    **New here?** Start with the Start here guide: what you are building, the three ways in, how keys are issued, and the four calls with copy-paste examples. Then come back here for field-level detail.


    The Signo API exposes the same intent-to-transaction engine that powers the

    Signo app, as a small set of endpoints under a stable, versioned contract.


    ## Non-custodial by contract


    No endpoint ever holds keys, signs, or broadcasts. `/plan` returns UNSIGNED

    transaction data — EVM `to`/`data`/`value` calldata and Solana base64 transaction

    messages — that your own wallet or MPC signer executes. Signo has no signing

    authority anywhere in the flow. The API decides *what* to do and *how* to encode

    it; your signer decides whether to sign it.


    ## The flow: intent, plan, sign


    1. **`POST /intent`** — natural language in, a structured plan out (the `intents[]`:

    *what* to do, not yet *how*). May return `clarifications` instead when the

    request is ambiguous.

    2. **`POST /plan`** — the `intents[]` in, unsigned transactions out (the `steps[]`:

    real calldata your signer executes).

    3. **`POST /steps/reencode`** — re-quote a single step at sign time. Required for

    correct integrations: `chained` and `max` amounts are re-sized from live

    balances, and expiring routes (Jupiter blockhash, LiFi tool pinning) are

    refreshed. Returns `409` when a route is gone and the step must be re-planned.

    4. **`POST /simulate`** *(optional)* — dry-run the `steps[]` against a fork before

    signing to surface reverts and gas up front.


    ## Authentication & metering


    Every request is authenticated with a partner API key as a bearer token

    (`Authorization: Bearer sg_...`). Calls are metered against a per-tenant credit

    balance: **5 credits per delivered call** during beta. Check the balance any time

    with `GET /usage`; feature-detect capabilities and limits with `GET /meta`.


    Agents (programmatic alerts) and webhook delivery ship in this `/v1beta` API — see the

    **Agents** and **Webhook delivery** tags below.'
  contact:
    name: Flip Labs
  x-schema-version: '2026-09-08'
servers:
- url: https://app.signo.fi/api/v1beta
  description: Production (beta)
security:
- PartnerKey: []
tags:
- name: Execution
  description: Re-quote and simulate steps at sign time.
paths:
  /steps/reencode:
    post:
      operationId: reencodeStep
      tags:
      - Execution
      summary: Re-quote a single step at sign time
      description: 'Wraps the app''s `/api/re-encode-step`. Re-encodes one step against the

        real amount available at sign time — required for correct integrations:

        `chained` and `max` amounts are re-sized from live balances, and expiring

        routes (Jupiter blockhash, LiFi tool pinning) are refreshed so the user signs

        the same aggregator and fee structure they were quoted. Returns `409` with

        `error: route_expired` when a pinned route is gone and the step must be

        re-planned via `/plan`.


        Errors: `503 engine_unreachable` when the encoding service cannot be reached.

        Retryable, and no credits are charged.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReencodeRequest'
            examples:
              chainedDeposit:
                summary: Re-encode a chained deposit with the real bridged amount
                value:
                  step:
                    type: deposit
                    asset: USDC
                    chain: base
                    protocol: aave
                    to: 0xa238dd80...
                    data: 0x617ba037...
                  actual_amount: 12391.4
      responses:
        '200':
          description: The freshly encoded transaction data for the step.
          headers:
            Signo-Schema-Version:
              $ref: '#/components/headers/SignoSchemaVersion'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReencodeResponse'
              examples:
                ok:
                  value:
                    ok: true
                    data: 0x617ba037...updated
                    amount_raw: '12391400000'
                    value: '0'
                unsupported:
                  summary: Step kind can't be re-encoded — surface the reason and stop (hard-fail)
                  value:
                    ok: false
                    unsupported_reason: swap re-encode requires a fresh /plan
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '401':
          $ref: '#/components/responses/InvalidKey'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '409':
          $ref: '#/components/responses/RouteExpired'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/NotConfigured'
  /simulate:
    post:
      operationId: simulateSteps
      tags:
      - Execution
      summary: Dry-run steps against a fork before signing
      description: 'Wraps the app''s simulation layer (Tenderly for EVM, a Solana simulate for

        Solana). Executes the `steps[]` against a fork and returns per-step success,

        status, and gas so you can surface reverts and cost before anything is signed.

        Read-only — nothing is broadcast. Costs 5 credits per call.


        Steps marked `success: false` or carrying a build `error` / `solana_error`

        are rejected with `422 plan_build_failed` before simulation or charging.

        The whole request is refused so dependent legs cannot appear successful.

        EVM steps without a valid destination are refused with the same code.


        Calldata-bearing steps are pre-validated against the target address: a step

        that CALLS an address with no deployed code (dead or self-destructed

        contract) returns 400 before any simulation runs. Plain value transfers to

        EOAs are exempt and simulate normally.


        Errors: `503 engine_unreachable` when the encoding service cannot be reached.

        Retryable, and no credits are charged.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SimulateRequest'
      responses:
        '200':
          description: Per-step simulation results plus an aggregate.
          headers:
            Signo-Schema-Version:
              $ref: '#/components/headers/SignoSchemaVersion'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimulateResponse'
              examples:
                ok:
                  value:
                    success: true
                    gas_used: 246,000
                    gas_price: 0.02 gwei
                    gas_price_source: rpc
                    total_cost: $0.02
                    error: null
                    steps:
                    - success: true
                      status: succeeded
                      status_code: 200
                      action: Approve USDC for Kyberswap
                      action_type: Approve
                      asset: USDC
                      gas: 36,138
                      error: null
                    - success: true
                      status: succeeded
                      status_code: 200
                      action: Swap 1 USDC for ETH
                      action_type: Swap
                      asset: USDC
                      gas: 209,862
                      error: null
        '400':
          $ref: '#/components/responses/InvalidRequest'
        '401':
          $ref: '#/components/responses/InvalidKey'
        '402':
          $ref: '#/components/responses/InsufficientCredits'
        '422':
          description: A step failed to build or has no valid EVM destination (plan_build_failed). No credits charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
        '502':
          $ref: '#/components/responses/EngineError'
        '503':
          $ref: '#/components/responses/NotConfigured'
components:
  schemas:
    SimulateRequest:
      type: object
      required:
      - chain
      - sender
      - steps
      properties:
        chain:
          type: string
          description: The chain the steps execute on — one simulate call per chain. EVM slugs dispatch to the Tenderly fork; `solana` dispatches to the Solana simulator.
          enum:
          - ethereum
          - base
          - arbitrum
          - optimism
          - polygon
          - solana
          example: arbitrum
        sender:
          type: string
          description: 'The address the simulation runs FROM (your user''s signing wallet). EVM: required 0x-hex. Solana: applied to any step missing its own `wallet`.'
          example: '0x0036534C48a754163F0f446601f36BCfdA840f57'
        steps:
          type: array
          minItems: 1
          description: The `steps[]` from `/plan` to dry-run.
          items:
            $ref: '#/components/schemas/Step'
      additionalProperties: false
    Error:
      type: object
      description: The single error envelope every 4xx/5xx response uses.
      required:
      - error
      - friendly_message
      - issues
      - request_id
      properties:
        request_id:
          type: string
          description: The id for the failed request — the same value as the `Signo-Request-Id` response header. Quote it in a support request.
          example: 454c6f34-fc9f-4a8c-ae75-797f41b0dd5d
        error:
          type: string
          description: A stable machine-readable error code.
          examples:
          - invalid_request
          - invalid_key
          - insufficient_credits
          - route_expired
          - rate_limited
        friendly_message:
          type: string
          description: A human-readable, user-safe explanation.
        issues:
          type: array
          description: Structured field-level problems, where relevant. Often empty.
          items:
            $ref: '#/components/schemas/Issue'
      additionalProperties: false
    SimulateStepResult:
      type: object
      required:
      - success
      properties:
        success:
          type: boolean
        status:
          type: string
          description: 'Display status: "succeeded", "failed", or "unverified". "failed" means the simulation ran this step and it reverted. "unverified" means the step was not checked, so nothing is confirmed about it; `success` is false and `cause` says why. Branch on `success` and `status`, and do not show an "unverified" step as a failure.'
        cause:
          type: string
          enum:
          - revert
          - timeout
          - provider-error
          - precondition
          - isolated
          description: 'Why the step did not pass. Absent on a step that passed. "revert": the step ran and reverted; it is the only cause of "failed". The others come with "unverified": "timeout" and "provider-error" (the simulation provider gave no result), "precondition" (the wallet cannot fund or approve the step yet), "isolated" (simulated alone, without the steps before it).'
        status_code:
          type: integer
        action:
          type: string
          description: Human label for the step (e.g. "Approve USDC for Kyberswap").
        action_type:
          type: string
          description: Step category (e.g. "Approve", "Transfer", "Swap").
        protocol:
          type: string
        asset:
          type: string
        gas:
          type: string
          description: Per-step gas, comma-formatted string.
        error:
          type: string
          nullable: true
          description: Human-readable revert reason for THIS step — show it in the chat card before opening the wallet.
        asset_changes:
          type: array
          description: Balance changes observed in the fork (may be empty).
          items:
            type: object
            additionalProperties: true
      additionalProperties: true
    PositionDetail:
      type: object
      description: Protocol position display identity. Treat id as opaque, preserve case, and never use labels or underlying token symbols as aggregation keys. This is not a promise that id is a /positions subject identifier or a transaction target.
      required:
      - protocol
      - id
      - label
      properties:
        protocol:
          type: string
          description: Protocol identifier used for the protocol mark.
        id:
          type: string
          description: Opaque exact position identity including its resolved context. Preserve case-sensitive references.
        label:
          type: string
          description: Resolved human-readable position name.
        composition:
          type: string
          description: Optional supporting asset quantities or conditional before/after position size; descriptive only.
      additionalProperties: true
    ReencodeResponse:
      type: object
      required:
      - ok
      properties:
        ok:
          type: boolean
        data:
          type: string
          description: Freshly encoded EVM calldata.
        amount_raw:
          type: string
        value:
          type: string
        solana_tx:
          type: string
          description: Re-built base64 Solana transaction (Solana steps).
        solana_format:
          type: string
          enum:
          - legacy
          - v0
        unsupported_reason:
          type: string
          description: 'Set with `ok: false` when the step can''t be re-encoded. HARD-FAIL: never fall back to signing plan-time calldata — it embeds quote-time amounts and deadlines. Show this reason in the UI and stop (re-plan to continue).'
        unsupported_code:
          type: string
          enum:
          - invalid_request
          - unknown_target
          - step_type_unsupported
          - protocol_unsupported
          - quote_failed
          - target_changed
          - step_incomplete
          description: 'The machine-readable half of `unsupported_reason`, present on every `ok: false`. Branch on this instead of parsing the prose, which is written for people and may change. `quote_failed` is usually worth one retry; `target_changed` means the protocol answered with a different contract than the user reviewed, so re-plan; the rest describe the step or the request and will not improve on retry.'
        quoted_at:
          type: string
          format: date-time
          description: When this quote was priced. Quotes are perishable — the embedded minimum output is set at quote time, so open the wallet immediately and call reencode again if the user idles (~30s+).
      additionalProperties: true
    ReencodeRequest:
      type: object
      required:
      - step
      - actual_amount
      properties:
        step:
          $ref: '#/components/schemas/Step'
        actual_amount:
          type: number
          description: The real amount, in token units (not wei), to re-encode the step for.
          example: 12391.4
      additionalProperties: false
    Issue:
      type: object
      required:
      - message
      properties:
        field:
          type: string
          description: The offending request field, if the problem is field-specific.
        message:
          type: string
          description: What is wrong with that field.
      additionalProperties: false
    SimulateResponse:
      type: object
      required:
      - success
      - steps
      description: The LIVE response contract as returned by the simulation engine (documented from real responses, 2026-07-15 — earlier spec versions published a smaller shape that never matched the wire).
      properties:
        success:
          type: boolean
          description: True when every step simulated successfully.
        gas_used:
          type: string
          description: Total gas across steps, comma-formatted (e.g. "608,282").
          example: 608,282
        gas_price:
          type: string
          description: Gas price used for the $ estimate (e.g. "0.02 gwei").
          example: 0.02 gwei
        gas_price_source:
          type: string
          description: '"rpc" when the price came from a live per-chain RPC read; "fallback" when the hardcoded last-resort price was used ($ figures are approximate in that case).'
          enum:
          - rpc
          - fallback
        total_cost:
          type: string
          description: Estimated total fee in USD (e.g. "$0.02").
          example: $0.02
        error:
          type: string
          nullable: true
          description: 'Human-readable revert reason when the batch failed (e.g. "Return amount is not enough", "ERC20: transfer amount exceeds balance") — safe to show directly in a UI. When the only failures are unverified steps (see `simulated_as`), this says so instead of quoting one of them.'
        simulated_as:
          type: string
          enum:
          - bundle
          - steps
          description: 'For plans of two or more steps. "bundle": the steps ran in order, each on the state the step before it left. "steps": the bundle call did not answer, so each step ran alone on current chain state; a later step that fails there is reported with status "unverified", because it may only lack an earlier step''s approval or balance.'
        steps:
          type: array
          items:
            $ref: '#/components/schemas/SimulateStepResult'
      additionalProperties: true
    Step:
      type: object
      description: 'One unsigned transaction. EVM steps carry `to`/`data`/`value` calldata; Solana

        steps carry a base64 `solana_tx` (+ `solana_format`) instead. A step whose

        `amount` is `chained` is sized from the previous step''s real output at sign time

        — re-encode it via `/steps/reencode` before signing.

        '
      required:
      - order
      - type
      - chain
      - to
      - data
      - value
      properties:
        order:
          type: integer
          description: 1-based execution order.
        type:
          type: string
          enum:
          - transfer
          - bridge
          - approve
          - deposit
          - withdraw
          - stake
          - unstake
          - claim
          - swap
          - borrow
          - repay
          - wrap
        chain:
          type: string
        chain_id:
          type: integer
        protocol:
          type: string
        action_type:
          type: string
          description: Human-facing action label, e.g. "Bridge", "Deposit".
        history_action:
          type: string
          description: Optional operation semantics for History (for example pendle-lp-add); do not infer the operation from the transaction primitive in type.
        operation:
          type: string
          description: Resolved protocol operation, such as close, reduce, cancel or add-collateral. Display metadata; not authorization to execute.
        order_id:
          type: integer
          description: Exact selected order identifier for an order-management operation, when present.
        review_target:
          type: string
          description: Readable resolved vault or market label for review and History; never use it as a transaction target.
        position_detail:
          $ref: '#/components/schemas/PositionDetail'
        asset:
          type: string
        from_chain:
          type: string
        to_chain:
          type: string
        amount:
          type: number
          description: Token-denominated amount. 0 for a chained step until re-encoded.
        amount_exact:
          type: string
          description: Optional canonical human decimal quantity, preserving precision without scientific notation. Token units, not atomic units; not the max sentinel. An exact decimal representation can still describe an estimated outcome when amount_estimated is true.
          example: '0.0000001'
        amount_mode:
          type: string
          enum:
          - all
          description: Preserve full-balance intent independently of the resolved numeric amount. Render all, optionally followed by the estimated quantity; do not replace it with zero or a partial amount.
        unit_price_usd:
          type: number
          exclusiveMinimum: 0
          description: Optional finite positive unit price explicitly resolved by the protocol review adapter, when returned. Display valuation input, not a guaranteed execution price; absence or invalid price remains unknown. Never infer a price from the asset symbol.
        amount_estimated:
          type: boolean
          description: True when the displayed step quantity is an estimate rather than a guaranteed final effect. Keep approximate wording even when amount_exact is present.
        quote_expires_at:
          type: number
          description: Optional quote expiry as Unix seconds. Format in the viewer's local time and check freshness before signing; this metadata does not add an on-chain deadline where the transaction has none.
        amount_raw:
          type: string
          description: Base-unit (wei / smallest-unit) amount as a decimal string.
        to:
          type: string
          description: EVM target contract address. `0x` on Solana steps.
        data:
          type: string
          description: EVM calldata. `0x` on Solana steps.
        value:
          type: string
          description: Native value in wei as a decimal string.
        description:
          type: string
        estimated_gas:
          type: string
        bridge_fee:
          type: number
        bridge_time:
          type: string
        wait_for_bridge:
          type: boolean
          description: True when this step must wait for a preceding bridge mint to land.
        chained:
          type: object
          description: Present when the amount was chained from an earlier producer step.
          properties:
            from_key:
              type: string
              description: The `${wallet}@${chain}@${asset}` of the producer output.
            estimate_amount:
              type: number
            min_output:
              type: number
          additionalProperties: true
        pool_id:
          type: string
        solana_tx:
          type: string
          description: Base64 Solana transaction. Only set when `chain` is solana.
        solana_format:
          type: string
          enum:
          - legacy
          - v0
        solana_error:
          type: string
        slippage:
          type: number
        fee_bps:
          type: number
        swap_tool:
          type: string
          description: Pinned aggregator tool key (e.g. sushiswap-v3) for correct re-quote.
        error:
          type: string
          description: Set when the planner couldn't build this step.
        success:
          type: boolean
      additionalProperties: true
  responses:
    InsufficientCredits:
      description: The tenant's credit balance is below the call cost.
      headers:
        Signo-Schema-Version:
          $ref: '#/components/headers/SignoSchemaVersion'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: insufficient_credits
            friendly_message: This call costs 5 credits; the tenant balance is 3. Top up to continue.
            issues: []
    RateLimited:
      description: Per-key rate-limit tier exceeded. Back off and retry.
      headers:
        Signo-Schema-Version:
          $ref: '#/components/headers/SignoSchemaVersion'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: rate_limited
            friendly_message: Rate limit exceeded for this key. Slow down and retry.
            issues: []
    EngineError:
      description: The upstream planning/simulation engine was unreachable or errored.
      headers:
        Signo-Schema-Version:
          $ref: '#/components/headers/SignoSchemaVersion'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: engine_error
            friendly_message: The planning engine returned an error.
            issues: []
    RouteExpired:
      description: A pinned route is no longer available; re-plan the affected step via `/plan`.
      headers:
        Signo-Schema-Version:
          $ref: '#/components/headers/SignoSchemaVersion'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: route_expired
            friendly_message: This route just expired. Re-plan the step and try again.
            issues: []
    InvalidRequest:
      description: Malformed body, or an unsupported chain/asset. `issues[]` lists the offending fields.
      headers:
        Signo-Schema-Version:
          $ref: '#/components/headers/SignoSchemaVersion'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: invalid_request
            friendly_message: '`prompt` is required.'
            issues:
            - field: prompt
              message: required string
    NotConfigured:
      description: The API is temporarily unavailable. `not_configured` means the service is not set up; `compile_unavailable` means the plain-English compiler is transiently down and the call is worth retrying in a few seconds — typed agent creation is unaffected either way.
      headers:
        Signo-Schema-Version:
          $ref: '#/components/headers/SignoSchemaVersion'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            notConfigured:
              value:
                error: not_configured
                friendly_message: The API is not available right now.
                issues: []
            compileUnavailable:
              value:
                error: compile_unavailable
                friendly_message: Couldn't compile that request right now — this is transient, retry in a few seconds. Typed agent creation is unaffected.
                issues: []
    InvalidKey:
      description: Missing, malformed, revoked, or invalid API key.
      headers:
        Signo-Schema-Version:
          $ref: '#/components/headers/SignoSchemaVersion'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: invalid_key
            friendly_message: 'Missing or malformed API key. Pass it as `Authorization: Bearer sg_...`.'
            issues: []
  headers:
    SignoSchemaVersion:
      description: The public contract version this response was built against.
      schema:
        type: string
        example: '2026-09-08'
  securitySchemes:
    PartnerKey:
      type: http
      scheme: bearer
      bearerFormat: sg_...
      description: 'A partner API key, presented as `Authorization: Bearer sg_...`. Keys are

        scoped to a partner tenant with a rate-limit tier and authorize metered

        spend — keep them server-side. Request early-access keys via signo.fi.

        '
x-tagGroups:
- name: For AI assistants
  tags:
  - Create an agent
- name: Partners · Transactions
  tags:
  - Planning
  - Execution
  - Streaming (SSE)
  - Multi-turn conversations
  - Clarifications
- name: Partners · Agents
  tags:
  - Agents
  - Webhook delivery
  - Telegram
  - Shield
- name: Partners · In-page surfaces
  tags:
  - Partner surfaces
  - Positions
- name: Partners · Account
  tags:
  - Account
  - Versioning