Spraay Supply Chain API
The supply-chain API from Spraay — 8 operation(s) for supply-chain.
The supply-chain API from Spraay — 8 operation(s) for supply-chain.
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-supply-chain-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 Supply Chain 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 supply-chain 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: supply-chain
paths:
/api/v1/sctp/supplier:
post:
operationId: sctp-supplier
summary: Register supplier in SCTP — $0.02
tags:
- supply-chain
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:
status:
type: string
supplier:
type: object
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
wallet:
type: string
paymentPrefs:
type: object
required:
- name
- wallet
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/sctp/supplier/:id:
get:
operationId: sctp-supplier-id
summary: Get supplier details — $0.005
tags:
- supply-chain
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:
supplier:
type: object
'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/sctp/po:
post:
operationId: sctp-po
summary: Create purchase order — $0.02
tags:
- supply-chain
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:
status:
type: string
po:
type: object
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
supplierId:
type: string
lineItems:
type: array
currency:
type: string
required:
- supplierId
- lineItems
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/sctp/po/:id:
get:
operationId: sctp-po-id
summary: Get purchase order details — $0.005
tags:
- supply-chain
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:
po:
type: object
'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/sctp/invoice:
post:
operationId: sctp-invoice
summary: Submit invoice for purchase order — $0.02
tags:
- supply-chain
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:
status:
type: string
invoice:
type: object
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
poId:
type: string
supplierId:
type: string
amount:
type: string
currency:
type: string
required:
- poId
- supplierId
- amount
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/sctp/invoice/:id:
get:
operationId: sctp-invoice-id
summary: Get invoice details — $0.005
tags:
- supply-chain
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:
invoice:
type: object
'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/sctp/invoice/verify:
post:
operationId: sctp-invoice-verify
summary: AI-verify invoice against purchase order — $0.03
tags:
- supply-chain
description: Paid endpoint — $0.03 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.030000'
currency: USD
protocols:
- mpp: {}
- x402: {}
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
properties:
verification:
type: object
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
invoiceId:
type: string
required:
- invoiceId
servers:
- url: https://gateway.spraay.app
description: Production (Base mainnet)
/api/v1/sctp/pay:
post:
operationId: sctp-pay
summary: Execute supplier payment — $0.10
tags:
- supply-chain
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:
status:
type: string
txHash:
type: string
amount:
type: string
'402':
description: Payment Required
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
invoiceId:
type: string
batch:
type: boolean
required:
- invoiceId
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: []