Spraay Infrastructure API
The infrastructure API from Spraay — 10 operation(s) for infrastructure.
The infrastructure API from Spraay — 10 operation(s) for infrastructure.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/spraay-app:spraay-app-infrastructure-api"
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.
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: 3.2.0
info:
title: Spraay App Infrastructure 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 infrastructure 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: Infrastructure
paths:
/api/v1/rpc/call:
post:
operationId: rpc-call
summary: Premium multi-chain RPC call — $0.001
tags:
- Infrastructure
description: Paid endpoint — $0.001 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.001000'
currency: USD
protocols:
- mpp: {}
- x402: {}
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
jsonrpc:
type: string
result:
type: string
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
chain:
type: string
method:
type: string
params:
type: array
required:
- chain
- method
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/rpc/chains:
get:
operationId: rpc-chains
summary: List supported RPC chains — $0.001
tags:
- Infrastructure
description: Paid endpoint — $0.001 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.001000'
currency: USD
protocols:
- mpp: {}
- x402: {}
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
chains:
type: array
allowedMethods:
type: array
'402':
description: Payment Required
parameters: []
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/storage/pin:
post:
operationId: storage-pin
summary: Pin content to IPFS or Arweave — $0.01
tags:
- Infrastructure
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:
cid:
type: string
status:
type: string
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
data:
type: string
contentType:
type: string
provider:
type: string
required:
- data
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/storage/get:
get:
operationId: storage-get
summary: Retrieve pinned content by CID — $0.005
tags:
- Infrastructure
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:
cid:
type: string
status:
type: string
'402':
description: Payment Required
parameters:
- name: cid
in: query
required: true
schema:
type: string
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/storage/status:
get:
operationId: storage-status
summary: Check pin status — $0.002
tags:
- Infrastructure
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:
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/cron/create:
post:
operationId: cron-create
summary: 'Create scheduled trigger: 5-field cron (UTC, hourly minimum, 100 runs…'
tags:
- Infrastructure
description: Paid endpoint — $0.10 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.100000'
currency: USD
protocols:
- mpp: {}
- x402: {}
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
id:
type: string
status:
type: string
nextRun:
type: string
timezone:
type: string
callback:
type: object
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
action:
type: string
schedule:
type: string
payload:
type: object
callback_url:
type: string
maxRuns:
type: number
metadata:
type: object
required:
- action
- schedule
- payload
- callback_url
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/cron/list:
get:
operationId: cron-list
summary: List your own scheduled jobs — $0.002
tags:
- Infrastructure
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:
jobs:
type: array
total:
type: number
'402':
description: Payment Required
parameters:
- name: status
in: query
required: false
schema:
type: string
- name: action
in: query
required: false
schema:
type: string
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/cron/cancel:
post:
operationId: cron-cancel
summary: Cancel one of your own scheduled jobs — $0.002
tags:
- Infrastructure
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:
jobId:
type: string
status:
type: string
runCount:
type: number
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
jobId:
type: string
required:
- jobId
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/logs/ingest:
post:
operationId: logs-ingest
summary: Ingest structured logs — $0.002
tags:
- Infrastructure
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:
ingested:
type: number
ids:
type: array
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
entries:
type: array
required:
- entries
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/logs/query:
get:
operationId: logs-query
summary: Query structured logs — $0.005
tags:
- Infrastructure
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:
logs:
type: array
total:
type: number
'402':
description: Payment Required
parameters:
- name: service
in: query
required: false
schema:
type: string
- name: level
in: query
required: false
schema:
type: string
- name: since
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: []