Spraay Communication API

The communication API from Spraay — 9 operation(s) for communication.

GitHub OpenAPI

Operations 9

POST /api/v1/notify/email Send email notification — $0.01 #
POST /api/v1/notify/sms Send SMS notification — $0.02 #
GET /api/v1/notify/status Check notification delivery status — $0.002 #
POST /api/v1/webhook/register Register webhook for events — $0.01 #
POST /api/v1/webhook/test Send test event to webhook — $0.005 #
GET /api/v1/webhook/list List registered webhooks — $0.002 #
POST /api/v1/webhook/delete Delete a webhook — $0.002 #
POST /api/v1/xmtp/send Send encrypted XMTP message — $0.01 #
GET /api/v1/xmtp/inbox Read XMTP inbox — $0.01 #

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/spraay-app:spraay-app-communication-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

spraay-app-communication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spraay App Communication API
  version: 3.8.3
  contact:
    name: Spraay
    url: https://spraay.app
    email: hello@spraay.app
  license:
    name: MIT
  x-guidance: Spraay is a multi-chain payment and AI inference gateway with 160 paid endpoints. Use POST /api/v1/chat/completions for LLM chat (200+ models, OpenAI-compatible). POST /api/v1/batch/execute for batch USDC payments. GET /api/v1/oracle/prices for real-time price feeds. POST /api/v1/robots/task to dispatch robot tasks via RTP. POST /api/v1/search/qna for structured Q&A. Bittensor decentralized AI at /bittensor/v1/chat/completions. Supply chain at /api/v1/sctp/*. All endpoints accept micropayments via x402 and MPP (USDC on Base). No API keys needed — just pay per call.
  description: 'Operations tagged communication across 2 of this provider''s published API definitions: gateway.spraay.app.json, spraay-app-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://gateway.spraay.app
  description: Production (Base mainnet)
security:
- x402: []
tags:
- name: Communication
paths:
  /api/v1/notify/email:
    post:
      operationId: notify-email
      summary: Send email notification — $0.01
      tags:
      - Communication
      description: Paid endpoint — $0.01 per call via x402/MPP. See https://gateway.spraay.app/.well-known/x402.json for full payment details.
      x-payment-info:
        price:
          mode: fixed
          amount: '0.010000'
          currency: USD
        protocols:
        - mpp: {}
        - x402: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
        '402':
          description: Payment Required
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                to:
                  type: string
                subject:
                  type: string
                body:
                  type: string
              required:
              - to
              - body
    servers:
    - url: https://gateway.spraay.app
      description: Production (Base mainnet)
  /api/v1/notify/sms:
    post:
      operationId: notify-sms
      summary: Send SMS notification — $0.02
      tags:
      - Communication
      description: Paid endpoint — $0.02 per call via x402/MPP. See https://gateway.spraay.app/.well-known/x402.json for full payment details.
      x-payment-info:
        price:
          mode: fixed
          amount: '0.020000'
          currency: USD
        protocols:
        - mpp: {}
        - x402: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
        '402':
          description: Payment Required
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                to:
                  type: string
                body:
                  type: string
              required:
              - to
              - body
    servers:
    - url: https://gateway.spraay.app
      description: Production (Base mainnet)
  /api/v1/notify/status:
    get:
      operationId: notify-status
      summary: Check notification delivery status — $0.002
      tags:
      - Communication
      description: Paid endpoint — $0.002 per call via x402/MPP. See https://gateway.spraay.app/.well-known/x402.json for full payment details.
      x-payment-info:
        price:
          mode: fixed
          amount: '0.002000'
          currency: USD
        protocols:
        - mpp: {}
        - x402: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
        '402':
          description: Payment Required
      parameters:
      - name: id
        in: query
        required: true
        schema:
          type: string
    servers:
    - url: https://gateway.spraay.app
      description: Production (Base mainnet)
  /api/v1/webhook/register:
    post:
      operationId: webhook-register
      summary: Register webhook for events — $0.01
      tags:
      - Communication
      description: Paid endpoint — $0.01 per call via x402/MPP. See https://gateway.spraay.app/.well-known/x402.json for full payment details.
      x-payment-info:
        price:
          mode: fixed
          amount: '0.010000'
          currency: USD
        protocols:
        - mpp: {}
        - x402: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  secret:
                    type: string
                  status:
                    type: string
        '402':
          description: Payment Required
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                events:
                  type: array
              required:
              - url
              - events
    servers:
    - url: https://gateway.spraay.app
      description: Production (Base mainnet)
  /api/v1/webhook/test:
    post:
      operationId: webhook-test
      summary: Send test event to webhook — $0.005
      tags:
      - Communication
      description: Paid endpoint — $0.005 per call via x402/MPP. See https://gateway.spraay.app/.well-known/x402.json for full payment details.
      x-payment-info:
        price:
          mode: fixed
          amount: '0.005000'
          currency: USD
        protocols:
        - mpp: {}
        - x402: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  delivered:
                    type: boolean
        '402':
          description: Payment Required
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                webhookId:
                  type: string
              required:
              - webhookId
    servers:
    - url: https://gateway.spraay.app
      description: Production (Base mainnet)
  /api/v1/webhook/list:
    get:
      operationId: webhook-list
      summary: List registered webhooks — $0.002
      tags:
      - Communication
      description: Paid endpoint — $0.002 per call via x402/MPP. See https://gateway.spraay.app/.well-known/x402.json for full payment details.
      x-payment-info:
        price:
          mode: fixed
          amount: '0.002000'
          currency: USD
        protocols:
        - mpp: {}
        - x402: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhooks:
                    type: array
                  total:
                    type: number
        '402':
          description: Payment Required
      parameters: []
    servers:
    - url: https://gateway.spraay.app
      description: Production (Base mainnet)
  /api/v1/webhook/delete:
    post:
      operationId: webhook-delete
      summary: Delete a webhook — $0.002
      tags:
      - Communication
      description: Paid endpoint — $0.002 per call via x402/MPP. See https://gateway.spraay.app/.well-known/x402.json for full payment details.
      x-payment-info:
        price:
          mode: fixed
          amount: '0.002000'
          currency: USD
        protocols:
        - mpp: {}
        - x402: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: boolean
        '402':
          description: Payment Required
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                webhookId:
                  type: string
              required:
              - webhookId
    servers:
    - url: https://gateway.spraay.app
      description: Production (Base mainnet)
  /api/v1/xmtp/send:
    post:
      operationId: xmtp-send
      summary: Send encrypted XMTP message — $0.01
      tags:
      - Communication
      description: Paid endpoint — $0.01 per call via x402/MPP. See https://gateway.spraay.app/.well-known/x402.json for full payment details.
      x-payment-info:
        price:
          mode: fixed
          amount: '0.010000'
          currency: USD
        protocols:
        - mpp: {}
        - x402: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
        '402':
          description: Payment Required
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                to:
                  type: string
                content:
                  type: string
              required:
              - to
              - content
    servers:
    - url: https://gateway.spraay.app
      description: Production (Base mainnet)
  /api/v1/xmtp/inbox:
    get:
      operationId: xmtp-inbox
      summary: Read XMTP inbox — $0.01
      tags:
      - Communication
      description: Paid endpoint — $0.01 per call via x402/MPP. See https://gateway.spraay.app/.well-known/x402.json for full payment details.
      x-payment-info:
        price:
          mode: fixed
          amount: '0.010000'
          currency: USD
        protocols:
        - mpp: {}
        - x402: {}
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  messages:
                    type: array
                  total:
                    type: number
        '402':
          description: Payment Required
      parameters:
      - name: address
        in: query
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: string
    servers:
    - url: https://gateway.spraay.app
      description: Production (Base mainnet)
components:
  securitySchemes:
    x402:
      type: http
      scheme: x402
      description: Pay per-call with USDC on Base to 0x86e43BD1d94802bcF431707b67ff4c8F5B7267Ec
externalDocs:
  description: Full docs
  url: https://docs.spraay.app
x-refined-from:
- gateway.spraay.app.json
- spraay-app-openapi.json
x-discovery:
  ownershipProofs: []