{
  "x402Version": 2,
  "id": 5306,
  "slug": "5306",
  "resource": "https://x402stock.xyz/api/v1/basis",
  "description": "Scans every US stock that also trades as a 24/7 synthetic perp and returns the gap: official (delayed) price, prev close, perp mark and oracle, funding APR, open interest, and computed `basis_percent` + `basis_vs_prev_close_percent` — the implied overnight move while the US market is shut. Widest dislocation first, plus a plain-English `reading`. `?limit=`, `?min_basis=`. From x402stock",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "limit": 40,
            "min_basis": 0
          },
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-07-30T23:40:00.000Z",
            "count": 2,
            "method": "Legs are joined by ticker symbol. Macro perps (commodities, FX, indices) are excluded because their symbols collide with unrelated US tickers, and any remaining pair differing by more than 25% is treated as a symbol collision rather than a dislocation — see `comparable` and `excluded_reason` per row.",
            "note": null,
            "reading": "US market closed — the 24/7 perp is the live opinion of where these reopen. Widest vs last print: NVDA at 0.84%.",
            "rows": [
              {
                "basis_absolute": 1.53,
                "basis_percent": 0.84,
                "basis_vs_prev_close_percent": 1.58,
                "comparable": true,
                "direction": "premium",
                "equity_as_of": "2026-07-30T20:00:00.000Z",
                "equity_change_percent": 0.73,
                "equity_prev_close": 180.11,
                "equity_price": 181.42,
                "excluded_reason": null,
                "perp_day_volume_usd": 9128441.22,
                "perp_funding_apr_percent": 11.42,
                "perp_mark": 182.95,
                "perp_open_interest": 41230.5,
                "perp_oracle": 182.88,
                "perp_symbol": "xyz:NVDA",
                "ticker": "NVDA"
              },
              {
                "basis_absolute": -1.09,
                "basis_percent": -0.27,
                "basis_vs_prev_close_percent": 0.41,
                "comparable": true,
                "direction": "discount",
                "equity_as_of": "2026-07-30T20:00:00.000Z",
                "equity_change_percent": 0.68,
                "equity_prev_close": 399.4,
                "equity_price": 402.11,
                "excluded_reason": null,
                "perp_day_volume_usd": 4410233.9,
                "perp_funding_apr_percent": -3.19,
                "perp_mark": 401.02,
                "perp_open_interest": 18220.1,
                "perp_oracle": 401.11,
                "perp_symbol": "xyz:TSLA",
                "ticker": "TSLA"
              }
            ],
            "sections": {
              "equities": "ok",
              "perps": "ok"
            },
            "source": "x402stock",
            "total_available": 2,
            "us_market_open": false,
            "venue_map": {
              "equity": "us_listed",
              "perp": "hyperliquid:xyz"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "limit": {
                    "default": 40,
                    "exclusiveMinimum": 0,
                    "maximum": 200,
                    "type": "integer"
                  },
                  "min_basis": {
                    "default": 0,
                    "maximum": 100,
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [
                  "min_basis",
                  "limit"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "as_of": {
                    "type": "string"
                  },
                  "count": {
                    "type": "number"
                  },
                  "method": {
                    "type": "string"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "reading": {
                    "type": "string"
                  },
                  "rows": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "basis_absolute": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "basis_percent": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "basis_vs_prev_close_percent": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "comparable": {
                          "type": "boolean"
                        },
                        "direction": {
                          "enum": [
                            "premium",
                            "discount",
                            "flat",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "equity_as_of": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "equity_change_percent": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "equity_prev_close": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "equity_price": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "excluded_reason": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "perp_day_volume_usd": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "perp_funding_apr_percent": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "perp_mark": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "perp_open_interest": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "perp_oracle": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "perp_symbol": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "ticker": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "ticker",
                        "equity_price",
                        "equity_prev_close",
                        "equity_change_percent",
                        "equity_as_of",
                        "perp_symbol",
                        "perp_mark",
                        "perp_oracle",
                        "perp_funding_apr_percent",
                        "perp_open_interest",
                        "perp_day_volume_usd",
                        "basis_percent",
                        "basis_absolute",
                        "basis_vs_prev_close_percent",
                        "direction",
                        "comparable",
                        "excluded_reason"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "sections": {
                    "additionalProperties": {
                      "enum": [
                        "ok",
                        "unavailable"
                      ],
                      "type": "string"
                    },
                    "propertyNames": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "source": {
                    "const": "x402stock",
                    "type": "string"
                  },
                  "total_available": {
                    "type": "number"
                  },
                  "us_market_open": {
                    "type": "boolean"
                  },
                  "venue_map": {
                    "additionalProperties": false,
                    "properties": {
                      "equity": {
                        "type": "string"
                      },
                      "perp": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "equity",
                      "perp"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "venue_map",
                  "us_market_open",
                  "reading",
                  "method",
                  "count",
                  "rows",
                  "sections",
                  "note",
                  "total_available"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-09-14T18:57:06.54Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-14T18:57:06.259Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402stock.xyz",
    "manifest_name": "x402stock.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}