app.swaggerhub.com Open in urlscan Pro
18.208.50.191  Public Scan

URL: https://app.swaggerhub.com/apis/dinngodev/compound-kit/1.0.0
Submission: On October 07 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

   
 * Getting Started
 * Support Center
 * What's New
 * Terms of Service

Sign UpLog In
Create New
MY hub
Search
ORGANIZATIONS
compound-kit1.0.0

Export
Info
Tags
Servers

status

get/status

markets

get/v1/markets

get/v1/markets/{chainId}/{marketId}

positions

post/v1/markets/{chainId}/{marketId}/leverage

post/v1/markets/{chainId}/{marketId}/deleverage

post/v1/markets/{chainId}/{marketId}/collateral-swap

zaps

get/v1/{chainId}/zap-tokens

post/v1/markets/{chainId}/{marketId}/zap-supply

post/v1/markets/{chainId}/{marketId}/zap-withdraw

post/v1/markets/{chainId}/{marketId}/zap-repay

post/v1/markets/{chainId}/{marketId}/zap-borrow

transactions

post/v1/transactions/build

Schemas

schemaTokenMATIC

schemaTokenUSDC

schemaTokenWETH

schemaLeverageLogicsResponse

schemaFlashLoanAggregator

schemaParaSwapV5SwapToken

schemaCompoundV3SupplyCollateral

schemaCompoundV3Borrow

schemaFlashLoanAggregatorRepay

schemaPermitData

schemaTransationsBuildRequest

schemaTransationsBuildResponse

Aa

SAVE
 * Save As New
 * Revert to Last Saved


READ ONLY

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

openapi: 3.0.0
servers:
- url: https://compound-kit-api.protocolink.com
info:
description: API documentation for Compound Kit
version: 1.0.0
title: Compound Kit API
tags:
- name: status
description: Get API status
- name: markets
description: Get multi-chain market data
- name: positions
description: Get the estimated intent result for adjusting the position for a
      specific account along with the necessary approval data for signing
- name: zaps
description: Get the estimated intent result for any token zaps for a specific
      account along with the necessary approval data for signing
- name: transactions
description: Build transaction data
paths:
/status:
get:
tags:
- status
summary: Returns the current version of the API
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
version:
type: string
example: '0.1.3'
/v1/markets:
get:
tags:
- markets
summary: List multi-chain markets
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
marketGroups:
type: array
items:
type: object
properties:
chainId:
type: number
example: 137
markets:
type: array
items:
type: object
properties:
id:
type: string
example: 'USDC'
label:
type: string
example: 'USDC'
/v1/markets/{chainId}/{marketId}:
get:
tags:




XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Last Saved:  11:23:53 am   -   Oct 2, 2023
Valid
Valid Definition
No Errors or Warnings



COMPOUND KIT API

 1.0.0 

OAS 3.0

API documentation for Compound Kit

Servers
https://compound-kit-api.protocolink.com



STATUS

GET API STATUS

GET/status
Returns the current version of the API


MARKETS

GET MULTI-CHAIN MARKET DATA

GET/v1/markets
List multi-chain markets
GET/v1/markets/{chainId}/{marketId}
Get market information and position for an optional account


POSITIONS

GET THE ESTIMATED INTENT RESULT FOR ADJUSTING THE POSITION FOR A SPECIFIC
ACCOUNT ALONG WITH THE NECESSARY APPROVAL DATA FOR SIGNING

POST/v1/markets/{chainId}/{marketId}/leverage
Get the estimated post-leverage position
POST/v1/markets/{chainId}/{marketId}/deleverage
Get the estimated post-deleverage position
POST/v1/markets/{chainId}/{marketId}/collateral-swap
Get the estimated post-collateral-swap position


ZAPS

GET THE ESTIMATED INTENT RESULT FOR ANY TOKEN ZAPS FOR A SPECIFIC ACCOUNT ALONG
WITH THE NECESSARY APPROVAL DATA FOR SIGNING

GET/v1/{chainId}/zap-tokens
List supported tokens for zaps
POST/v1/markets/{chainId}/{marketId}/zap-supply
Get the estimated post-zap-supply
POST/v1/markets/{chainId}/{marketId}/zap-withdraw
Get the estimated post-zap-withdraw
POST/v1/markets/{chainId}/{marketId}/zap-repay
Get the estimated post-zap-repay
POST/v1/markets/{chainId}/{marketId}/zap-borrow
Get the estimated post-zap-borrow


TRANSACTIONS

BUILD TRANSACTION DATA

POST/v1/transactions/build
Get transaction data

SCHEMAS

TokenMATIC
TokenUSDC
TokenWETH
LeverageLogicsResponse
FlashLoanAggregator
ParaSwapV5SwapToken
CompoundV3SupplyCollateral
CompoundV3Borrow
FlashLoanAggregatorRepay
PermitData
TransationsBuildRequest
TransationsBuildResponse
SSL certificates are validated | Do not validate
Routing requests via SwaggerHub proxy | Use browser instead