Perp Gap API
Use before sizing a tokenized-stock trade or choosing between xStocks and Ondo for execution. For one ticker: each token's Solana pool liquidity, price impact of a $10k buy and sell, rough size executable within 1%, a tradable flag, and Ondo's issuer mint/redeem market. Bad params return 400/404 before any charge. Errors: 400, 402, 404, 502. Data, not advice.
Offering
- Provider
- perp-gap-api.perpgap.workers.dev
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Other
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://perp-gap-api.perpgap.workers.dev/tokens/liquidity- MIME type
- application/json
- First seen
- 2026-10-23T22:13:16.843Z
- Last seen
- Tags
- Trading, Data, tokenized-stocks, Liquidity, rwa
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"payTo": "0x2d82dcB9cC3a168d9Ab25b62C1E33E278A51254F"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"payTo": "5MoL8HNnvZUogGrqiF4T1StmAUpdU7ERA2GUJ7gLrEja"
}
]Observed health
- Status
- Healthy
- Latest latency
- 584 ms
- Average latency
- 460 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 8 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"GET"
]
},
"queryParams": {
"type": "object",
"properties": {
"ticker": {
"type": "string",
"description": "Stock ticker, case-insensitive (free list: GET /catalog).",
"pattern": "^[A-Za-z0-9.]{1,12}$",
"examples": [
"NVDA"
]
}
},
"required": [
"ticker"
],
"additionalProperties": false
}
},
"required": [
"type",
"method"
],
"additionalProperties": false
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"ticker": {
"description": "Stock ticker, case-insensitive (free list: GET /catalog).",
"examples": [
"NVDA"
],
"pattern": "^[A-Za-z0-9.]{1,12}$",
"type": "string"
}
},
"required": [
"ticker"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Error responses are JSON {error: string, hint?: string}. 400 bad params (never charged); 402 payment required; 404 ticker/market not listed (checked before settlement, never charged); 502 upstream error. Full field docs: /openapi.json.",
"properties": {
"as_of": {
"type": "string"
},
"disclaimer": {
"type": "string"
},
"method": {
"type": "string"
},
"summary": {
"type": "object"
},
"ticker": {
"type": "string"
},
"tokens": {
"type": "array"
},
"us_session": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}