{
  "x402Version": 2,
  "id": 26502,
  "slug": "26502",
  "resource": "https://api.solenrich.com/entrypoints/perps-market-trend/invoke",
  "description": "Per-symbol deltas for mark price, total OI, long/short skew, utilization, and borrow APR over 7/14/30 days. Direction indicators per metric and per market. Overall direction excludes mark price (price moves are not health signals). Required for regime-detection strategies and any bot that adjusts behavior based on whether markets are growing, stressed, or rebalancing. Mirror of token-trend for perps.",
  "type": "http",
  "serviceName": "SolEnrich",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1780954502/bazaar-icons/31c7c2e1c5cde08e.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "66Qvhr1xnwqbCT36KfHfZF1JpoWdmCQ3uFYTN335CGXe",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "8000",
      "amountUsd": 0.008,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8EdE9eD2E6ACdd9B2BaFa42ff4078d3F3263607c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "8000",
      "amountUsd": 0.008,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "format": "json",
            "lookback": "7d"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "output": {
              "last_updated": "2026-09-22T00:10:10.814Z",
              "lookback_days": 7,
              "markets": [
                {
                  "current": {
                    "borrow_rate_annualized_pct": 12.739,
                    "long_pct": 73.997,
                    "mark_price_usd": 118.57,
                    "short_pct": 26.003,
                    "total_oi_usd": 38218000,
                    "utilization_pct": 8.7648
                  },
                  "data_points": 4,
                  "deltas": [
                    "{…}"
                  ],
                  "market_direction": "improving",
                  "snapshots": [
                    "{…}"
                  ],
                  "symbol": "SOL"
                }
              ],
              "pool": "5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq",
              "totals": {
                "current_total_oi_usd": 65563000,
                "overall_direction": "stable"
              }
            },
            "run_id": "uuid",
            "status": "succeeded"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "format": {
                    "default": "json",
                    "description": "Response format: json (structured fields, default), llm (short deterministic briefing), or both (fields plus llm_summary).",
                    "enum": [
                      "json",
                      "llm",
                      "both"
                    ],
                    "type": "string"
                  },
                  "lookback": {
                    "default": "7d",
                    "description": "History window to compare current state against",
                    "enum": [
                      "7d",
                      "14d",
                      "30d"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "perps",
    "market-trend",
    "open-interest",
    "funding-rate",
    "solana",
    "bazaar"
  ],
  "sourceHost": "api.solenrich.com",
  "lastUpdated": "2026-10-07T23:52:34.019Z",
  "quality": {
    "calls30d": 8,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-07T23:52:33.811Z"
  },
  "metadata": {
    "serviceName": "SolEnrich",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1780954502/bazaar-icons/31c7c2e1c5cde08e.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "format": "json",
              "lookback": "7d"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "output": {
                "last_updated": "2026-09-22T00:10:10.814Z",
                "lookback_days": 7,
                "markets": [
                  {
                    "current": {
                      "borrow_rate_annualized_pct": 12.739,
                      "long_pct": 73.997,
                      "mark_price_usd": 118.57,
                      "short_pct": 26.003,
                      "total_oi_usd": 38218000,
                      "utilization_pct": 8.7648
                    },
                    "data_points": 4,
                    "deltas": [
                      "{…}"
                    ],
                    "market_direction": "improving",
                    "snapshots": [
                      "{…}"
                    ],
                    "symbol": "SOL"
                  }
                ],
                "pool": "5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq",
                "totals": {
                  "current_total_oi_usd": 65563000,
                  "overall_direction": "stable"
                }
              },
              "run_id": "uuid",
              "status": "succeeded"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "format": {
                      "default": "json",
                      "description": "Response format: json (structured fields, default), llm (short deterministic briefing), or both (fields plus llm_summary).",
                      "enum": [
                        "json",
                        "llm",
                        "both"
                      ],
                      "type": "string"
                    },
                    "lookback": {
                      "default": "7d",
                      "description": "History window to compare current state against",
                      "enum": [
                        "7d",
                        "14d",
                        "30d"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.solenrich.com",
    "manifest_name": "api.solenrich.com",
    "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": {
    "example": {},
    "type": "string"
  }
}