Store Policy Extractor — Shipping, Returns & Privacy avatar

Store Policy Extractor — Shipping, Returns & Privacy

Pricing

from $8.00 / 1,000 policy pages

Go to Apify Store
Store Policy Extractor — Shipping, Returns & Privacy

Store Policy Extractor — Shipping, Returns & Privacy

Find same-origin shipping, delivery, returns, refunds, privacy, and terms links on storefront pages. Export published policy text, source URLs, types, capture times, and content hashes for supplier research and policy-change workflows. No AI rewriting.

Pricing

from $8.00 / 1,000 policy pages

Rating

0.0

(0)

Developer

Ibrahim

Ibrahim

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Categories

Features

Limited permissions

Share

Find same-origin shipping, delivery, returns, refunds, privacy, and terms links on storefront pages. Export published policy text, source URLs, types, capture times, and content hashes for supplier research and policy-change workflows. No AI rewriting.

Quick start

Try the small public demonstration fixture first, then replace its URL with your own public source:

{
"urls": [
"https://commerce-actor-demos.vercel.app/"
],
"maxResults": 10
}

The demo source contains synthetic catalog data labelled as a test fixture. Results go straight into the default Dataset. Export JSON, CSV, or Excel in Apify Console. Diagnostics are saved as RUN_STATS.

What it does

Discovers policy links from anchor labels and paths on the supplied page, or accepts a direct policy page. Follows only same-origin policy links and removes common navigation/script markup. Exports source text and a hash of the full extracted text; textTruncated marks length-limited output. English policy keywords are supported. Does not translate, summarize legal obligations, interpret return windows, or crawl an entire site. Layout quality depends on the source HTML.

Output

Main dataset fields: types, title, policyUrl, text, textTruncated, contentHash, sourceUrl. A stable recordKey is included for retry deduplication. Inspect the demo run's dataset for a complete working output example.

Verified demo output

This sample was returned by a successful cloud run against the public synthetic fixture.

[
{
"sourceUrl": "https://commerce-actor-demos.vercel.app/",
"policyUrl": "https://commerce-actor-demos.vercel.app/returns.html",
"types": [
"returns"
],
"title": "Demo returns policy",
"text": "Returns\nThis is synthetic policy text for testing. Demo products may be returned within 30 days.\nThese are not real commercial terms.",
"textTruncated": false,
"contentHash": "7ad797bb23ba6596d0360e3bcd733c71359469460a6969c7162ff2e09fd001b2",
"capturedAt": "2026-10-08T21:00:26.177Z",
"sourceType": "published-page-text"
},
{
"sourceUrl": "https://commerce-actor-demos.vercel.app/",
"policyUrl": "https://commerce-actor-demos.vercel.app/shipping.html",
"types": [
"shipping"
],
"title": "Demo shipping policy",
"text": "Shipping\nSynthetic test policy: demo orders ship in 2–4 working days.\nThis fixture is not a merchant offer or promise.",
"textTruncated": false,
"contentHash": "a256f0ffe724d425d403625d8911669678e37ade90d6d211e9c563282d37739e",
"capturedAt": "2026-10-08T21:00:26.664Z",
"sourceType": "published-page-text"
}
]

Pricing

Configured launch price: $8.00 per 1,000 policy page records, plus a $0.00005 Actor-start event (memory-based, minimum one event). Check the live Pricing tab before running; discounted tiers may differ. Platform usage is included in pay-per-event pricing. Each dataset record is one event, including a validation result that reports issues. RUN_STATS diagnostics are not dataset items. Spending-limit checks stop new work before the next record.

Limits and honest failures

Default maxResults is 100. This is a preview cap, not a promise to export everything. Set a larger cap only after checking a sample. Up to 100 source URLs, 8 MB per document, 50,000 rows per feed, 30-second request timeouts, 512 KB image probes, conservative shared request spacing, and at most five redirects. Public HTTP(S) only. Private/reserved addresses and credential URLs are rejected; DNS destinations are checked and pinned. robots.txt is respected. 429/503 stops the source for a later retry. Login/CAPTCHA pages, browser-only markup, and denied requests are reported rather than bypassed.

All-source failure ends FAILED after saving diagnostics. Useful partial output remains available with a partial status. Truncation and spending-limit stops are marked separately. Migration/retry checkpoints and existing dataset record IDs prevent repeated output in the same run. New independent runs are charged normally.

Input

  • urls: 1–100 public HTTP(S) URLs. No credentials, private networks, custom ports, or access-control bypass.
  • maxResults: Global output cap. RUN_STATS reports truncation. Start with a small sample. Default: 100.
  • requestDelayMs: Shared host spacing. Requests stop on 429/503 instead of ignoring cooldowns. Default: 500.
  • maxPolicyPages: Maximum policy pages per source. Default: 8.
  • maxCharacters: Maximum characters per policy. Default: 20000.

API

Use your Apify token in the Authorization header. For small jobs:

curl -X POST \
'https://api.apify.com/v2/acts/skyfishdev~store-policy-text-extractor/run-sync-get-dataset-items' \
-H 'Authorization: Bearer YOUR_APIFY_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"urls":["https://commerce-actor-demos.vercel.app/"],"maxResults":10}'

For larger jobs, use the asynchronous runs endpoint, poll the run status, and fetch its default dataset.

Local development

npm ci
npm test
apify run --input-file examples/demo.json

No LLM bill, image-host subscription, or additional API key is required. Only process public sources you are authorized to use. This tool does not promise customer demand, Google approval, or complete data on every website.