{
  "x402Version": 2,
  "id": 29710,
  "slug": "29710",
  "resource": "https://x402.ochinimus.app/api/basis",
  "description": "Perp-vs-spot basis for any USDT pair: the premium or discount in %, a contango or backwardation read, and the funding context that goes with it. Use when you need to answer: Is this perp trading above or below spot?",
  "type": "http",
  "serviceName": "AgentFeed",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790342068/bazaar-icons/e1b26d9582fdb91c.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "4a8o45skRPcyjAdyR8yES215Swvh8uTpZD6KLarhxCJ7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "basis_pct": {
                "type": "number"
              },
              "funding_interval_hours": {
                "type": "number"
              },
              "funding_rate_8h": {
                "type": "number"
              },
              "funding_rate_raw": {
                "type": "number"
              },
              "mark_price": {
                "type": "number"
              },
              "spot_price": {
                "type": "number"
              },
              "state": {
                "type": "string"
              },
              "symbol": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "paid": {
            "type": "boolean"
          },
          "tool": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "symbol": "SOLUSDT"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "basis_pct": -0.0499,
              "funding_interval_hours": 8,
              "funding_rate_8h": 0.00008784,
              "funding_rate_raw": 0.00008784,
              "mark_price": 118.201,
              "spot_price": 118.26,
              "state": "flat",
              "symbol": "SOLUSDT"
            },
            "paid": true,
            "tool": "get_basis"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "symbol": {
                    "description": "USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT)",
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "basis_pct": {
                        "type": "number"
                      },
                      "funding_interval_hours": {
                        "type": "number"
                      },
                      "funding_rate_8h": {
                        "type": "number"
                      },
                      "funding_rate_raw": {
                        "type": "number"
                      },
                      "mark_price": {
                        "type": "number"
                      },
                      "spot_price": {
                        "type": "number"
                      },
                      "state": {
                        "type": "string"
                      },
                      "symbol": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "paid": {
                    "type": "boolean"
                  },
                  "tool": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "basis",
    "perps",
    "spot",
    "trading",
    "bazaar"
  ],
  "sourceHost": "x402.ochinimus.app",
  "lastUpdated": "2026-10-08T06:07:51.527Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T06:07:51.251Z"
  },
  "metadata": {
    "serviceName": "AgentFeed",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790342068/bazaar-icons/e1b26d9582fdb91c.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "symbol": "SOLUSDT"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "basis_pct": -0.0499,
                "funding_interval_hours": 8,
                "funding_rate_8h": 0.00008784,
                "funding_rate_raw": 0.00008784,
                "mark_price": 118.201,
                "spot_price": 118.26,
                "state": "flat",
                "symbol": "SOLUSDT"
              },
              "paid": true,
              "tool": "get_basis"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "symbol": {
                      "description": "USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT)",
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "properties": {
                        "basis_pct": {
                          "type": "number"
                        },
                        "funding_interval_hours": {
                          "type": "number"
                        },
                        "funding_rate_8h": {
                          "type": "number"
                        },
                        "funding_rate_raw": {
                          "type": "number"
                        },
                        "mark_price": {
                          "type": "number"
                        },
                        "spot_price": {
                          "type": "number"
                        },
                        "state": {
                          "type": "string"
                        },
                        "symbol": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "paid": {
                      "type": "boolean"
                    },
                    "tool": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.ochinimus.app",
    "manifest_name": "x402.ochinimus.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "data": {
      "basis_pct": -0.0499,
      "funding_interval_hours": 8,
      "funding_rate_8h": 0.00008784,
      "funding_rate_raw": 0.00008784,
      "mark_price": 118.201,
      "spot_price": 118.26,
      "state": "flat",
      "symbol": "SOLUSDT"
    },
    "paid": true,
    "tool": "get_basis"
  }
}