Page Title Price Snapshot
Pricing
$3.00 / 1,000 results
Page Title Price Snapshot
Pricing
$3.00 / 1,000 results
Rating
0.0
(0)
Developer
Eichan Jolly
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Features
Share
Structured Page Title & Price Snapshot
Get one small dataset row containing the title of a public product/landing page and only a price explicitly declared in structured metadata. Ideal for monitoring a single public product with scheduled snapshots. It does not guess a price from text shown on the webpage.
Who this is for
Small store owners, catalog managers, and buyers who need auditable structured price snapshots without browsing automation, an account, or an API key.
Input — ready to run
{"url": "https://testingurl.dev/scraping/structured-data/product-json-ld"}
This is a public scraping-test page whose product data is described as JSON-LD. It can be used safely to try the Actor. Input is exactly one public HTTP(S) page URL. The script downloads at most 2 MB and waits up to 12 seconds, validating redirect addresses.
Dataset output
Example illustrating a page that contains a single JSON-LD product offer:
{"url": "https://testingurl.dev/scraping/structured-data/product-json-ld","pageTitle": "Example product page title","detectedPrice": "86.00","currency": "USD","status": "price_found","checkedAt": "2026-11-01T09:05:00Z"}
The example title and date are illustrative; live page metadata may change. detectedPrice is a decimal string to prevent float rounding, not a number. pageTitle is read from <title> and falls back to og:title. Price candidates are read only from an Offer in JSON-LD (including a Product.offers object or offer price specification) or product:price:amount / product:price meta tags. Currency is read only from those structured sources, never inferred from symbols or site location.
When metadata is incomplete
price_not_found: no qualifying structured price,detectedPrice: null,currency: null.price_found_currency_unknown: a price was declared but a currency was not; price retained, currencynull.conflicting_prices: conflicting explicit offer amounts or currencies; both fieldsnullrather than choosing an arbitrary value.price_found: a unique price and currency are available.
One Dataset item is emitted for any successfully fetched HTML page, even if the price is missing. Unreachable or non-HTML pages fail with plain-language errors (exit code 1), not a made-up result.
Scheduling idea
Run daily to take repeatable snapshots of a product's structured offer price. No price-change alert or historical comparison is built in. Compare stored dataset items in your own workflow if you need an alert.
Honest limits
- Static server-delivered HTML only; it does not run JavaScript or bypass anti-bot protections.
- Only qualifying JSON-LD and
product:price:*metadata. Visible price text, CSS, generic meta descriptions, schema.org microdata, and dataLayer are not parsed for prices. A page visibly showing a price can still returnnull. - If a page exposes contradictory offers, the Actor marks the result as conflicting instead of guessing which variant to buy. Exchange rates, taxes, promotions, and shipping costs are not calculated.
- Websites may block automated requests or change markup. Do not schedule against sites that prohibit this access. No login, private networks, or paywalls.
Local execution
Python 3.12+; standard library only:
ACTOR_INPUT_JSON='{"url":"https://testingurl.dev/scraping/structured-data/product-json-ld"}' python src/main.py
Alternatively place INPUT.json in storage/key_value_stores/default/. Local dataset is storage/datasets/default/000000001.json. In Apify cloud, runtime input is retrieved from the run's default Key-Value Store INPUT record using Apify REST and the platform-provided token. A dataset item is appended using the Dataset REST API. No SDK or extra credentials.
Store configuration / pricing proposal
Store categories: AUTOMATION, DEVELOPER_TOOLS (primary: AUTOMATION). Suggested price: USD $0.003 per run. Advisory only; no billing has been enabled or implemented. See store_metadata.json.
Verification
Run python -m unittest discover -s tests -p 'test_*.py' -v and python tests/smoke_run.py. The smoke test executes the real file as python src/main.py using a valid local public-format HTML fixture with JSON-LD metadata; tests/smoke_evidence.txt records actual stdout/stderr and the Dataset item. Live external-site execution and Apify cloud builds have not been validated.