BizKitHub
getBranchPubliczne 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

Parametry

3 w query

Parametry query

· 3
apiKeystringWymagane

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

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
slugstringWymagane

Branch slug.

Przykładprague-central
localestringOpcjonalne

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.

Przykładcs

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
idstringWymagane

Branch slug.

Przykładprague-central
slugstringWymagane
Przykładprague-central
namestringWymagane
PrzykładPrague Central
descriptionstringOpcjonalne
urlstringOpcjonalne
latitudenumberOpcjonalne
Przykład50.0755
longitudenumberOpcjonalne
Przykład14.4378
branchType"own" | "franchise" | "partner"Wymagane

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.

parentBranchobjectOpcjonalne
slugstringWymagane

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

namestringWymagane
branchType"own" | "franchise" | "partner"Opcjonalne
operatingCompanyobjectOpcjonalne
namestringOpcjonalne

Legal name of the entity operating this branch.

companyRegistrationNumberstringOpcjonalne

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

taxIdentificationNumberstringOpcjonalne

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

establishedDateDate | string | string | numberOpcjonalne

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

Jedna z 4 opcji:
Wariant 1
Date

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

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
openedDateDate | string | string | numberWymagane

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

Jedna z 4 opcji:
Wariant 1
Date

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

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
currentClosureobjectOpcjonalne
startDateDate | string | string | numberWymagane

When the closure began.

Jedna z 4 opcji:
Wariant 1
Date

When the closure began.

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
endDateDate | string | string | numberOpcjonalne

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

Jedna z 4 opcji:
Wariant 1
Date

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

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
reasonstringWymagane

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

mainPhotoUrlstringOpcjonalne

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

logoUrlstringOpcjonalne

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

photosobject[]Wymagane

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.

Każdy element tablicy:
urlstringWymagane

Direct URL of the photo.

descriptionstringOpcjonalne

Publicly displayable caption.

positionnumberWymagane

Gallery sort position (ascending).

isMainbooleanWymagane

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

isLogobooleanWymagane

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

addressobjectOpcjonalne
firstNamestringOpcjonalne
lastNamestringOpcjonalne
companyNamestringOpcjonalne
streetAddressstringOpcjonalne
citystringOpcjonalne
cityPartstringOpcjonalne
stateRegionstringOpcjonalne
postalCodestringOpcjonalne
countrystringOpcjonalne

ISO 3166-1 alpha-2 country code.

PrzykładCZ
openingHoursobjectWymagane
regularobject[]Wymagane
Każdy element tablicy:
dayOfWeeknumberWymagane

0 = Monday … 6 = Sunday.

Zakres: 0–6
definitionstringWymagane

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

descriptionstringOpcjonalne
validFromDate | string | string | numberOpcjonalne
Jedna z 4 opcji:
Wariant 1
Date
Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
validToDate | string | string | numberOpcjonalne
Jedna z 4 opcji:
Wariant 1
Date
Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
exceptionsobject[]Wymagane
Każdy element tablicy:
datestringWymagane

Exception date (ISO YYYY-MM-DD).

Przykład2026-12-24
isOpenbooleanWymagane
reasonstringOpcjonalne
emailsobject[]Wymagane
Każdy element tablicy:
emailstringWymagane
rolestringOpcjonalne
phonesobject[]Wymagane
Każdy element tablicy:
phonestringWymagane
Przykład+420 777123456
rolestringOpcjonalne
peopleobject[]Wymagane
Każdy element tablicy:
rolestringWymagane

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

customLabelstringOpcjonalne

Free-text label that overrides the role display.

namestringOpcjonalne

Person display name.

documentsobjectWymagane

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.

termsOfBusinessobjectOpcjonalne

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

postIdstringWymagane

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.

Przykład58714l4gSh9jZOLU
titlestringWymagane

Document title in the returned locale.

updatedDateDate | string | string | numberWymagane

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

Jedna z 4 opcji:
Wariant 1
Date

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

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
localestringWymagane

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.

Przykładcs
isRequestedLocalebooleanWymagane

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.

reclaimobjectOpcjonalne

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

postIdstringWymagane

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.

Przykład58714l4gSh9jZOLU
titlestringWymagane

Document title in the returned locale.

updatedDateDate | string | string | numberWymagane

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

Jedna z 4 opcji:
Wariant 1
Date

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

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
localestringWymagane

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.

Przykładcs
isRequestedLocalebooleanWymagane

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.

gdprobjectOpcjonalne

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

postIdstringWymagane

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.

Przykład58714l4gSh9jZOLU
titlestringWymagane

Document title in the returned locale.

updatedDateDate | string | string | numberWymagane

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

Jedna z 4 opcji:
Wariant 1
Date

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

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
localestringWymagane

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.

Przykładcs
isRequestedLocalebooleanWymagane

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.

operatingRulesobjectOpcjonalne

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

postIdstringWymagane

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.

Przykład58714l4gSh9jZOLU
titlestringWymagane

Document title in the returned locale.

updatedDateDate | string | string | numberWymagane

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

Jedna z 4 opcji:
Wariant 1
Date

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

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
localestringWymagane

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.

Przykładcs
isRequestedLocalebooleanWymagane

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.

seoobjectWymagane

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.

titlestringOpcjonalne

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>

PrzykładGymRoom Smíchov | Soukromá posilovna Praha 5
descriptionstringOpcjonalne

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.

Przykład odpowiedzi

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"
  }
}

Przykład żądania

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"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API