List Locations (Bacen GET /loc)
Lists locations created within the [inicio, fim] date-time range, optionally filtered by tipoCob, with pagination. Bacen API Pix v2.9.0: GET /loc
Query Parameters
- Type: string Format: date-timeinicio
the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string Format: date-timefim
the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string enumtipo
Cob Type of charge bound to the location (Bacen tipoCob)
values- cob
- cobv
- cob
- cobv
- Type: object ·paginationrequired
Pagination and sorting parameters
- Type: integer Format: int32page
Page number (zero-based)
- Type: integer Format: int32sizemax:500
Number of items per page (max: 500)
- Type: array string[]sort
Sort criteria in the format 'field,direction' (e.g., 'createdAt,desc')
Headers
- Type: stringx
-branch requiredBranch of the location owner account
- Type: stringx
-account -number requiredNumber of the location owner account
- Type: stringIdempotency
- Key requiredUnique idempotency key
Responses
- application/json
- application/json
- application/json
Request Example for get/loc
curl 'http://localhost/loc?page=0&size=50&sort=' \
--header 'x-branch: ' \
--header 'x-account-number: ' \
--header 'Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"parametros": {
"inicio": "2026-07-31T12:59:10.330Z",
"fim": "2026-07-31T12:59:10.330Z",
"tipoCob": "cob",
"paginacao": {
"paginaAtual": 1,
"itensPorPagina": 1,
"quantidadeDePaginas": 1,
"quantidadeTotalDeItens": 1
}
},
"loc": [
{
"id": "string",
"location": "string",
"tipoCob": "cob",
"status": "ACTIVE",
"txid": "string",
"criacao": "2026-07-31T12:59:10.330Z"
}
]
}