{
  "x402Version": 2,
  "id": 72749,
  "slug": "saylorinnovations-api-chain-compound-market",
  "resource": "https://saylorinnovations.com/api/chain/compound-market",
  "description": "Compound III market state on 5 chains: supply and borrow APR, utilization, totals and every collateral asset with its borrow and liquidation factors.",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "chain": {
        "type": "string",
        "description": "the chain name that was queried"
      },
      "chain_id": {
        "type": "number",
        "description": "EIP-155 chain id of that network"
      },
      "market": {
        "type": "string",
        "description": "the Comet market contract"
      },
      "base_asset": {
        "type": "string",
        "description": "the asset that is supplied and borrowed"
      },
      "base_symbol": {
        "type": [
          "string",
          "null"
        ],
        "description": "base asset symbol"
      },
      "base_decimals": {
        "type": "number",
        "description": "base asset decimals"
      },
      "total_supply_base": {
        "type": "string",
        "description": "total base asset supplied"
      },
      "total_borrow_base": {
        "type": "string",
        "description": "total base asset borrowed"
      },
      "utilization_pct": {
        "type": "number",
        "description": "borrowed share of supplied"
      },
      "supply_apr_pct": {
        "type": [
          "number",
          "null"
        ],
        "description": "supply rate, annualised, percent"
      },
      "borrow_apr_pct": {
        "type": [
          "number",
          "null"
        ],
        "description": "borrow rate, annualised, percent"
      },
      "collateral_assets": {
        "type": "number",
        "description": "number of collateral assets"
      },
      "collateral": {
        "description": "collateral assets with their risk factors",
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": "object",
          "properties": {
            "asset": {
              "description": "collateral token",
              "type": [
                "string",
                "null"
              ]
            },
            "symbol": {
              "description": "collateral symbol",
              "type": [
                "string",
                "null"
              ]
            },
            "borrow_collateral_factor_pct": {
              "description": "share of value that can be borrowed against",
              "type": [
                "number",
                "null"
              ]
            },
            "liquidate_collateral_factor_pct": {
              "description": "share at which liquidation starts",
              "type": [
                "number",
                "null"
              ]
            },
            "liquidation_factor_pct": {
              "description": "share of value paid out in liquidation",
              "type": [
                "number",
                "null"
              ]
            },
            "supply_cap": {
              "description": "cap in the token's smallest unit",
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      },
      "note": {
        "type": "string",
        "description": "plain-language reading of the result, including units"
      },
      "source": {
        "type": "string",
        "description": "where the data was read from"
      }
    },
    "required": [
      "chain",
      "chain_id",
      "market",
      "base_asset",
      "total_supply_base",
      "utilization_pct",
      "collateral",
      "note",
      "source"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "chain": "ethereum"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "chain": "ethereum",
            "chain_id": 1,
            "market": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
            "base_asset": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
            "base_symbol": "USDC",
            "base_decimals": 6,
            "total_supply_base": "384243078.678818",
            "total_borrow_base": "348317164.73268",
            "utilization_pct": 90.65,
            "supply_apr_pct": 5.3177,
            "borrow_apr_pct": 6.3404,
            "collateral_assets": 13,
            "collateral": [
              {
                "asset": "0xc00e94cb662c3520282e6f5717214004a7f26888",
                "symbol": "COMP",
                "borrow_collateral_factor_pct": 50,
                "liquidate_collateral_factor_pct": 70,
                "liquidation_factor_pct": 75,
                "supply_cap": "100000000000000000000000"
              },
              {
                "asset": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
                "symbol": "WBTC",
                "borrow_collateral_factor_pct": 80,
                "liquidate_collateral_factor_pct": 85,
                "liquidation_factor_pct": 90,
                "supply_cap": "1000000000000"
              },
              {
                "asset": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                "symbol": "WETH",
                "borrow_collateral_factor_pct": 82.5,
                "liquidate_collateral_factor_pct": 88,
                "liquidation_factor_pct": 93,
                "supply_cap": "500000000000000000000000"
              }
            ],
            "note": "Live Compound III market state read from the Comet contract. In Compound III you supply or borrow only the base asset; the other listed assets are collateral. The supply cap is in the collateral toke…",
            "source": "Chain JSON-RPC (ethereum)"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "chain": {
                    "type": "string",
                    "description": "ethereum, base, arbitrum, polygon or optimism (or chain id)"
                  }
                },
                "required": [
                  "chain"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "chain": {
                    "type": "string",
                    "description": "the chain name that was queried"
                  },
                  "chain_id": {
                    "type": "number",
                    "description": "EIP-155 chain id of that network"
                  },
                  "market": {
                    "type": "string",
                    "description": "the Comet market contract"
                  },
                  "base_asset": {
                    "type": "string",
                    "description": "the asset that is supplied and borrowed"
                  },
                  "base_symbol": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "base asset symbol"
                  },
                  "base_decimals": {
                    "type": "number",
                    "description": "base asset decimals"
                  },
                  "total_supply_base": {
                    "type": "string",
                    "description": "total base asset supplied"
                  },
                  "total_borrow_base": {
                    "type": "string",
                    "description": "total base asset borrowed"
                  },
                  "utilization_pct": {
                    "type": "number",
                    "description": "borrowed share of supplied"
                  },
                  "supply_apr_pct": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "supply rate, annualised, percent"
                  },
                  "borrow_apr_pct": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "borrow rate, annualised, percent"
                  },
                  "collateral_assets": {
                    "type": "number",
                    "description": "number of collateral assets"
                  },
                  "collateral": {
                    "description": "collateral assets with their risk factors",
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": "object",
                      "properties": {
                        "asset": {
                          "description": "collateral token",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "symbol": {
                          "description": "collateral symbol",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "borrow_collateral_factor_pct": {
                          "description": "share of value that can be borrowed against",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "liquidate_collateral_factor_pct": {
                          "description": "share at which liquidation starts",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "liquidation_factor_pct": {
                          "description": "share of value paid out in liquidation",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "supply_cap": {
                          "description": "cap in the token's smallest unit",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "note": {
                    "type": "string",
                    "description": "plain-language reading of the result, including units"
                  },
                  "source": {
                    "type": "string",
                    "description": "where the data was read from"
                  }
                },
                "required": [
                  "chain",
                  "chain_id",
                  "market",
                  "base_asset",
                  "total_supply_base",
                  "utilization_pct",
                  "collateral",
                  "note",
                  "source"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "compound v3 market",
    "comet supply apr",
    "compound borrow rate",
    "compound collateral factors",
    "lending market utilization"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.989Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "description": "ethereum, base, arbitrum, polygon or optimism (or chain id)"
        }
      },
      "required": [
        "chain"
      ]
    },
    "exampleResponse": {
      "chain": "ethereum",
      "chain_id": 1,
      "market": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
      "base_asset": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "base_symbol": "USDC",
      "base_decimals": 6,
      "total_supply_base": "384243078.678818",
      "total_borrow_base": "348317164.73268",
      "utilization_pct": 90.65,
      "supply_apr_pct": 5.3177,
      "borrow_apr_pct": 6.3404,
      "collateral_assets": 13,
      "collateral": [
        {
          "asset": "0xc00e94cb662c3520282e6f5717214004a7f26888",
          "symbol": "COMP",
          "borrow_collateral_factor_pct": 50,
          "liquidate_collateral_factor_pct": 70,
          "liquidation_factor_pct": 75,
          "supply_cap": "100000000000000000000000"
        },
        {
          "asset": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
          "symbol": "WBTC",
          "borrow_collateral_factor_pct": 80,
          "liquidate_collateral_factor_pct": 85,
          "liquidation_factor_pct": 90,
          "supply_cap": "1000000000000"
        },
        {
          "asset": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
          "symbol": "WETH",
          "borrow_collateral_factor_pct": 82.5,
          "liquidate_collateral_factor_pct": 88,
          "liquidation_factor_pct": 93,
          "supply_cap": "500000000000000000000000"
        }
      ],
      "note": "Live Compound III market state read from the Comet contract. In Compound III you supply or borrow only the base asset; the other listed assets are collateral. The supply cap is in the collateral toke…",
      "source": "Chain JSON-RPC (ethereum)"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "chain": "ethereum"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "chain": "ethereum",
              "chain_id": 1,
              "market": "0xc3d688B66703497DAA19211EEdff47f25384cdc3",
              "base_asset": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
              "base_symbol": "USDC",
              "base_decimals": 6,
              "total_supply_base": "384243078.678818",
              "total_borrow_base": "348317164.73268",
              "utilization_pct": 90.65,
              "supply_apr_pct": 5.3177,
              "borrow_apr_pct": 6.3404,
              "collateral_assets": 13,
              "collateral": [
                {
                  "asset": "0xc00e94cb662c3520282e6f5717214004a7f26888",
                  "symbol": "COMP",
                  "borrow_collateral_factor_pct": 50,
                  "liquidate_collateral_factor_pct": 70,
                  "liquidation_factor_pct": 75,
                  "supply_cap": "100000000000000000000000"
                },
                {
                  "asset": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
                  "symbol": "WBTC",
                  "borrow_collateral_factor_pct": 80,
                  "liquidate_collateral_factor_pct": 85,
                  "liquidation_factor_pct": 90,
                  "supply_cap": "1000000000000"
                },
                {
                  "asset": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                  "symbol": "WETH",
                  "borrow_collateral_factor_pct": 82.5,
                  "liquidate_collateral_factor_pct": 88,
                  "liquidation_factor_pct": 93,
                  "supply_cap": "500000000000000000000000"
                }
              ],
              "note": "Live Compound III market state read from the Comet contract. In Compound III you supply or borrow only the base asset; the other listed assets are collateral. The supply cap is in the collateral toke…",
              "source": "Chain JSON-RPC (ethereum)"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "chain": {
                      "type": "string",
                      "description": "ethereum, base, arbitrum, polygon or optimism (or chain id)"
                    }
                  },
                  "required": [
                    "chain"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "chain": {
                      "type": "string",
                      "description": "the chain name that was queried"
                    },
                    "chain_id": {
                      "type": "number",
                      "description": "EIP-155 chain id of that network"
                    },
                    "market": {
                      "type": "string",
                      "description": "the Comet market contract"
                    },
                    "base_asset": {
                      "type": "string",
                      "description": "the asset that is supplied and borrowed"
                    },
                    "base_symbol": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "base asset symbol"
                    },
                    "base_decimals": {
                      "type": "number",
                      "description": "base asset decimals"
                    },
                    "total_supply_base": {
                      "type": "string",
                      "description": "total base asset supplied"
                    },
                    "total_borrow_base": {
                      "type": "string",
                      "description": "total base asset borrowed"
                    },
                    "utilization_pct": {
                      "type": "number",
                      "description": "borrowed share of supplied"
                    },
                    "supply_apr_pct": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "supply rate, annualised, percent"
                    },
                    "borrow_apr_pct": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "borrow rate, annualised, percent"
                    },
                    "collateral_assets": {
                      "type": "number",
                      "description": "number of collateral assets"
                    },
                    "collateral": {
                      "description": "collateral assets with their risk factors",
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "object",
                        "properties": {
                          "asset": {
                            "description": "collateral token",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "symbol": {
                            "description": "collateral symbol",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "borrow_collateral_factor_pct": {
                            "description": "share of value that can be borrowed against",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "liquidate_collateral_factor_pct": {
                            "description": "share at which liquidation starts",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "liquidation_factor_pct": {
                            "description": "share of value paid out in liquidation",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "supply_cap": {
                            "description": "cap in the token's smallest unit",
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "note": {
                      "type": "string",
                      "description": "plain-language reading of the result, including units"
                    },
                    "source": {
                      "type": "string",
                      "description": "where the data was read from"
                    }
                  },
                  "required": [
                    "chain",
                    "chain_id",
                    "market",
                    "base_asset",
                    "total_supply_base",
                    "utilization_pct",
                    "collateral",
                    "note",
                    "source"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/chain/compound-market?chain=ethereum",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "chain": "string",
    "chain_id": 0,
    "market": "string",
    "base_asset": "string",
    "base_symbol": "string",
    "base_decimals": 0,
    "total_supply_base": "string",
    "total_borrow_base": "string",
    "utilization_pct": 0,
    "supply_apr_pct": 0,
    "borrow_apr_pct": 0,
    "collateral_assets": 0,
    "collateral": [
      {
        "asset": "string",
        "symbol": "string",
        "borrow_collateral_factor_pct": 0,
        "liquidate_collateral_factor_pct": 0,
        "liquidation_factor_pct": 0,
        "supply_cap": "string"
      }
    ],
    "note": "string",
    "source": "string"
  }
}