Fills by Market
curl --request GET \
--url https://codex-api.nomos.trade/v1/fills \
--header 'Authorization: Bearer <token>'import requests
url = "https://codex-api.nomos.trade/v1/fills"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://codex-api.nomos.trade/v1/fills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"block": 94812405,
"completeThroughTs": 1790862115,
"fills": [
[
0,
1790856012,
94808210,
33,
0,
0,
2000000000,
462000000,
3,
1,
920000,
"0x56687bf447db6ffa42ffe2204a05edaa20f55839",
"0x3f6a0c0d1d7f4b0a9e2c6b8f51a2e94d7c03b6a1e8f5d2c47a9b0e1f3c5d7e9a"
],
[
0,
1790856012,
94808210,
34,
0,
1,
2000000000,
462000000,
3,
0,
0,
"0x1f0ebc543b2d411f66947041625c0aa1ce61cf79",
"0x3f6a0c0d1d7f4b0a9e2c6b8f51a2e94d7c03b6a1e8f5d2c47a9b0e1f3c5d7e9a"
]
],
"next": "1790856012,94808210,34"
}Fills
Fills by Market
Every fill of up to 100 markets in a window of up to 7 days, oldest first, as integer rows: [market, ts, block, logIndex, outcome, side, shares, usd, exchange, isTaker, fee]. market is the place in your markets list; side 0 is buy; shares and usd in micro-units (divide by 1,000,000); fee in micro-shares on V1 buys (exchange 1 or 2, side 0), else micro-USDC. With include, each row also carries the order owner’s wallet and the transaction hash, as strings after fee. Strict: malformed parameters are refused, never clamped. Combo fills are not included.
GET
/
v1
/
fills
Fills by Market
curl --request GET \
--url https://codex-api.nomos.trade/v1/fills \
--header 'Authorization: Bearer <token>'import requests
url = "https://codex-api.nomos.trade/v1/fills"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://codex-api.nomos.trade/v1/fills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"block": 94812405,
"completeThroughTs": 1790862115,
"fills": [
[
0,
1790856012,
94808210,
33,
0,
0,
2000000000,
462000000,
3,
1,
920000,
"0x56687bf447db6ffa42ffe2204a05edaa20f55839",
"0x3f6a0c0d1d7f4b0a9e2c6b8f51a2e94d7c03b6a1e8f5d2c47a9b0e1f3c5d7e9a"
],
[
0,
1790856012,
94808210,
34,
0,
1,
2000000000,
462000000,
3,
0,
0,
"0x1f0ebc543b2d411f66947041625c0aa1ce61cf79",
"0x3f6a0c0d1d7f4b0a9e2c6b8f51a2e94d7c03b6a1e8f5d2c47a9b0e1f3c5d7e9a"
]
],
"next": "1790856012,94808210,34"
}Query Parameters
Response
OK. Gzipped when you send Accept-Encoding: gzip.