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 order by the specified order hash

Get order by the specified order hash

GEThttps://api.1inch.com/orderbook/v4.1/{chain}/order/{orderHash}
Supported on:
ArbitrumAvalancheBaseBNB ChainZKsyncEthereumGnosisOptimismPolygonLineaSonicUnichain

Parameters

chain
* number path
orderHash
* string path

Request Body

This request doesn’t have any request body.

1

Returns

400
default
GetOrderByHashV4Response object
orderHash
* string
createDateTime
* string
signature
* string
orderStatus
* number (Enum)
1
2
3
4
5
6
remainingMakerAmount
* string
makerBalance
* string
makerAllowance
* string
data
* any
allOf[0]
LimitOrderV4Data object
makerAsset
* string
takerAsset
* string
maker
* string
receiver
string
makingAmount
* string
takingAmount
* string
salt
* string
extension
string
makerTraits
string
makerRate
* string
takerRate
* string
orderInvalidReason
* string
isMakerContract
* boolean
events
* array
items
LimitOrderEventV4Response object
id
* number
version
* number
action
* string (Enum)
fill
cancel
orderHash
* string
taker
* string
amount
* string
transactionHash
* string
blockNumber
* number
createDateTime
* string
JSON
1

Did you find what you need?