Search
⌘K
Orderbook API
API version: v4.0
Introduction
Quickstart
Methods
Include a limit order to the 1inch limit orders database POST
Get order by the specified order hash GET
Get orders count by specified filters GET
Get fill/cancel events related to the specified order GET
Get limit orders history by address (Cursor Pagination) GET
Get all limit orders with cursor pagination GET
Get orders by address with cursor pagination GET
Get all orders fill/cancel events with cursor pagination GET
Get all active orders which have permit for the specified wallet address and token GET
Get calculated making amount on trading pair by provided amount GET
Get unique active token pairs with cursor pagination GET
Get market price for a token pair GET
Migration
Migration V3 - V4
SDK
Introduction
Querying the Orderbook
Advanced usage
Docs·APIs·Orderbook API·Methods·v4.0·Get market price for a token pair

Get market price for a token pair

GEThttps://api.1inch.com/orderbook/v4.1/{chain}/receive-quote
Supported on:
ArbitrumAvalancheBaseBNB ChainZKsyncEthereumGnosisOptimismPolygonLineaSonicUnichain

Parameters

chain
* number path
makerAsset
* string query
takerAsset
* string query
amount
number query
isReversed
boolean query

Request Body

This request doesn’t have any request body.

1

Returns

200
400
default

200 response doesn’t have payload.

Did you find what you need?