Farmacia Tei scraper API for AI agents and code
datawebot returns Farmacia Tei search results and product pages as structured JSON, with the same fields for every shop: title, price, original price, availability, rating, image and link, plus details such as brand, variants and identifiers when a product page shows them. It runs from your AI agent over MCP or from code over REST on comenzi.farmaciatei.ro in Romania, at 5 credits per search page and 1 per product page, and failed requests are free.
Fields you get
Every Farmacia Tei product comes back in these fields; a field is null when the page doesn't show it. Each endpoint below also lists its raw record schema.
| Field | Type | Description |
|---|---|---|
product_id | string or null | Opaque id. Pass it to get_product (or capability "product") to read the product again. |
title | string | Product title as the shop shows it. |
url | string or null | The product page on the shop. |
shop | string or null | The shop’s hostname, without www. |
price | object or null | amount (number), currency (ISO 4217, or null when the shop doesn’t say) and text (the shop’s own wording when it is the same amount, else null). |
original_price | object or null | The price before a discount, in the same shape as price. |
rating | number or null | Average rating, on the shop’s own scale. |
review_count | integer or null | Number of reviews or ratings. |
image_url | string or null | Main product image. |
availability | string or null | in_stock, out_of_stock, or the shop’s own stock wording. |
sponsored | boolean or null | true for an ad the shop marks as sponsored; null when the page doesn’t say. |
How to run it
From your agent, after connecting it once with the setup prompt (agent setup), ask in plain words:
Use datawebot to extract https://comenzi.farmaciatei.ro/cauti/crema%20de%20maini and give me each product's title, price and link as JSON.From code, send one request with your API key. The answer has the same shape for every shop; if it says "status": "working", read it again with GET /v1/requests/{id}.
curl https://api.datawebot.com/v1/requests \
-H "Authorization: Bearer $DATAWEBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"capability":"endpoint","endpoint":"farmaciatei.search_items","url":"https://comenzi.farmaciatei.ro/cauti/crema%20de%20maini","format":"structured"}'Search
Farmacia Tei Romania (comenzi.farmaciatei.ro) Search for the evidenced query "crema de maini" only: page 1, the first five of the validated server-rendered grid occurrences in order (duplicates retained), with product ID, URL, full and shown title, brand, range, pack text, seller ID, the shown selling price (LEI on the card; ISO currency null), comparison price and conditional offer badges. No other query, page, limit or product pages.
- ID
farmaciatei.search_items- Version
1- Price
- 5 credits / page
- State
- Available
- Typical time
- About 30 s (estimate)
What it does
Reads one search results page (or up to the page limit) and returns one record per product card, in page order. Works on comenzi.farmaciatei.ro; other hosts are rejected before anything runs.
Input
One page URL per request, shaped like https://comenzi.farmaciatei.ro/cauti/crema%20de%20maini.
Price
5 credits / page. Failed requests are free; a page that loaded but had nothing on it still costs credits. Set max_credits to refuse anything dearer before it runs.
Output
The default, "format": "structured". Every shop answers in the same fields, mapped from the page to the product_summary@1 schema. Fields are null when the page doesn't show them, and a record that can't be mapped is read best-effort from its raw fields. Products are in products, up to 50 a page; follow next_cursor with GET /v1/requests/{id} (MCP: get_results).
| Field | Type | Description |
|---|---|---|
product_id | string or null | Opaque id. Pass it to get_product (or capability "product") to read the product again. |
title | string | Product title as the shop shows it. |
url | string or null | The product page on the shop. |
shop | string or null | The shop’s hostname, without www. |
price | object or null | amount (number), currency (ISO 4217, or null when the shop doesn’t say) and text (the shop’s own wording when it is the same amount, else null). |
original_price | object or null | The price before a discount, in the same shape as price. |
rating | number or null | Average rating, on the shop’s own scale. |
review_count | integer or null | Number of reviews or ratings. |
image_url | string or null | Main product image. |
availability | string or null | in_stock, out_of_stock, or the shop’s own stock wording. |
sponsored | boolean or null | true for an ad the shop marks as sponsored; null when the page doesn’t say. |
{
"request_id": "string",
"status": "done",
"products": [
{
"product_id": "string or null",
"title": "string",
"url": "string or null",
"shop": "string or null",
"price": {
"amount": "number",
"currency": "string or null",
"text": "string or null"
},
"original_price": {
"amount": "number",
"currency": "string or null",
"text": "string or null"
},
"rating": "number or null",
"review_count": "integer or null",
"image_url": "string or null",
"availability": "string or null",
"sponsored": "boolean or null"
}
],
"next_cursor": "string or null",
"meta": {
"as_of": "date-time",
"country": "string",
"credits_used": "integer",
"credits_left": "integer"
}
}Over the Jobs API, GET /v1/jobs/{id}/results?format=structured returns the full product_summary@1 records.
With "format": "raw", the answer keeps the structured fields and adds raw: this endpoint's own records, unchanged, one per item, in the schema below. It is the data the endpoint extracted from the page, not the page's HTML. Same price as structured.
| Field | Type | Description |
|---|---|---|
position | integer required | Grid occurrence position, 1..n |
product_id | string required | Cart data-pid, equal to the URL -p<id> |
url | string (uri) required | Card product URL |
title | string required | Full title (aria-label = cart product name) |
display_title | string required | Card title as shown (may be truncated) |
brand | string or null required | Card brand link text |
brand_raw | string or null required | Cart metadata brand |
model_range | string or null required | Card range link text (may be empty) |
volume_pack_raw | array required | Volume/pack tokens found in the title, e.g. "50 ml" |
seller_id | string required | Cart vendor ID |
item_price | string required | Shown selling price (special price when discounted) |
item_price_raw | string required | Shown price text, e.g. 36,50 LEI |
currency_label_raw | "LEI" required | Label on the card; not an ISO currency |
comparison_price | any required | Crossed-out old price; comparison value, not a proven former price |
comparison_price_raw | string or null required | — |
conditional_prices_raw | array required | Badges such as "-60% la al 2-lea"; conditions, not applied |
sponsored_label_raw | array required | Sponsored labels on the card (none observed) |
page | 1 required | — |
sku | null required | — |
gtin13 | null required | — |
selected_variant | null required | — |
seller_name | null required | — |
currency | null required | Not evidenced on Search (never backfilled from LEI or the PDP) |
unit_price_raw | null required | — |
member_price | null required | — |
multibuy_price | null required | — |
installment_price | null required | — |
shipping_price | null required | — |
stock | null required | — |
store | null required | — |
location | null required | — |
{
"position": "integer",
"product_id": "string",
"url": "string (uri)",
"title": "string",
"display_title": "string",
"brand": "string or null",
"brand_raw": "string or null",
"model_range": "string or null",
"volume_pack_raw": "array",
"seller_id": "string",
"item_price": "string",
"item_price_raw": "string",
"currency_label_raw": "LEI",
"comparison_price": "any",
"comparison_price_raw": "string or null",
"conditional_prices_raw": "array",
"sponsored_label_raw": "array",
"page": 1,
"sku": null,
"gtin13": null,
"selected_variant": null,
"seller_name": null,
"currency": null,
"unit_price_raw": null,
"member_price": null,
"multibuy_price": null,
"installment_price": null,
"shipping_price": null,
"stock": null,
"store": null,
"location": null
}Raw needs this endpoint: a search with format: "raw" doesn't fall back to shopping search, and answers raw_unavailable where no endpoint can run. Over the Jobs API, results are raw by default; format=both gives each raw record with its structured form.
Request
Run exactly this endpoint with capability: "endpoint"; there is no fallback, and a failed run is free. Set format to "raw" for the raw records too. For a keyword instead of a URL, search_products with this shop as site builds the search URL, tries the shop's endpoint first and then shopping search.
curl https://api.datawebot.com/v1/requests \
-H "Authorization: Bearer $DATAWEBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"capability":"endpoint","endpoint":"farmaciatei.search_items","url":"https://comenzi.farmaciatei.ro/cauti/crema%20de%20maini","format":"structured"}'submit_job {
"endpoint": "farmaciatei.search_items",
"url": "https://comenzi.farmaciatei.ro/cauti/crema%20de%20maini",
"format": "structured"
}If the answer says "status": "working", read it again with GET /v1/requests/{id} (MCP: get_results) after check_after_seconds.
Product details
The one evidenced Farmacia Tei Romania product page (product 336764, CeraVe 50 ml hand cream): title, brand, alternate name, SKU/GTIN-13, first-party seller, item price in RON joined across JSON-LD Offer, shown and cart prices, unit price text, generic stock text, JSON-LD availability and advertised shipping options text. No other product, variant, store, stock or delivery selection.
- ID
farmaciatei.product_details- Version
1- Price
- 1 credit / page
- State
- Available
- Typical time
- About 30 s (estimate)
What it does
Reads one product page and returns that product. Works on comenzi.farmaciatei.ro; other hosts are rejected before anything runs.
Input
One page URL per request, shaped like https://comenzi.farmaciatei.ro/dermato-cosmetice/corp/ingrijire-maini/crema-reparatoare-pentru-maini-uscate-50-ml-cerave-p336764.
Price
1 credit / page. Failed requests are free; a page that loaded but had nothing on it still costs credits. Set max_credits to refuse anything dearer before it runs.
Output
The default, "format": "structured". Every shop answers in the same fields, mapped from the page to the product@1 schema. Fields are null when the page doesn't show them, and a record that can't be mapped is read best-effort from its raw fields. The product is in product.
| Field | Type | Description |
|---|---|---|
product_id | string or null | Opaque id. Pass it to get_product (or capability "product") to read the product again. |
title | string | Product title as the shop shows it. |
url | string or null | The product page on the shop. |
shop | string or null | The shop’s hostname, without www. |
price | object or null | amount (number), currency (ISO 4217, or null when the shop doesn’t say) and text (the shop’s own wording when it is the same amount, else null). |
original_price | object or null | The price before a discount, in the same shape as price. |
rating | number or null | Average rating, on the shop’s own scale. |
review_count | integer or null | Number of reviews or ratings. |
image_url | string or null | Main product image. |
availability | string or null | in_stock, out_of_stock, or the shop’s own stock wording. |
sponsored | boolean or null | true for an ad the shop marks as sponsored; null when the page doesn’t say. |
product.details, when the shop's page maps to product@1:
| Field | Type | Description |
|---|---|---|
brand | string or null | Brand as the page names it. |
category_path | array of strings | Breadcrumb categories, top first. |
description | string or null | Plain-text description. |
feature_bullets | array of strings | Listed features. |
price_min, price_max | number or null | Lowest and highest variant price. |
discount_label | string or null | Discount wording, such as "-20%". |
stock | integer or null | Units in stock, when the page shows a number. |
sold_count, sold_count_basis | integer or null; "total", "monthly" or null | Units sold, and whether that is a total or per month. |
identifiers | array of {type, value} | asin, parent_asin, walmart_item_id, gtin, mpn, isbn or source_sku. |
specs_raw | array of {name, value} | The specification table as shown. |
images, image_count | array of {url, alt}; integer | Every product image. |
option_names | array of strings | Option names such as Size or Colour. |
variants, variant_count | array (100 per answer; next_cursor reads the rest); integer or null | Each variant: id, name, options, sku, final_price, price_before_discount, discount_label, available, stock, image_url. |
seller | object or null | id, name, url and type (official or marketplace). |
rating_scale | number or null | The top of the rating scale, such as 5. |
warnings | array of strings | Fields the page didn’t give, such as currency_missing. |
{
"request_id": "string",
"status": "done",
"product": {
"product_id": "string or null",
"title": "string",
"url": "string or null",
"shop": "string or null",
"price": {
"amount": "number",
"currency": "string or null",
"text": "string or null"
},
"original_price": {
"amount": "number",
"currency": "string or null",
"text": "string or null"
},
"rating": "number or null",
"review_count": "integer or null",
"image_url": "string or null",
"availability": "string or null",
"sponsored": "boolean or null",
"details": {
"brand": "string or null",
"variants": [
"…"
],
"…": "…"
}
},
"meta": {
"as_of": "date-time",
"country": "string",
"credits_used": "integer",
"credits_left": "integer"
}
}Over the Jobs API, GET /v1/jobs/{id}/results?format=structured returns the full product@1 records.
With "format": "raw", the answer keeps the structured fields and adds raw: this endpoint's own records, unchanged, one per item, in the schema below. It is the data the endpoint extracted from the page, not the page's HTML. Same price as structured.
| Field | Type | Description |
|---|---|---|
product_id | "336764" required | — |
url | "https://comenzi.farmaciatei.ro/dermato-cosmetice/corp/ingrijire-maini/crema-reparatoare-pentru-maini-uscate-50-ml-cerave-p336764" required | The requested product page (= canonical = JSON-LD Offer URL) |
title | string required | h1 = JSON-LD name = cart product name |
brand | string required | JSON-LD brand name |
model | string or null required | JSON-LD alternateName |
sku | string required | JSON-LD SKU, equal to the GTIN-13 |
gtin13 | string required | JSON-LD gtin13, check digit verified |
volume_pack_raw | array required | Volume/pack tokens found in the title |
seller_id | "1" required | — |
seller_name | "S.C. Farmacia Tei S.R.L." required | — |
item_price | string required | JSON-LD Offer price = shown price = cart price |
item_price_raw | string required | Shown price text, e.g. 36,50 LEI |
currency | "RON" required | JSON-LD Offer priceCurrency |
unit_price_raw | string or null required | Unit price text, e.g. Pret/100 ml: 73,00 Lei |
conditional_prices_raw | array required | — |
shipping_options_raw | string or null required | Advertised delivery options text; not a chosen shipping price |
stock_raw | string or null required | Generic stock text; not selected-location inventory |
structured_availability | "http://schema.org/InStock" | null required | JSON-LD Offer availability as sent |
selected_variant | null required | — |
comparison_price | null required | — |
member_price | null required | — |
multibuy_price | null required | — |
installment_price | null required | — |
shipping_price | null required | — |
selected_stock | null required | — |
store | null required | — |
location | null required | — |
{
"product_id": "336764",
"url": "https://comenzi.farmaciatei.ro/dermato-cosmetice/corp/ingrijire-maini/crema-reparatoare-pentru-maini-uscate-50-ml-cerave-p336764",
"title": "string",
"brand": "string",
"model": "string or null",
"sku": "string",
"gtin13": "string",
"volume_pack_raw": "array",
"seller_id": "1",
"seller_name": "S.C. Farmacia Tei S.R.L.",
"item_price": "string",
"item_price_raw": "string",
"currency": "RON",
"unit_price_raw": "string or null",
"conditional_prices_raw": "array",
"shipping_options_raw": "string or null",
"stock_raw": "string or null",
"structured_availability": "http://schema.org/InStock | null",
"selected_variant": null,
"comparison_price": null,
"member_price": null,
"multibuy_price": null,
"installment_price": null,
"shipping_price": null,
"selected_stock": null,
"store": null,
"location": null
}Over the Jobs API, results are raw by default; format=both gives each raw record with its structured form.
Request
Read a product page with capability: "product"; it runs this endpoint for the page's shop. Set format to "raw" for the raw records too.
curl https://api.datawebot.com/v1/requests \
-H "Authorization: Bearer $DATAWEBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"capability":"product","url":"https://comenzi.farmaciatei.ro/dermato-cosmetice/corp/ingrijire-maini/crema-reparatoare-pentru-maini-uscate-50-ml-cerave-p336764","format":"structured"}'get_product {
"url": "https://comenzi.farmaciatei.ro/dermato-cosmetice/corp/ingrijire-maini/crema-reparatoare-pentru-maini-uscate-50-ml-cerave-p336764",
"format": "structured"
}If the answer says "status": "working", read it again with GET /v1/requests/{id} (MCP: get_results) after check_after_seconds.
Limits
- One page URL per request, on comenzi.farmaciatei.ro only; other hosts are rejected before anything runs.
- Prices and stock are read when the request runs (
meta.as_of); datawebot keeps no price history, so schedule and store repeat reads yourself. - Fields the page doesn't show come back null; nothing is filled in or guessed.
- Up to 30 requests a minute per account.
Questions about the Farmacia Tei scraper API
Does Farmacia Tei have an official API?
datawebot does not use one. It reads Farmacia Tei's pages and returns them as structured JSON, so you need no Farmacia Tei developer account or partner key. Whether Farmacia Tei offers its own API, and on what terms, is for Farmacia Tei to say.
Can I scrape Farmacia Tei with Python?
Yes. Send the POST /v1/requests call shown on this page from Python with any HTTP client, such as requests or httpx: the same JSON body, with your API key in the Authorization header. The products come back in the answer's products field (product for a product page).
Is it legal to scrape Farmacia Tei?
It depends on where you are, Farmacia Tei's terms and what you do with the data. You stay responsible for how you use what datawebot returns. This is not legal advice; read our guide to robots.txt and legal considerations, and ask a lawyer about your case.
What does a Farmacia Tei scraper API call cost?
5 credits per search page and 1 per product page. Failed requests are free; a page that loaded but had nothing on it still costs credits. Every account starts with 200 free credits, and credit packs start at 10,000 credits for $10, with no subscription.
Start with 200 free credits
Connect your agent with one setup prompt, or create an API key, and run Farmacia Tei requests right away. No card and no subscription.
Connect your agent See pricing