Perp Gap API
Use when an agent needs current premium/discount or funding signals across many stock perps in one cheap call. trade.xyz (Hyperliquid HIP-3) perp mark/oracle vs the live stock price and Solana xStock, basis, hourly and annualized funding, open interest; venues=all adds Aster, Lighter and OKX marks, funding and cross-venue spreads. Errors: 402, 502. Data, not advice.
Offering
- Provider
- perp-gap-api.perpgap.workers.dev
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Blockchain And Crypto
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://perp-gap-api.perpgap.workers.dev/gaps- MIME type
- application/json
- First seen
- 2026-10-16T01:52:25.593Z
- Last seen
- Tags
- Trading, Data, stocks, perps, hyperliquid
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
- 93 ms
- Average latency
- 416 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 15 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": {
"tickers": {
"type": "string",
"description": "Optional comma-separated tickers or 'all' (default: 20 large names)."
},
"venues": {
"type": "string",
"description": "Optional: 'all' adds Aster, Lighter and OKX.",
"enum": [
"all"
]
}
},
"required": [],
"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": {
"tickers": {
"description": "Optional comma-separated tickers or 'all' (default: 20 large names).",
"type": "string"
},
"venues": {
"description": "Optional: 'all' adds Aster, Lighter and OKX.",
"enum": [
"all"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Error responses are JSON {error: string, hint?: string}. 402 payment required; 502 upstream error. Full field docs: /openapi.json.",
"properties": {
"count": {
"type": "number"
},
"dex": {
"type": "string"
},
"disclaimer": {
"type": "string"
},
"generated_at": {
"type": "number"
},
"generated_at_iso": {
"type": "string"
},
"market": {
"type": "object"
},
"not_listed": {
"type": "array"
},
"rows": {
"type": "array"
},
"subrequest_estimate": {
"type": "number"
},
"venues_note": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}