Firmy.cz business search
Businesses on Firmy.cz (Czech Republic) for what you look for, optionally in a place: id, name, link, website, description, business phone, photo, street, city, postcode, country, coordinates, rating (0-5 and the site's percentage), review count and social profiles. 14 per page; pass next_page back as page; null on the last page. Or browse a category with category (and region): the answer then has category, region and the category's total.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
q | string | What to look for, in Czech, e.g. pizzerie, autoservis, zubař, kadeřnictví, instalatér. Example: pizzerie |
location | string | City or district, e.g. praha, brno, ostrava (leave out for the whole country). Example: praha |
page | integer | Page number (default 1). Example: 1 |
category | string | Instead of q: browse a Firmy.cz category, given as its path or link, e.g. Restauracni-a-pohostinske-sluzby/Restaurace/Pizzerie (the categories[].url of /firmy/v1/business). Either q or category is required. |
region | string | With category: a region slug such as kraj-praha, kraj-jihomoravsky or kraj-moravskoslezsky (the kraj- prefix may be left out). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/firmy/v1/search?q=pizzerie" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/firmy/v1/search",
params={"q": "pizzerie"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/firmy/v1/search");
url.searchParams.set("q", "pizzerie");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).