Perp Gap API
Rule-based long/short/watch/avoid verdict with score, confidence and reasons for one trade.xyz stock perp, combining perp-vs-stock gap, basis, funding, SEC EDGAR insider/8-K/13D/dilution filings (14d), news and retail attention. Use when an agent needs a quick directional signal or a sanity check on a single ticker before trading. Data, not financial advice. Errors: 400 missing ticker, 402 payment required, 404 not listed, 502 upstream.
Offering
- Provider
- perp-gap-api.perpgap.workers.dev
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Financial Analysis
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://perp-gap-api.perpgap.workers.dev/verdict- MIME type
- application/json
- First seen
- 2026-10-16T01:52:40.118Z
- Last seen
- Tags
- Trading, Data, stocks, perps, Signals, hyperliquid
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.03 USDC
Atomic price: 30000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.03 USDC
Atomic price: 30000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "30000",
"payTo": "0x2d82dcB9cC3a168d9Ab25b62C1E33E278A51254F"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "30000",
"payTo": "5MoL8HNnvZUogGrqiF4T1StmAUpdU7ERA2GUJ7gLrEja"
}
]Observed health
- Status
- Healthy
- Latest latency
- 267 ms
- Average latency
- 509 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"ticker": {
"description": "One US stock ticker listed as a trade.xyz perp (see free GET /tickers), case-insensitive.",
"examples": [
"TSLA",
"NVDA",
"GME"
],
"pattern": "^[A-Za-z0-9.]{1,10}$",
"type": "string"
}
},
"required": [
"ticker"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
}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": "One US stock ticker listed as a trade.xyz perp (see free GET /tickers), case-insensitive.",
"examples": [
"TSLA",
"NVDA",
"GME"
],
"pattern": "^[A-Za-z0-9.]{1,10}$",
"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}: 400 ticker required; 402 payment required; 404 ticker not listed on trade.xyz; 502 upstream error.",
"properties": {
"confidence": {
"type": "number"
},
"disclaimer": {
"type": "string"
},
"inputs": {
"type": "object"
},
"missing_signals": {
"items": {
"type": "string"
},
"type": "array"
},
"reasons": {
"items": {
"type": "string"
},
"type": "array"
},
"score": {
"type": "number"
},
"ticker": {
"type": "string"
},
"verdict": {
"enum": [
"long",
"short",
"watch",
"avoid"
],
"type": "string"
}
},
"required": [
"ticker",
"verdict",
"confidence",
"disclaimer"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}