Skip to main content
POST
Run a multi-criteria search

Authorizations

Authorization
string
header
required

API key gab_live_… or OAuth access token gat_….

Body

application/json
target
enum<string>
required

buildings returns BDNB buildings; companies returns registered offices.

Available options:
buildings,
companies
conditions
object[]
required

All conditions apply (AND). Empty: everything in the zone.

Maximum array length: 12
any_of
object[]
required

OR groups: at least one condition of each group applies. Up to 4 groups, 12 conditions in total.

Maximum array length: 4
limit
integer
default:20
required

Results per page, 1 to 100. Default 20.

Required range: 1 <= x <= 100
zone
object

Area searched. Required: without it (whole France), and for companies in a whole department, the search is refused with ZONE_REQUIRED.

cursor
string

meta.page.next_cursor of the previous page, with the same filters.

Maximum string length: 400

Response

OK

data
object[]
required

A result: a building (type: building) or a company (type: company).

meta
object
required

Pagination metadata of a list response.