BizKitHub
getBranchVeřejné 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 v query

Parametry v query

· 3
apiKeystringPovinné

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

PříkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
slugstringPovinné

Branch slug.

Příkladprague-central
localestringVolitelné

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.

Příkladcs

Schéma odpovědi

1 zdokumentovaný stavový kód

200Úspěch
idstringPovinné

Branch slug.

Příkladprague-central
slugstringPovinné
Příkladprague-central
namestringPovinné
PříkladPrague Central
descriptionstringVolitelné
urlstringVolitelné
latitudenumberVolitelné
Příklad50.0755
longitudenumberVolitelné
Příklad14.4378
branchType"own" | "franchise" | "partner"Povinné

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.

parentBranchobjectVolitelné
slugstringPovinné

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

namestringPovinné
branchType"own" | "franchise" | "partner"Volitelné
operatingCompanyobjectVolitelné
namestringVolitelné

Legal name of the entity operating this branch.

companyRegistrationNumberstringVolitelné

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

taxIdentificationNumberstringVolitelné

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

establishedDateDate | string | string | numberVolitelné

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

Jedna z 4 možností:
Varianta 1
Date

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

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
openedDateDate | string | string | numberPovinné

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

Jedna z 4 možností:
Varianta 1
Date

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

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
currentClosureobjectVolitelné
startDateDate | string | string | numberPovinné

When the closure began.

Jedna z 4 možností:
Varianta 1
Date

When the closure began.

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
endDateDate | string | string | numberVolitelné

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

Jedna z 4 možností:
Varianta 1
Date

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

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
reasonstringPovinné

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

mainPhotoUrlstringVolitelné

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

logoUrlstringVolitelné

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

photosobject[]Povinné

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ždá položka pole:
urlstringPovinné

Direct URL of the photo.

descriptionstringVolitelné

Publicly displayable caption.

positionnumberPovinné

Gallery sort position (ascending).

isMainbooleanPovinné

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

isLogobooleanPovinné

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

addressobjectVolitelné
firstNamestringVolitelné
lastNamestringVolitelné
companyNamestringVolitelné
streetAddressstringVolitelné
citystringVolitelné
cityPartstringVolitelné
stateRegionstringVolitelné
postalCodestringVolitelné
countrystringVolitelné

ISO 3166-1 alpha-2 country code.

PříkladCZ
openingHoursobjectPovinné
regularobject[]Povinné
Každá položka pole:
dayOfWeeknumberPovinné

0 = Monday … 6 = Sunday.

Rozsah: 0–6
definitionstringPovinné

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

descriptionstringVolitelné
validFromDate | string | string | numberVolitelné
Jedna z 4 možností:
Varianta 1
Date
Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
validToDate | string | string | numberVolitelné
Jedna z 4 možností:
Varianta 1
Date
Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
exceptionsobject[]Povinné
Každá položka pole:
datestringPovinné

Exception date (ISO YYYY-MM-DD).

Příklad2026-12-24
isOpenbooleanPovinné
reasonstringVolitelné
emailsobject[]Povinné
Každá položka pole:
emailstringPovinné
rolestringVolitelné
phonesobject[]Povinné
Každá položka pole:
phonestringPovinné
Příklad+420 777123456
rolestringVolitelné
peopleobject[]Povinné
Každá položka pole:
rolestringPovinné

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

customLabelstringVolitelné

Free-text label that overrides the role display.

namestringVolitelné

Person display name.

documentsobjectPovinné

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.

termsOfBusinessobjectVolitelné

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

postIdstringPovinné

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.

Příklad58714l4gSh9jZOLU
titlestringPovinné

Document title in the returned locale.

updatedDateDate | string | string | numberPovinné

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

Jedna z 4 možností:
Varianta 1
Date

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

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
localestringPovinné

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.

Příkladcs
isRequestedLocalebooleanPovinné

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.

reclaimobjectVolitelné

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

postIdstringPovinné

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.

Příklad58714l4gSh9jZOLU
titlestringPovinné

Document title in the returned locale.

updatedDateDate | string | string | numberPovinné

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

Jedna z 4 možností:
Varianta 1
Date

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

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
localestringPovinné

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.

Příkladcs
isRequestedLocalebooleanPovinné

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.

gdprobjectVolitelné

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

postIdstringPovinné

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.

Příklad58714l4gSh9jZOLU
titlestringPovinné

Document title in the returned locale.

updatedDateDate | string | string | numberPovinné

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

Jedna z 4 možností:
Varianta 1
Date

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

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
localestringPovinné

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.

Příkladcs
isRequestedLocalebooleanPovinné

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.

operatingRulesobjectVolitelné

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

postIdstringPovinné

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.

Příklad58714l4gSh9jZOLU
titlestringPovinné

Document title in the returned locale.

updatedDateDate | string | string | numberPovinné

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

Jedna z 4 možností:
Varianta 1
Date

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

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
localestringPovinné

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.

Příkladcs
isRequestedLocalebooleanPovinné

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.

seoobjectPovinné

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.

titlestringVolitelné

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>

PříkladGymRoom Smíchov | Soukromá posilovna Praha 5
descriptionstringVolitelné

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.

Ukázka odpovědi

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

Ukázka požadavku

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"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč