shopgraph
v1.0.1Clean product data from any URL.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
enrich_product
Extract comprehensive product data from a URL including name, price, brand, images, availability, and more. Uses schema.org structured data when available, with LLM fallback. Costs $0.02 per call (cached results are free). Each field carries verification metadata in _shopgraph: provenance (field_method — which source/tier produced it: schema_org, llm, or hybrid), freshness (field_freshness — recency + volatility_class, for volatile fields like price & availability), and abstain (a field is null when ShopGraph cannot verify it on the page). Rely on provenance, freshness, and the abstain sig…
| Parameter | Type | Description |
|---|---|---|
url * | string | Product page URL to extract data from |
force_refresh | boolean | Bypass cache entirely. Always triggers live extraction. Costs 3x credits. |
format | string | Output format. "ucp" returns UCP line_item format. Default: "default". |
include_score | boolean | Include agent-readiness score in response. |
minimum_confidence | number | Auto-refresh if any cached field's DECAYED confidence falls below this threshold. Costs 2x credits when refresh triggers, 0.25x on cache hit. |
payment_method_id | string | Stripe payment method ID for MPP payment |
strict_confidence_threshold | number | Fields below this confidence will be nulled with explanation. Default: off. |
enrich_basic
Extract basic product attributes from a URL (name, price, brand, availability). Faster and cheaper than enrich_product. 50 free calls/month — no payment needed. Paid: $0.01 per call after free tier. Each field carries verification metadata in _shopgraph: provenance (field_method — which source/tier produced it: schema_org, llm, or hybrid), freshness (field_freshness — recency + volatility_class, for volatile fields like price & availability), and abstain (a field is null when ShopGraph cannot verify it on the page). Rely on provenance, freshness, and the abstain signal to decide what to…
| Parameter | Type | Description |
|---|---|---|
url * | string | Product page URL to extract data from |
force_refresh | boolean | Bypass cache entirely. Always triggers live extraction. Costs 3x credits. |
format | string | Output format. "ucp" returns UCP line_item format. Default: "default". |
include_score | boolean | Include agent-readiness score in response. |
minimum_confidence | number | Auto-refresh if any cached field's DECAYED confidence falls below this threshold. Costs 2x credits when refresh triggers, 0.25x on cache hit. |
payment_method_id | string | Stripe payment method ID for MPP payment |
strict_confidence_threshold | number | Fields below this confidence will be nulled with explanation. Default: off. |
enrich_html
Extract product data from raw HTML you already have (no HTTP fetch needed). Ideal when using Bright Data, Firecrawl, or any scraping API — pipe the HTML through ShopGraph for structured product data. Uses schema.org + LLM fallback. Costs $0.02 per call (cached results are free). Each field carries verification metadata in _shopgraph: provenance (field_method — which source/tier produced it: schema_org, llm, or hybrid), freshness (field_freshness — recency + volatility_class, for volatile fields like price & availability), and abstain (a field is null when ShopGraph cannot verify it on th…
| Parameter | Type | Description |
|---|---|---|
html * | string | Raw HTML content of the product page |
url * | string | Original URL of the page (used for context and caching) |
force_refresh | boolean | Bypass cache entirely. Always triggers live extraction. Costs 3x credits. |
format | string | Output format. "ucp" returns UCP line_item format. Default: "default". |
include_score | boolean | Include agent-readiness score in response. |
minimum_confidence | number | Auto-refresh if any cached field's DECAYED confidence falls below this threshold. |
payment_method_id | string | Stripe payment method ID for MPP payment |
strict_confidence_threshold | number | Fields below this confidence will be nulled with explanation. Default: off. |
score_product
Extract product data and return agent-readiness score (0-100). Scores structured data completeness, semantic richness, UCP compatibility, pricing clarity, and inventory signals. Full scoring breakdown included.
| Parameter | Type | Description |
|---|---|---|
url * | string | Product page URL to extract and score |
format | string | Output format. "ucp" returns UCP line_item format. Default: "default". |
payment_method_id | string | Stripe payment method ID for MPP payment |
strict_confidence_threshold | number | Fields below this confidence will be nulled with explanation. Default: off. |