Who occupies a property, or where a company operates
get_occupancyTwo directions from one call. A PROPERTY dfx_id returns the tenants observed at that building: tenant name and dfx_id, occupancy class, leased area, share of the property, and the lease expiration date where the source discloses one. A COMPANY dfx_id returns where that company is observed to operate. company with address (plus city and state) checks ONE claim: does DFX hold this company at this building. Every row carries its evidence tier and its freshness. Free.
not_observed IS NOT VACANT. The published tenancy sources name only the largest tenant of a building, so most real occupiers are outside the disclosure entirely and an absent row is an absent disclosure, never a statement about the space. Accepts the canonical property and company dfx_ids carried by address and name resolution results and by event rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Municipality. The parcel key includes it, so an address without a city resolves poorly. | |
| limit | No | Max rows. A large building can disclose several tenants. | |
| state | No | Two-letter US state code. | |
| dfx_id | No | A property dfx_id (returns its tenants) or a company dfx_id (returns its locations). The direction is read from the object, not from a flag. | |
| address | No | Street address for the one-claim check. Used together with `company`. | |
| company | No | Company name, for the one-claim check. Used together with `address`; a company name alone is refused. |