DEV Community

Weiyi Wang
Weiyi Wang

Posted on

How to Pull Clean Shopify Catalogs, SEC EDGAR Financials & Domain SPF/DMARC Scores in 1 REST Call

Most developer side-projects only target other AI engineers. When you build tools for e-commerce operators, financial analysts, and B2B sales teams, the data is deterministic, evergreen, and doesn't burn a cent on LLM tokens.

I just shipped B2B Commerce, SEC Filings & Domain Intel API on Cloudflare Workers + RapidAPI (open-source core on GitHub). Here is what each endpoint solves and real sample outputs.


1. Shopify Store App Stack, Pricing & Catalog (GET /v1/shopify-intel)

Before pitching an e-commerce brand or benchmarking a competitor, you usually want to know: Which theme are they running? Which apps/pixels are installed (Klaviyo, Yotpo, Attentive, Meta Pixel)? What is their median SKU price?

Calling /v1/shopify-intel?url=https://www.allbirds.com&limit=5 returns:

{
  "ok": true,
  "isShopify": true,
  "detectedApps": ["Google Tag Manager", "Shop Pay", "Attentive"],
  "productSampleCount": 5,
  "pricingSummary": { "min": 7.5, "max": 112, "avg": 79.82, "median": 98 }
}
Enter fullscreen mode Exit fullscreen mode

2. B2B Domain Email Deliverability & Tech Stack (GET /v1/domain-intel)

For cold outbound enrichment or SaaS lead scoring, checking MX, SPF, and _dmarc via DNS-over-HTTPS alongside response headers gives an instant 0–100 deliverability score plus the company's web/marketing stack.

Example for /v1/domain-intel?domain=stripe.com:

{
  "ok": true,
  "domain": "stripe.com",
  "deliverabilityScore": 100,
  "grade": "A",
  "emailProvider": "Google Workspace",
  "dmarcPolicy": "reject",
  "techStack": ["Cloudflare", "Next.js"]
}
Enter fullscreen mode Exit fullscreen mode

3. Official US SEC EDGAR Filings & XBRL Financials (GET /v1/sec-filings & /v1/sec-financials)

SEC EDGAR's raw companyfacts JSON is massive and notoriously messy because companies switch GAAP tags over time (for example, Apple moved from Revenues to RevenueFromContractWithCustomerExcludingAssessedTax in 2019).

  • /v1/sec-filings?ticker=AAPL&forms=10-K,4&limit=5 resolves ticker → 10-digit CIK automatically and returns direct SEC archive URLs for 10-K, 10-Q, 8-K, and Form 4 insider trades.
  • /v1/sec-financials?ticker=AAPL automatically selects the active US GAAP revenue tag (returning Apple's FY2026 $478.8B figure) along with Net Income, Diluted EPS, Cash, and Total Assets across multiple periods.

Try It Free (100 Requests/Month)

Feedback on additional e-commerce platforms, GAAP metrics, or DNS signals to add? Drop a comment below!

Top comments (0)