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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/plaxswap-com:plaxswap-com-sandbox-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
openapi: 3.2.0
info:
title: Plaxswap Sandbox API
version: 1.0.0
summary: Quote and create crypto swaps that pay out straight to your user's address.
description: 'JSON over HTTPS. Coin amounts are decimal strings in coin units ("0.015"), never floats. US dollar values are numbers. Times are ISO 8601 in UTC.
A coin on one network is a method, with an id such as btc, eth-base or usdt-tron: use those ids for from and to.
Partners: send your API key in x-api-key (or Authorization: Bearer) and the end user''s public IP address in x-user-ip, so the country rules apply to that person. Requests without a key act as a regular visitor with no commission.
Errors: every error is { "error": { "code", "message", "details"? } } with a matching HTTP status. The message is plain English and safe to show.
Rate limits are per IP address (the end user''s for partners): each operation lists its limit in x-rate-limit. Going over returns 429 rate_limited.
Sandbox: a build in sim mode simulates every chain. POST /api/dev/deposit and POST /api/dev/mine move test orders forward there (not part of this API).'
contact:
email: support@plaxswap.com
servers:
- url: https://plaxswap.com
description: This deployment
security: []
tags:
- name: Sandbox
description: Only where developer tools are on.
paths:
/api/v1/kyc/{id}/submit:
post:
operationId: submitMockKyc
summary: Submit the mock identity check (sandbox only)
description: Only where developer tools are on (sim mode, local testnet). Names containing "reject" fail; everything else passes. Real deployments use a real provider instead.
tags:
- Sandbox
parameters:
- $ref: '#/components/parameters/KycSessionId'
- name: x-order-token
in: header
required: true
description: The order token returned once by POST /api/v1/orders. Only its holder can change the order.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/KycSubmitRequest'
example:
fullName: Test Person
dateOfBirth: '1990-01-01'
country: BR
documentType: passport
documentNumber: X1234567
responses:
'200':
description: The session after the decision.
content:
application/json:
schema:
$ref: '#/components/schemas/KycSessionView'
'400':
description: 'bad_request: missing or malformed fields, or the session is closed.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'forbidden: the mock provider is off here.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: not_found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: rate_limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security: []
x-rate-limit: 10 per minute
components:
schemas:
KycSessionView:
type: object
properties:
id:
type: string
orderId:
type:
- string
- 'null'
status:
type: string
enum:
- pending
- approved
- rejected
- expired
level:
type: string
enum:
- basic
- full
provider:
type: string
continueUrl:
type:
- string
- 'null'
description: 'While the check is open with a hosted provider (Didit): where the person takes or resumes it.'
inReview:
type: boolean
description: The provider's staff are reviewing the check by hand.
required:
- id
- orderId
- status
- level
- provider
- continueUrl
- inReview
Error:
type: object
description: Every error has this shape, with an HTTP status code that matches.
properties:
error:
type: object
properties:
code:
type: string
description: Stable, machine-readable code, for example "quote_expired".
message:
type: string
description: Plain English, safe to show to the person.
details:
description: Extra data for some errors, for example { field } or { min, max }.
required:
- code
- message
required:
- error
KycSubmitRequest:
type: object
properties:
fullName:
type: string
dateOfBirth:
type: string
description: YYYY-MM-DD.
pattern: ^\d{4}-\d{2}-\d{2}$
country:
type: string
description: ISO 3166-1 alpha-2.
pattern: ^[A-Z]{2}$
documentType:
type: string
enum:
- passport
- national_id
- driving_licence
documentNumber:
type: string
required:
- fullName
- dateOfBirth
- country
- documentType
- documentNumber
parameters:
KycSessionId:
name: id
in: path
required: true
description: Verification session id.
schema:
type: string
pattern: ^k_[0-9a-z]{16}$
securitySchemes:
partnerKey:
type: apiKey
in: header
name: x-api-key
description: Partner API key, pxk_<prefix>_<secret>. Created in the admin console and shown once. A wrong or switched-off key gets 401 invalid_api_key.
partnerBearer:
type: http
scheme: bearer
description: 'The same API key as Authorization: Bearer pxk_<prefix>_<secret>.'
merchantBearer:
type: http
scheme: bearer
description: 'Payment gateway merchant key as Authorization: Bearer pxs_live_<prefix>_<secret> (or pxs_test_... for test mode). Shown once at sign-up.'
merchantCookie:
type: apiKey
in: cookie
name: px_merchant
description: 'Merchant owner session after Google or Telegram login. Writes also require x-px-merchant: 1 and the site Origin. API keys cannot manage accounts, credentials or withdrawals.'
merchantKey:
type: apiKey
in: header
name: x-api-key
description: The same merchant key in x-api-key.
accountCookie:
type: apiKey
in: cookie
name: px_acct
description: The browser's account key (HttpOnly). Set by POST /api/v1/account or /api/v1/account/restore.
externalDocs:
url: https://plaxswap.com/developers
description: Guides, flows and the widget