/trade/pairs/batchtrade-getPairsBatch market lookup by trade-pair UUID. Body: { "pairIds": ["…", "…"] } (max 100). Returns each matched pair; unmatched pairIds are silently omitted. Prefer this over N parallel calls to /trade/pair/{id}.
| Name | Location | Details |
|---|---|---|
BearerAuth | Authorization header · bearer | JWT issued by the Honeycluster auth service for the `indexer` audience. Present as `Authorization: Bearer <token>`. |
| Field | Type | Description |
|---|---|---|
pairIdsrequired | string[] | Trade-pair UUIDs to resolve. Max 100 per request. Unmatched pairIds are silently omitted. |
{
"pairIds": [
"00000000-0000-0000-0000-000000000000"
]
}| Field | Type | Description |
|---|---|---|
items | object[] | Resolved markets. One entry per matched pairId; unmatched pairIds are silently omitted. |
{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"createdAt": 1745798400,
"updatedAt": 1745798400,
"baseCurrency": "string",
"baseIssuer": "string",
"quoteCurrency": "string",
"quoteIssuer": "string"
}
]
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}| Field | Type | Description |
|---|---|---|
message | string | The error message |
code | string | The error code |
issues | object[] | An array of issues that were responsible for the error |
issues[]. | string |
{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}