Transaction History
Returns fill-level transaction records for your account. Each fill represents a single provider execution within an order, including the on-chain transaction ID.
GET
/api/v1/historyRequires authenticationQuery parameters
periodstringOPTIONALTime period to retrieve history forOne of:
7D30D90DDefault: 7DRequest examples
curl "https://merx.exchange/api/v1/history?period=30D" \
-H "X-API-Key: sk_live_your_key_here"Response
Returns an array of fill objects sorted by creation time descending. Each fill corresponds to a single provider execution and includes the on-chain transaction hash when confirmed.
200Success
[
{
"id": "fill_x1y2z3",
"order_id": "ord_abc123",
"provider": "catfee",
"amount": 65000,
"price_sun": 84,
"cost_sun": 5460000,
"tx_id": "a1b2c3d4e5f6...0987654321",
"created_at": "2026-03-29T10:15:00.000Z",
"confirmed_at": "2026-03-29T10:15:04.000Z",
"resource_type": "ENERGY"
},
{
"id": "fill_a4b5c6",
"order_id": "ord_def456",
"provider": "sohu",
"amount": 100000,
"price_sun": 32,
"cost_sun": 3200000,
"tx_id": "f6e5d4c3b2a1...1234567890",
"created_at": "2026-03-28T14:30:00.000Z",
"confirmed_at": "2026-03-28T14:30:06.000Z",
"resource_type": "ENERGY"
}
]Response fields
idstringUnique fill identifierorder_idstringParent order identifierproviderstringProvider that fulfilled this portionamountnumberAmount of resource in this fillprice_sunnumberPrice per unit in SUNcost_sunnumberTotal cost of this fill in SUNtx_idstringOn-chain transaction hashcreated_atstringISO 8601 timestamp when the fill was createdconfirmed_atstringISO 8601 timestamp when on-chain confirmation receivedresource_typestringENERGY or BANDWIDTH