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.
openapi: 3.2.0
info:
title: MemeSwap Public Solana RPC API
version: 0.1.0-beta
description: 'Public beta HTTP twin of MemeSwap meme-coin research, quotes, and unsigned swap construction. For AI agents prefer live MCP: https://mcp.memeswap.fun/mcp (Fee 0.85%. NFA. Wallet signs. Does not launch tokens). The service does not sign or custody transactions. Provider availability and returned fields can change during the beta.'
contact:
name: Agentic Labs LLC
url: https://memeswap.fun/contact.html
servers:
- url: https://memeswap.fun
description: MemeSwap beta
security: []
tags:
- name: Solana RPC
description: Allowlisted reads and bounded relay of already-signed bytes.
paths:
/api/solrpc:
post:
operationId: callBoundedSolanaRpc
tags:
- Solana RPC
summary: Call the bounded Solana RPC relay
description: 'Forwards an allowlisted JSON-RPC read or simulation method. sendTransaction and sendTransactions accept only already-signed serialized Solana transactions: the relay verifies signatures, enforces the 1,232-byte transaction limit and preflight, and cannot sign, alter, or authorize a transaction. Reads use a fixed 60-second budget of 60 per client address and 1,200 globally; single submissions use 6 and 120; batches of 2-10 use 2 and 20.'
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SolanaRpcRequest'
responses:
'200':
description: JSON-RPC result returned by the configured Solana provider.
content:
application/json:
schema:
$ref: '#/components/schemas/SolanaRpcResponse'
'400':
$ref: '#/components/responses/BadRequest'
'429':
$ref: '#/components/responses/RateLimited'
'502':
$ref: '#/components/responses/UpstreamFailure'
default:
$ref: '#/components/responses/ProviderStatus'
components:
schemas:
SolanaRpcRequest:
type: object
required:
- jsonrpc
- method
- params
properties:
jsonrpc:
const: '2.0'
id: {}
method:
type: string
enum:
- getBalance
- getTokenAccountsByOwner
- getLatestBlockhash
- getSignatureStatuses
- getAccountInfo
- getMultipleAccounts
- getTokenAccountBalance
- sendTransaction
- sendTransactions
- simulateTransaction
- getTransaction
- getBlockHeight
- getSlot
- getRecentPrioritizationFees
params:
type: array
additionalProperties: false
Error:
type: object
required:
- error
properties:
error:
type: string
scope:
type: string
additionalProperties: true
SolanaRpcResponse:
type: object
required:
- jsonrpc
properties:
jsonrpc:
const: '2.0'
id: {}
result: {}
error: {}
additionalProperties: true
responses:
BadRequest:
description: The request failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
UpstreamFailure:
description: A route or RPC provider was unavailable or returned an unusable response.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: The current fixed-window client or global budget is exhausted.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ProviderStatus:
description: Another HTTP error status associated with a route or RPC provider failure. Depending on the operation and provider path, an unlisted upstream status may be passed through. Failures normalized locally return the documented 502 response; the JSON body may be a local error envelope or the provider's response.
content:
application/json:
schema:
type: object
additionalProperties: true