BizKitHub
DokumentationAPI-ExplorerBranch/api/v1/branch/detail
getBranchÖffentliche API v1

/api/v1/branch/detail

Returns the full publicly displayable detail of a single active branch identified by slug. Includes address (without internal delivery notes), opening hours (regular + exceptions), public e-mails and phones, branch type, parent branch reference, operating company (name + IČO + DIČ — public business-register information), the full public photo gallery (logo + main photo + rest), the openedDate and establishedDate timestamps, the currently active closure ("výluka") when the branch is temporarily closed right now, the list of associated people (role and display name only), and pointers to the 4 public legal documents (VOP / reklamace / GDPR / provozní řád) under documents.*. Each documents.* entry carries the post's postId + minimal metadata (title, locale, updatedDate); the full markdown body is fetched separately via GET /api/v1/post/post?apiKey=…&id=<postId>&locale=<locale>. Pass locale=… on this endpoint to pick the language of the metadata pointers.

Internal data (internal code, internal description, staff instructions, AI system prompt, internal billing contact, attached calendars / products / locks, monetary write-offs, franchise-fee percentage) is deliberately excluded from this endpoint.

branchgetApiV1BranchDetail

Parameter

3 in der Query

Query-Parameter

· 3
apiKeystringPflicht

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
slugstringPflicht

Branch slug.

Beispielprague-central
localestringOptional

Preferred locale for the embedded documents (VOP / GDPR / provozní řád / reklamace) and the exact locale of the seo overrides. When the requested locale has content it is returned; otherwise the endpoint falls back to any other available translation and each doc entry surfaces isRequestedLocale: false so the client can render a 'translation missing' hint. Omit to accept any locale.

Beispielcs

Antwortschema

1 dokumentierter Statuscode

200Erfolg
idstringPflicht

Branch slug.

Beispielprague-central
slugstringPflicht
Beispielprague-central
namestringPflicht
BeispielPrague Central
descriptionstringOptional
urlstringOptional
latitudenumberOptional
Beispiel50.0755
longitudenumberOptional
Beispiel14.4378
branchType"own" | "franchise" | "partner"Pflicht

Branch kind declared by the operator. "own" = the organisation runs the branch directly; "franchise" = a third-party franchisee runs it under the organisation's brand; "partner" = a cooperating but independent business.

parentBranchobjectOptional
slugstringPflicht

Slug of the operational parent (regional flagship / HQ).

namestringPflicht
branchType"own" | "franchise" | "partner"Optional
operatingCompanyobjectOptional
namestringOptional

Legal name of the entity operating this branch.

companyRegistrationNumberstringOptional

Czech IČO (or local equivalent). Publicly listed in the business register.

taxIdentificationNumberstringOptional

Czech DIČ / EU VAT ID (or local equivalent).

establishedDateDate | string | string | numberOptional

Legal incorporation / business-registry date of the entity operating this branch. Optional.

Eine von 4 Varianten:
Variante 1
Date

Legal incorporation / business-registry date of the entity operating this branch. Optional.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
openedDateDate | string | string | numberPflicht

Date the branch actually started serving customers. Use this for "In operation since …" copy.

Eine von 4 Varianten:
Variante 1
Date

Date the branch actually started serving customers. Use this for "In operation since …" copy.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
currentClosureobjectOptional
startDateDate | string | string | numberPflicht

When the closure began.

Eine von 4 Varianten:
Variante 1
Date

When the closure began.

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
endDateDate | string | string | numberOptional

When the closure ends. Omitted = open-ended ("until further notice").

Eine von 4 Varianten:
Variante 1
Date

When the closure ends. Omitted = open-ended ("until further notice").

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
reasonstringPflicht

Operator-supplied reason (e.g. "renovation", "flood", "temporarily closed").

mainPhotoUrlstringOptional

URL of the main public photo (also present in photos with isMain=true).

logoUrlstringOptional

URL of the branch logo (also present in photos with isLogo=true).

photosobject[]Pflicht

Full public gallery — every active, non-deleted image on the branch, ordered by position ascending. Each entry carries isMain / isLogo flags so the client can locate the main photo and the logo without a second lookup.

Jedes Array-Element:
urlstringPflicht

Direct URL of the photo.

descriptionstringOptional

Publicly displayable caption.

positionnumberPflicht

Gallery sort position (ascending).

isMainbooleanPflicht

Whether this is the main branch photo (matches mainPhotoUrl).

isLogobooleanPflicht

Whether this image is used as the branch logo (matches logoUrl).

addressobjectOptional
firstNamestringOptional
lastNamestringOptional
companyNamestringOptional
streetAddressstringOptional
citystringOptional
cityPartstringOptional
stateRegionstringOptional
postalCodestringOptional
countrystringOptional

ISO 3166-1 alpha-2 country code.

BeispielCZ
openingHoursobjectPflicht
regularobject[]Pflicht
Jedes Array-Element:
dayOfWeeknumberPflicht

0 = Monday … 6 = Sunday.

Bereich: 0–6
definitionstringPflicht

Time range definition (e.g. "08:00-17:00").

descriptionstringOptional
validFromDate | string | string | numberOptional
Eine von 4 Varianten:
Variante 1
Date
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
validToDate | string | string | numberOptional
Eine von 4 Varianten:
Variante 1
Date
Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
exceptionsobject[]Pflicht
Jedes Array-Element:
datestringPflicht

Exception date (ISO YYYY-MM-DD).

Beispiel2026-12-24
isOpenbooleanPflicht
reasonstringOptional
emailsobject[]Pflicht
Jedes Array-Element:
emailstringPflicht
rolestringOptional
phonesobject[]Pflicht
Jedes Array-Element:
phonestringPflicht
Beispiel+420 777123456
rolestringOptional
peopleobject[]Pflicht
Jedes Array-Element:
rolestringPflicht

Branch person role (e.g. owner, manager, custodian).

customLabelstringOptional

Free-text label that overrides the role display.

namestringOptional

Person display name.

documentsobjectPflicht

The 4 public legal documents attached to the branch. A slot is omitted (not returned as null) when the branch hasn't authored that document in any locale yet — this keeps the response small and lets the client iterate Object.keys(documents) to find what is available.

termsOfBusinessobjectOptional

Metadata pointer to one published branch document (VOP / GDPR / provozní řád / reklamace).

postIdstringPflicht

Public post external id (16-char string) of the document. This endpoint returns metadata only — the full document body (title, markdown content) is fetched separately via GET /api/v1/post/post?apiKey=…&id=<postId>&locale=<locale> where <locale> should match the locale field returned alongside this postId (e.g. cs when this entry reports locale: "cs").

Recipe for an AI agent / integration:

  1. Call GET /api/v1/branch/detail?apiKey=…&slug=<branch>&locale=<preferred> to obtain the documents.<slot>.postId for the required slot (termsOfBusiness / reclaim / gdpr / operatingRules).
  2. Call GET /api/v1/post/post?apiKey=…&id=<postId>&locale=<documents.<slot>.locale> to fetch the full post (title, content in markdown, updatedDate).
  3. Pair with /api/v1/post/history?apiKey=…&id=<postId> for the revision log of that document.

This two-call pattern keeps the branch payload small (docs are big) and lets the client cache the post body independently of the branch metadata.

Beispiel58714l4gSh9jZOLU
titlestringPflicht

Document title in the returned locale.

updatedDateDate | string | string | numberPflicht

ISO date of the last update to the parent post (per-locale rows have no timestamp).

Eine von 4 Varianten:
Variante 1
Date

ISO date of the last update to the parent post (per-locale rows have no timestamp).

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
localestringPflicht

Locale code the returned metadata refers to (same locale to pass on to /api/v1/post/post). May differ from the requested locale when the endpoint fell back to an available translation.

Beispielcs
isRequestedLocalebooleanPflicht

True when locale matches the requested locale exactly; false when the endpoint fell back to another available translation. Consumers can use this to render a "translation missing" hint.

reclaimobjectOptional

Metadata pointer to one published branch document (VOP / GDPR / provozní řád / reklamace).

postIdstringPflicht

Public post external id (16-char string) of the document. This endpoint returns metadata only — the full document body (title, markdown content) is fetched separately via GET /api/v1/post/post?apiKey=…&id=<postId>&locale=<locale> where <locale> should match the locale field returned alongside this postId (e.g. cs when this entry reports locale: "cs").

Recipe for an AI agent / integration:

  1. Call GET /api/v1/branch/detail?apiKey=…&slug=<branch>&locale=<preferred> to obtain the documents.<slot>.postId for the required slot (termsOfBusiness / reclaim / gdpr / operatingRules).
  2. Call GET /api/v1/post/post?apiKey=…&id=<postId>&locale=<documents.<slot>.locale> to fetch the full post (title, content in markdown, updatedDate).
  3. Pair with /api/v1/post/history?apiKey=…&id=<postId> for the revision log of that document.

This two-call pattern keeps the branch payload small (docs are big) and lets the client cache the post body independently of the branch metadata.

Beispiel58714l4gSh9jZOLU
titlestringPflicht

Document title in the returned locale.

updatedDateDate | string | string | numberPflicht

ISO date of the last update to the parent post (per-locale rows have no timestamp).

Eine von 4 Varianten:
Variante 1
Date

ISO date of the last update to the parent post (per-locale rows have no timestamp).

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
localestringPflicht

Locale code the returned metadata refers to (same locale to pass on to /api/v1/post/post). May differ from the requested locale when the endpoint fell back to an available translation.

Beispielcs
isRequestedLocalebooleanPflicht

True when locale matches the requested locale exactly; false when the endpoint fell back to another available translation. Consumers can use this to render a "translation missing" hint.

gdprobjectOptional

Metadata pointer to one published branch document (VOP / GDPR / provozní řád / reklamace).

postIdstringPflicht

Public post external id (16-char string) of the document. This endpoint returns metadata only — the full document body (title, markdown content) is fetched separately via GET /api/v1/post/post?apiKey=…&id=<postId>&locale=<locale> where <locale> should match the locale field returned alongside this postId (e.g. cs when this entry reports locale: "cs").

Recipe for an AI agent / integration:

  1. Call GET /api/v1/branch/detail?apiKey=…&slug=<branch>&locale=<preferred> to obtain the documents.<slot>.postId for the required slot (termsOfBusiness / reclaim / gdpr / operatingRules).
  2. Call GET /api/v1/post/post?apiKey=…&id=<postId>&locale=<documents.<slot>.locale> to fetch the full post (title, content in markdown, updatedDate).
  3. Pair with /api/v1/post/history?apiKey=…&id=<postId> for the revision log of that document.

This two-call pattern keeps the branch payload small (docs are big) and lets the client cache the post body independently of the branch metadata.

Beispiel58714l4gSh9jZOLU
titlestringPflicht

Document title in the returned locale.

updatedDateDate | string | string | numberPflicht

ISO date of the last update to the parent post (per-locale rows have no timestamp).

Eine von 4 Varianten:
Variante 1
Date

ISO date of the last update to the parent post (per-locale rows have no timestamp).

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
localestringPflicht

Locale code the returned metadata refers to (same locale to pass on to /api/v1/post/post). May differ from the requested locale when the endpoint fell back to an available translation.

Beispielcs
isRequestedLocalebooleanPflicht

True when locale matches the requested locale exactly; false when the endpoint fell back to another available translation. Consumers can use this to render a "translation missing" hint.

operatingRulesobjectOptional

Metadata pointer to one published branch document (VOP / GDPR / provozní řád / reklamace).

postIdstringPflicht

Public post external id (16-char string) of the document. This endpoint returns metadata only — the full document body (title, markdown content) is fetched separately via GET /api/v1/post/post?apiKey=…&id=<postId>&locale=<locale> where <locale> should match the locale field returned alongside this postId (e.g. cs when this entry reports locale: "cs").

Recipe for an AI agent / integration:

  1. Call GET /api/v1/branch/detail?apiKey=…&slug=<branch>&locale=<preferred> to obtain the documents.<slot>.postId for the required slot (termsOfBusiness / reclaim / gdpr / operatingRules).
  2. Call GET /api/v1/post/post?apiKey=…&id=<postId>&locale=<documents.<slot>.locale> to fetch the full post (title, content in markdown, updatedDate).
  3. Pair with /api/v1/post/history?apiKey=…&id=<postId> for the revision log of that document.

This two-call pattern keeps the branch payload small (docs are big) and lets the client cache the post body independently of the branch metadata.

Beispiel58714l4gSh9jZOLU
titlestringPflicht

Document title in the returned locale.

updatedDateDate | string | string | numberPflicht

ISO date of the last update to the parent post (per-locale rows have no timestamp).

Eine von 4 Varianten:
Variante 1
Date

ISO date of the last update to the parent post (per-locale rows have no timestamp).

Variante 2
stringdate-time
Variante 3
stringdate
Variante 4
number
localestringPflicht

Locale code the returned metadata refers to (same locale to pass on to /api/v1/post/post). May differ from the requested locale when the endpoint fell back to an available translation.

Beispielcs
isRequestedLocalebooleanPflicht

True when locale matches the requested locale exactly; false when the endpoint fell back to another available translation. Consumers can use this to render a "translation missing" hint.

seoobjectPflicht

Per-locale SEO overrides edited in the admin branch detail. Filled only for the exact locale query parameter, never a fallback to another language; empty object when locale is omitted or nothing is set.

titlestringOptional

Custom SEO title for the branch page in the requested locale. When present, use it verbatim as and og:title. Omitted = not filled in, keep your automatic title.</p>

BeispielGymRoom Smíchov | Soukromá posilovna Praha 5
descriptionstringOptional

Custom meta description for the branch page in the requested locale. When present, use it as meta description and og:description. Omitted = keep your automatic description.

Antwortbeispiel

application/json
{
  "id": "prague-central",
  "slug": "prague-central",
  "name": "Prague Central",
  "description": "example_description",
  "url": "example_url",
  "latitude": 50.0755,
  "longitude": 14.4378,
  "parentBranch": {
    "slug": "example_slug",
    "name": "example_name"
  },
  "operatingCompany": {
    "name": "example_name",
    "companyRegistrationNumber": "example_companyRegistrationNumber",
    "taxIdentificationNumber": "example_taxIdentificationNumber"
  },
  "currentClosure": {
    "reason": "example_reason"
  },
  "mainPhotoUrl": "example_mainPhotoUrl",
  "logoUrl": "example_logoUrl",
  "photos": [
    {
      "url": "example_url",
      "description": "example_description",
      "position": 0,
      "isMain": false,
      "isLogo": false
    }
  ],
  "address": {
    "firstName": "example_firstName",
    "lastName": "example_lastName",
    "companyName": "example_companyName",
    "streetAddress": "example_streetAddress",
    "city": "example_city",
    "cityPart": "example_cityPart",
    "stateRegion": "example_stateRegion",
    "postalCode": "example_postalCode",
    "country": "CZ"
  },
  "openingHours": {
    "regular": [
      {
        "dayOfWeek": 0,
        "definition": "example_definition",
        "description": "example_description"
      }
    ],
    "exceptions": [
      {
        "date": "2026-12-24",
        "isOpen": false,
        "reason": "example_reason"
      }
    ]
  },
  "emails": [
    {
      "email": "[email protected]",
      "role": "example_role"
    }
  ],
  "phones": [
    {
      "phone": "+420 777123456",
      "role": "example_role"
    }
  ],
  "people": [
    {
      "role": "example_role",
      "customLabel": "example_customLabel",
      "name": "example_name"
    }
  ],
  "documents": {
    "termsOfBusiness": {
      "postId": "58714l4gSh9jZOLU",
      "title": "example_title",
      "locale": "cs",
      "isRequestedLocale": false
    },
    "reclaim": {
      "postId": "58714l4gSh9jZOLU",
      "title": "example_title",
      "locale": "cs",
      "isRequestedLocale": false
    },
    "gdpr": {
      "postId": "58714l4gSh9jZOLU",
      "title": "example_title",
      "locale": "cs",
      "isRequestedLocale": false
    },
    "operatingRules": {
      "postId": "58714l4gSh9jZOLU",
      "title": "example_title",
      "locale": "cs",
      "isRequestedLocale": false
    }
  },
  "seo": {
    "title": "GymRoom Smíchov | Soukromá posilovna Praha 5",
    "description": "example_description"
  }
}

Anfragebeispiel

GET /api/v1/branch/detail

get
curl -X GET "https://api.bizkithub.com/api/v1/branch/detail?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&slug=prague-central&locale=cs" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten