BizKitHub
DokumentationAPI-ExplorerProduct/api/v1/product/import-from-url
postProductÖffentliche API v1

/api/v1/product/import-from-url

Fetches the URL, runs an LLM to extract structured product data (name, description, price, images, attributes), creates a new shop__product row with a generated code/slug and queues its images for async blob storage. Deduplicated by (vendor, external_id) — repeated calls with the same listing return the existing product with reused: true.

productpostApiV1ProductImport-from-url

Parameter

1 in der Query · JSON-Body

Query-Parameter

· 1
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

Request-Body

application/json
urlstringPflicht

Absolute http(s) URL of the source product/listing page.

Länge: 8–∞
Beispielhttps://www.sreality.cz/detail/pronajem/komercni/obchodni-prostor/brno/310894668
mainCategoryCodestringOptional

Optional product category code to pre-assign to the imported product.

Beispielreal-estate

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
state"ok"Pflicht
codestringPflicht

Generated product code (use for /product/detail?slug=…).

slugstringPflicht

Generated URL slug.

reusedbooleanPflicht

True when the product already existed and was not re-imported.

Variante 2
state"error"Pflicht
messagestringPflicht
code"200"Pflicht
hintstring | nullPflicht

Antwortbeispiel

application/json
{
  "state": "ok",
  "code": "example_code",
  "slug": "example_slug",
  "reused": false
}

Anfragebeispiel

POST /api/v1/product/import-from-url

post
curl -X POST "https://api.bizkithub.com/api/v1/product/import-from-url?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "url": "https://www.sreality.cz/detail/pronajem/komercni/obchodni-prostor/brno/310894668",
  "mainCategoryCode": "real-estate"
}'

Sie brauchen einen API-Schlüssel?

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

API-Schlüssel erhalten