Trusteed API

Trusteed API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-27); not the provider's own document.

GitHub OpenAPI

Operations 20

GET /.well-known/merchant-index.json Agent integration Discovery and checkout, end to end #
GET /api/docs Interactive API Docs #
POST /api/v1/agent-keys POST /api/v1/agent-keys #
POST /api/v1/agent/search POST /api/v1/agent/search #
POST /api/v1/auth/login POST /api/v1/auth/login #
POST /api/v1/demo/checkout-approval Agent integration Discovery and checkout, end to end #
GET /api/v1/health Health check (GET, no auth) #
POST /api/v1/oauth/token Refresh the token via POST /api/v1/oauth/token #
POST /api/v1/rules/evaluate POST /api/v1/rules/evaluate #
POST /api/v1/sandbox/key POST /api/v1/sandbox/key #
GET /api/v1/stores/directory Paginated/filtered access to the merchant directory #
POST /api/v1/trust/appeal Merchants can formally appeal a score they believe is wrong. #
GET /api/v1/trust/methodology Trust Score methodology #
GET /api/v1/trust/receipts/by-session/{checkoutSessionId} Agent integration Discovery and checkout, end to end #
GET /llms.txt Quick map for LLMs and RAG – capabilities, public pages, endpoints, examples #
POST /{slug}/mcp/checkout Checkout bucket for MCP tools (requires credentials) #
POST /{slug}/mcp/discovery Discovery bucket for MCP tools (no key required) #
POST /{storeslug}/ag-ui Streaming checkout with a human in the loop (AG-UI) #
POST /{storeslug}/ag-ui/confirm Human confirmation step for AG-UI stream #
POST /{store}/ask Protocol coverage #

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/trusteed-xyz:trusteed-xyz-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

trusteed-xyz-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Trusteed API
  version: '2026-11-27'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-27: 20 operation(s) read from 11 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; Trusteed has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 4
    documentation: 16
    pages-with-code: 5
    pages-read: 11
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-27'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://trusteed.xyz/en/demo-store
  - https://trusteed.xyz/en/developers
  - https://trusteed.xyz/en/developers/errors
  - https://trusteed.xyz/en/trust/methodology
  - https://trusteed.xyz/en/for-agents/sdk-quickstarts
  - https://trusteed.xyz/en/developers?setlang=en
  - https://trusteed.xyz/en/developers/agent-checkout
  - https://trusteed.xyz/en/developers/errors?setlang=en
  - https://trusteed.xyz/en/demo-store?setlang=en
  - https://trusteed.xyz/en/protocol-coverage
  - https://trusteed.xyz/en/for-agents
servers:
- url: https://trusteed.xyz
paths:
  /.well-known/merchant-index.json:
    get:
      operationId: get_well_known_merchant_index_json
      tags:
      - API
      summary: Agent integration Discovery and checkout, end to end
      description: Find merchants; produces store slugs and per‑row MCP endpoint information.
      x-source: https://trusteed.xyz/en/developers/agent-checkout
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWellKnownMerchantIndexJsonResponse'
      x-evidence:
        kind: documentation
  /api/docs:
    get:
      operationId: get_api_docs
      tags:
      - Api
      summary: Interactive API Docs
      x-source: https://trusteed.xyz/en/developers
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/agent-keys:
    post:
      operationId: post_api_v1_agent_keys
      tags:
      - Api
      summary: POST /api/v1/agent-keys
      x-source: https://trusteed.xyz/en/developers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentKeysRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://trusteed.xyz/api/v1/agent-keys  -H "Authorization: Bearer <jwt>"  -H "Content-Type: application/json"  -d
          ''{"name":"my-agent","scopes":["search","compare","cart","merchants:read"]}'' Try without a key: Demo & Health endpoints Live The demo-store
          MCP endpoint is public (read-only catalog, JSON-RPC 2.0). The health check is also unauthenticated. Working cURL. Copy and run immedia'
  /api/v1/agent/search:
    post:
      operationId: post_api_v1_agent_search
      tags:
      - Api
      summary: POST /api/v1/agent/search
      x-source: https://trusteed.xyz/en/developers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentSearchRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1AgentSearchResponse'
      x-evidence:
        kind: code-example
        language: python
        snippet: "requests.post(\n \"https://trusteed.xyz/api/v1/agent/search\",\n headers={\"X-Agent-Api-Key\": \"agnt_your_key\"},\n json={\"\
          query\": \"running shoes\", \"limit\": 5}\n)"
  /api/v1/auth/login:
    post:
      operationId: post_api_v1_auth_login
      tags:
      - Api
      summary: POST /api/v1/auth/login
      x-source: https://trusteed.xyz/en/developers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AuthLoginRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl -X POST https://trusteed.xyz/api/v1/auth/login  -d '{"email":"you@example.com","password":"..."}' | jq .token
  /api/v1/demo/checkout-approval:
    post:
      operationId: post_api_v1_demo_checkout_approval
      tags:
      - Api
      summary: Agent integration Discovery and checkout, end to end
      description: Record demo confirmation after preview_checkout and before complete_checkout. Requires sandbox key in X-Agent-Api-Key header.
      x-source: https://trusteed.xyz/en/developers/agent-checkout
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1DemoCheckoutApprovalRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1DemoCheckoutApprovalResponse'
      x-evidence:
        kind: documentation
  /api/v1/health:
    get:
      operationId: get_api_v1_health
      tags:
      - Api
      summary: Health check (GET, no auth)
      x-source: https://trusteed.xyz/en/developers
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/oauth/token:
    post:
      operationId: post_api_v1_oauth_token
      tags:
      - Api
      summary: Refresh the token via POST /api/v1/oauth/token
      x-source: https://trusteed.xyz/en/developers/errors
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/rules/evaluate:
    post:
      operationId: post_api_v1_rules_evaluate
      tags:
      - Api
      summary: POST /api/v1/rules/evaluate
      x-source: https://trusteed.xyz/en/demo-store
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1RulesEvaluateRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/sandbox/key:
    post:
      operationId: post_api_v1_sandbox_key
      tags:
      - Api
      summary: POST /api/v1/sandbox/key
      x-source: https://trusteed.xyz/en/demo-store
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl curl -X POST https://trusteed.xyz/api/v1/sandbox/key  -H "Content-Type: application/json"'
  /api/v1/stores/directory:
    get:
      operationId: get_api_v1_stores_directory
      tags:
      - Api
      summary: Paginated/filtered access to the merchant directory
      x-source: https://trusteed.xyz/en/for-agents
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/trust/appeal:
    post:
      operationId: post_api_v1_trust_appeal
      tags:
      - Api
      summary: Merchants can formally appeal a score they believe is wrong.
      x-source: https://trusteed.xyz/en/trust/methodology
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/trust/methodology:
    get:
      operationId: get_api_v1_trust_methodology
      tags:
      - Api
      summary: Trust Score methodology
      x-source: https://trusteed.xyz/en/developers
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/trust/receipts/by-session/{checkoutSessionId}:
    get:
      operationId: get_api_v1_trust_receipts_by_session_checkoutSessionId
      tags:
      - Api
      summary: Agent integration Discovery and checkout, end to end
      description: Collect the signed receipt for a checkout session. Returns 200 with receipt, 202 if pending, 404 if not issued, etc.
      x-source: https://trusteed.xyz/en/developers/agent-checkout
      parameters:
      - name: checkoutSessionId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1TrustReceiptsBySessionCheckoutsessionidResponse'
      x-evidence:
        kind: documentation
  /llms.txt:
    get:
      operationId: get_llms_txt
      tags:
      - Llms
      summary: Quick map for LLMs and RAG – capabilities, public pages, endpoints, examples
      x-source: https://trusteed.xyz/en/for-agents
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /{slug}/mcp/checkout:
    post:
      operationId: post_slug_mcp_checkout
      tags:
      - Mcp
      summary: Checkout bucket for MCP tools (requires credentials)
      x-source: https://trusteed.xyz/en/for-agents
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostSlugMcpCheckoutRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /{slug}/mcp/discovery:
    post:
      operationId: post_slug_mcp_discovery
      tags:
      - Mcp
      summary: Discovery bucket for MCP tools (no key required)
      x-source: https://trusteed.xyz/en/for-agents
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostSlugMcpDiscoveryRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /{storeslug}/ag-ui:
    post:
      operationId: post_storeslug_ag_ui
      tags:
      - Ag Ui
      summary: Streaming checkout with a human in the loop (AG-UI)
      x-source: https://trusteed.xyz/en/for-agents
      parameters:
      - name: storeslug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostStoreslugAgUiRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /{storeslug}/ag-ui/confirm:
    post:
      operationId: post_storeslug_ag_ui_confirm
      tags:
      - Ag Ui
      summary: Human confirmation step for AG-UI stream
      x-source: https://trusteed.xyz/en/for-agents
      parameters:
      - name: storeslug
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostStoreslugAgUiConfirmRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /{store}/ask:
    post:
      operationId: post_store_ask
      tags:
      - Ask
      summary: Protocol coverage
      x-source: https://trusteed.xyz/en/protocol-coverage
      parameters:
      - name: store
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    GetWellKnownMerchantIndexJsonResponse:
      type: object
      properties:
        store_slugs:
          type: array
          description: List of store slugs with their MCP endpoint URLs
    PostApiV1AgentKeysRequest:
      type: object
      properties:
        name:
          type: string
        scopes:
          type: array
          items:
            type: string
    PostApiV1AgentSearchRequest:
      type: object
      properties:
        query:
          type: string
        limit:
          type: integer
    PostApiV1AgentSearchResponse:
      type: object
      properties:
        X-Agent-Api-Key:
          type: string
    PostApiV1AuthLoginRequest:
      type: object
      properties:
        email:
          type: string
        password:
          type: string
    PostApiV1DemoCheckoutApprovalRequest:
      type: object
      properties:
        store_slug:
          type: string
          description: Slug of the store
        checkout_session_id:
          type: string
          description: ID of the checkout session
      required:
      - store_slug
      - checkout_session_id
    PostApiV1DemoCheckoutApprovalResponse:
      type: object
      properties:
        approval_ref:
          type: string
          description: Reference for the demo approval
        channel:
          type: string
          description: Value is "demo_playground_confirmation"
    PostApiV1RulesEvaluateRequest:
      type: object
      properties:
        agentTrustScore:
          type: number
          description: Agent trust score
        orderContext:
          type: object
          description: Context of the order
        orderContext.cartTotalCents:
          type: number
          description: Cart total in minor currency units
        orderContext.currency:
          type: string
          description: Currency code
        orderContext.itemCount:
          type: number
          description: Number of items in the cart
        orderContext.lineItems:
          type: array
          description: Array of line‑item objects
        orderContext.lineItems[].productId:
          type: string
          description: Product identifier
        orderContext.lineItems[].quantity:
          type: number
          description: Quantity of the product
        orderContext.cartAttributes:
          type: object
          description: Additional cart attributes
        merchantPolicies:
          type: object
          description: Merchant policy overrides (empty in example)
      required:
      - agentTrustScore
      - orderContext
      - orderContext.cartTotalCents
      - orderContext.currency
      - orderContext.itemCount
      - orderContext.lineItems
      - orderContext.lineItems[].productId
      - orderContext.lineItems[].quantity
    GetApiV1TrustReceiptsBySessionCheckoutsessionidResponse:
      type: object
      properties:
        receipt_id:
          type: string
          description: Identifier of the receipt
        call_id:
          type: string
          description: Identifier of the call that generated the receipt
        jws:
          type: string
          description: Signed receipt payload
    PostSlugMcpCheckoutRequest:
      type: object
      properties:
        jsonrpc:
          type: string
        method:
          type: string
        params:
          type: object
        id:
          type: string
      required:
      - jsonrpc
      - method
      - params
      - id
    PostSlugMcpDiscoveryRequest:
      type: object
      properties:
        jsonrpc:
          type: string
        method:
          type: string
        params:
          type: object
        id:
          type: string
      required:
      - jsonrpc
      - method
      - params
      - id
    PostStoreslugAgUiRequest:
      type: object
      properties:
        threadId:
          type: string
        runId:
          type: string
        messages:
          type: array
      required:
      - threadId
      - runId
      - messages
    PostStoreslugAgUiConfirmRequest:
      type: object
      properties:
        token:
          type: string
        approved:
          type: boolean
        threadId:
          type: string
        runId:
          type: string
      required:
      - token
      - approved
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: API
- name: Ag Ui
- name: Api
- name: Ask
- name: Llms
- name: Mcp