All requests and examples are made for Ethereum mainnet, if you plan to use the API for Binance Smart Chain, change the request url as follows: https://api.1inch.exchange/v3.0/56/<method>
{"protocols": ["string" // protocol name]}
Request url
https://api.1inch.exchange/v3.0/1/protocols
curl
curl -X GET "https://api.1inch.exchange/v3.0/1/protocols" -H "accept: application/json"
{"protocols": ["WETH","MOONISWAP","SUSHI","COMPOUND","KYBER","CREAMSWAP","AAVE","CURVE","UNISWAP_V1","UNISWAP_V2","BALANCER","CHAI","OASIS","BANCOR","IEARN","SWERVE","VALUELIQUID","DODO","SHELL","BLACKHOLESWAP","PMM1","DEFISWAP","COFIX","ZRX","LUASWAP","MINISWAP","MSTABLE","AAVE_LIQUIDATOR","SYNTHETIX","AAVE_V2","ST_ETH","ONE_INCH_LP","LINKSWAP","S_FINANCE","ONE_INCH_LP_1_1","PSM","ONE_INCH_LP_MIGRATOR_V1_1","UNISWAP_V2_MIGRATOR","SUSHISWAP_MIGRATOR","ONE_INCH_LP_MIGRATOR","POWERINDEX","INDEXED_FINANCE","XSIGMA"]}
access-control-allow-origin: *cache-control: public,max-age=300,s-maxage=300cf-cache-status: EXPIREDcf-ray: 5f5a1db51b42ce57-LHRcf-request-id: 068c30e52f0000ce57b4147000000001content-encoding: gzipcontent-type: application/json; charset=utf-8date: Sat,21 Nov 2020 11:36:58 GMTetag: W/"112-T1BoBhMy/HlaxNYUF37wYQpulZ0"expect-ct: max-age=604800,report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"server: cloudflarestatus: 200vary: Origin,Accept-Encodingx-powered-by: Express
Test your request in web interface: https://api.1inch.exchange/swagger/ethereum/#/Protocols/ProtocolsController_getProtocols​
{"protocols": [{"id": "string","title": "string","img": "string"}]}​
Request url
https://api.1inch.exchange/v3.0/1/protocols/images
curl
curl -X GET "https://api.1inch.exchange/v3.0/1/protocols/images" -H "accept: application/json"
{"protocols": [{"id": "WETH","title": "WETH","img": "https://api.1inch.exchange/WETH.png"},{"id": "MOONISWAP","title": "Mooniswap","img": "https://api.1inch.exchange/mooniswap.png"},{"id": "SUSHI","title": "Sushiswap","img": "https://api.1inch.exchange/Sushiswap.png"},{"id": "COMPOUND","title": "Compound","img": "https://api.1inch.exchange/Compound.png"},{"id": "KYBER","title": "Kyber","img": "https://api.1inch.exchange/kyber.png"},{"id": "CREAMSWAP","title": "Creamswap","img": "https://api.1inch.exchange/cream.png"},{"id": "AAVE","title": "Aave","img": "https://api.1inch.exchange/aave.png"},{"id": "CURVE","title": "Curve","img": "https://api.1inch.exchange/Curve.png"},{"id": "UNISWAP_V1","title": "Uniswap V1","img": "https://api.1inch.exchange/uniswap.png"},{"id": "UNISWAP_V2","title": "Uniswap V2","img": "https://api.1inch.exchange/uniswap.png"},{"id": "BALANCER","title": "Balancer","img": "https://api.1inch.exchange/balancer.png"},{"id": "CHAI","title": "Chai","img": "https://api.1inch.exchange/chai.png"},{"id": "OASIS","title": "Oasis","img": "https://api.1inch.exchange/oasis.png"},{"id": "BANCOR","title": "Bancor","img": "https://api.1inch.exchange/bancor.png"},{"id": "IEARN","title": "yEarn","img": "https://api.1inch.exchange/yearn.png"},{"id": "SWERVE","title": "Swerve","img": "https://api.1inch.exchange/Swerve.png"},{"id": "VALUELIQUID","title": "Value Liquid","img": "https://api.1inch.exchange/valuedefi.png"},{"id": "DODO","title": "DODO","img": "https://api.1inch.exchange/dodo.png"},{"id": "SHELL","title": "Shell","img": "https://api.1inch.exchange/shellexchange.png"},{"id": "BLACKHOLESWAP","title": "Blackholeswap","img": "https://api.1inch.exchange/blackholeswap.png"},{"id": "PMM1","title": "PMM1","img": "https://api.1inch.exchange/pmm.png"},{"id": "DEFISWAP","title": "DeFi Swap","img": "https://api.1inch.exchange/defiswap.png"},{"id": "COFIX","title": "CoFix","img": "https://api.1inch.exchange/cofix.png"},{"id": "ZRX","title": "0x","img": "https://api.1inch.exchange/0xapi.png"},{"id": "LUASWAP","title": "Lua Swap","img": "https://api.1inch.exchange/luaswap.png"},{"id": "MINISWAP","title": "Mini Swap","img": "https://api.1inch.exchange/miniswap.png"},{"id": "MSTABLE","title": "mStable","img": "https://api.1inch.exchange/mStable.png"},{"id": "AAVE_LIQUIDATOR","title": "Aave Liquidator","img": "https://api.1inch.exchange/aave.png"},{"id": "SYNTHETIX","title": "Synthetix","img": "https://api.1inch.exchange/synthetix.png"},{"id": "AAVE_V2","title": "Aave V2","img": "https://api.1inch.exchange/aave.png"},{"id": "ST_ETH","title": "stETH","img": "https://api.1inch.exchange/stETH.png"},{"id": "ONE_INCH_LP","title": "1inch LP v1.0","img": "https://api.1inch.exchange/1inch.png"},{"id": "LINKSWAP","title": "Link Swap","img": "https://api.1inch.exchange/Linkswap.png"},{"id": "S_FINANCE","title": "sFinance","img": "https://api.1inch.exchange/sFinance.png"},{"id": "ONE_INCH_LP_1_1","title": "1inch LP v1.1","img": "https://api.1inch.exchange/1inch.png"},{"id": "PSM","title": "PSM","img": ""},{"id": "ONE_INCH_LP_MIGRATOR_V1_1","title": "1inch LP v1.0 Migrator","img": "https://api.1inch.exchange/1inch.png"},{"id": "UNISWAP_V2_MIGRATOR","title": "Uniswap Migrator","img": "https://api.1inch.exchange/1inch.png"},{"id": "SUSHISWAP_MIGRATOR","title": "SushiSwap Migrator","img": "https://api.1inch.exchange/1inch.png"},{"id": "ONE_INCH_LP_MIGRATOR","title": "Mooniswap Migrator","img": "https://api.1inch.exchange/1inch.png"},{"id": "POWERINDEX","title": "POWERINDEX","img": ""},{"id": "INDEXED_FINANCE","title": "Indexed Finance","img": ""},{"id": "XSIGMA","title": "xSigma","img": ""}]}
access-control-allow-origin: *alt-svc: h3-27=":443"; ma=86400,h3-28=":443"; ma=86400,h3-29=":443"; ma=86400cache-control: public,max-age=300,s-maxage=300cf-cache-status: REVALIDATEDcf-ray: 6304f6820f83dc2b-LHRcf-request-id: 08d6f865480000dc2b0894c000000001content-encoding: brcontent-type: application/json; charset=utf-8date: Mon,15 Mar 2021 10:12:21 GMTetag: W/"db3-GRd+8ygvj0GIpOHAtDeKGXijkwg"expect-ct: max-age=604800,report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"server: cloudflarevary: Origin,Accept-Encodingx-powered-by: Express
Test your request in web interface: https://api.1inch.exchange/swagger/ethereum/#/Protocols/ProtocolsController_getProtocolsImages​