ScrapingSmart

Developer API

Use the Catalog Scan API to start a scan, track it, and retrieve its products and files.

AI Readiness Score API

Free, no account. One request per check; the result is saved and shareable at /score/{id}. Readiness of product data, not rankings.

POST /api/mvp/score

curl -X POST https://www.scrapingsmart.com/api/mvp/score \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://yourstore.com/products/example" }'
{
  "id": "Xb3kq9_2mPzA",
  "kind": "product",
  "status": "complete",
  "score": { "overall": 74, "pageScore": 78, "feedScore": 70, "badges": [ ... ], "wrong": [ ... ], "fixJsonLd": { ... } }
}

GET /api/mvp/score/:id returns a saved score without checking the page again.

POST /api/mvp/score/:id/compare with { "url": "competitor product URL" } adds a side-by-side comparison.

Busy (more than 3 checks at once) returns 503 with Retry-After. Slow or large pages return "status": "partial".

Catalog Scan API

Base URL: https://www.scrapingsmart.com

POST a URL → poll status → get products → get artifacts.

Authentication

Create a free account and sign in in the workspace first. The API uses the existing Supabase session access token, not a separately issued API key. The playground reads that session automatically.

Open workspace to sign in

For your own integration, use the configured Supabase project URL and publishable key with supabase-js auth. After sign-in, getSession() provides session.access_token; use the SDK to refresh an expired session. Never use a service-role key or put access tokens in URLs or logs.

const client = window.supabase.createClient(
  window.__SUPABASE_URL__, window.__SUPABASE_PUBLISHABLE_KEY__
);
const { data: { session } } = await client.auth.getSession();
const token = session?.access_token;
Authorization: Bearer YOUR_ACCESS_TOKEN

Free scans and paid boundaries

Catalog API scans, status, products and current artifacts are free for signed-in users. They do not spend enrichment credits. A preview does not require an account; full catalog scans require authentication.

The Catalog Scan API does not purchase credits or start paid enrichment. In the workspace, review eligible products, required credits and balance, buy credits if needed, then explicitly start optional enrichment. Payment never starts enrichment.

Enrichment pricing · USD

Catalog Scan API playground

Sign in to test the API

Scan ID
—
Status
—
Pages scanned
—
Products found
—

Products JSON preview

[]

Artifacts

  • —

Start scan

POST /api/v1/catalog-scans

Submit a website root or category/listing URL. Individual product URLs are not supported by this endpoint (422). A successful submission returns HTTP 202; keep its scan_id.

curl -X POST https://www.scrapingsmart.com/api/v1/catalog-scans \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://example.com/collections/all" }'
{
  "scan_id": "scan_123",
  "status": "queued"
}

Check status

GET /api/v1/catalog-scans/:scanId

Poll about every 3 seconds while queued or running, with one request at a time. Stop on completed or failed. Failed scans may still have partial products; inspect products, artifacts and coverage_status. Completion does not prove full catalog coverage.

curl https://www.scrapingsmart.com/api/v1/catalog-scans/scan_123 \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Get products

GET /api/v1/catalog-scans/:scanId/products

Read the normalized products JSON after the scan completes.

[
  {
    "title": "Example product",
    "url": "https://example.com/products/example-product",
    "price": "$24.99"
  }
]

Get artifacts

GET /api/v1/catalog-scans/:scanId/artifacts

List available generated files. Fetch each returned artifact URL with the same Bearer token; a plain browser link may lack authentication.

{
  "artifacts": [
    { "type": "products_csv", "filename": "export.csv" },
    { "type": "summary_json", "filename": "summary.json" }
  ]
}

Complete curl example

BASE_URL="https://www.scrapingsmart.com"
TOKEN="YOUR_ACCESS_TOKEN"
SCAN_ID="scan_123"

curl -X POST "$BASE_URL/api/v1/catalog-scans" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://example.com/collections/all" }'
curl "$BASE_URL/api/v1/catalog-scans/$SCAN_ID" -H "Authorization: Bearer $TOKEN"
curl "$BASE_URL/api/v1/catalog-scans/$SCAN_ID/products" -H "Authorization: Bearer $TOKEN"
curl "$BASE_URL/api/v1/catalog-scans/$SCAN_ID/artifacts" -H "Authorization: Bearer $TOKEN"

Errors / limits