# RegionAudit Pulse — Complete Technical & Commercial Reference (/llms-full.txt)

> Deterministic multi-region web extraction, ISO 4217 price/stock grounding, AX & GEO Readiness Scoring (0–100), pre-consent GDPR/CNIL/AEPD/LGPD cookie auditing, and multi-continent DNS/TLS diagnostics from physical servers in Brazil, Spain, and France.

- **Official Portal**: [https://dev.regionaudit.com](https://dev.regionaudit.com)
- **Base REST API**: `https://dev.regionaudit.com/v1`
- **OpenAPI 3.2.1 Schema**: [https://dev.regionaudit.com/openapi.json](https://dev.regionaudit.com/openapi.json)
- **API Reference (/docs)**: [https://dev.regionaudit.com/docs](https://dev.regionaudit.com/docs)
- **Stateless Streamable HTTP MCP Endpoint**: `https://dev.regionaudit.com/mcp`
- **MCP Capability Card**: [https://dev.regionaudit.com/.well-known/mcp.json](https://dev.regionaudit.com/.well-known/mcp.json)
- **Contact & Enterprise Support**: `contact@regionaudit.com`

---

## 1. Active Physical Mesh Topology & Dynamic Scaling

RegionAudit Pulse executes inspections from dedicated physical multi-region nodes:

1. **`br` — São Paulo, Brazil**: `pt-BR`, `America/Sao_Paulo`, `BRL`, Jurisdiction `LGPD-ANPD`.
2. **`es` — Madrid, Spain**: `es-ES`, `Europe/Madrid`, `EUR`, Jurisdiction `GDPR-AEPD`.
3. **`fr` — Paris, France**: `fr-FR`, `Europe/Paris`, `EUR`, Jurisdiction `GDPR-CNIL`.

Always query `GET https://dev.regionaudit.com/v1/regions` or MCP resource `regions://active` to discover additional regions dynamically without hardcoding region lists.

---

## 2. Five Core Modules & Verified JSON Contracts

### 01. Regional Web Extract & Commerce Grounding
- **REST Endpoint**: `POST https://dev.regionaudit.com/v1/extract` (`operationId: extract_regional_page`)
- **MCP Tool**: `extract_regional_page` (via RapidAPI MCP Hub, Apify Standby MCP, or `https://dev.regionaudit.com/mcp`)
- **Verified Latency**: `121 ms (p50 HIT)` · `437 ms – 1.71 s (MISS)`
- **Apify Pay-Per-Event**: `regional-extract` (`$0.004`)
- **Summary**: Fetches any public URL from Brazil, Spain, or France using fast TLS acquisition with automatic headless browser escalation when JS or anti-bot challenges appear.
- **Key Capabilities**:
  - 4-layer price parser: JSON-LD → Microdata → OpenGraph → DOM selectors
  - Strict ISO 4217 currency normalization (BRL, EUR, USD, GBP) & discount math
  - Prompt-injection & hidden-DOM sanitization cutting ~80% of LLM tokens
  - Typed WAF block_reason (10 codes) with billable: false on target blocks

```json
{
  "status": "ok",
  "region": "br",
  "node": {
    "region": "br",
    "label": "Sao Paulo, Brazil",
    "locale": "pt-BR",
    "currency": "BRL",
    "jurisdiction": "LGPD-ANPD"
  },
  "status_code": 200,
  "engine": "fast_tls",
  "token_efficiency": {
    "html_tokens_est": 2319,
    "markdown_tokens_est": 458,
    "token_savings_pct": 80.25
  },
  "commerce_grounding": {
    "price_amount": 51.77,
    "currency": "GBP",
    "availability": "in_stock",
    "product_name": "A Light in the Attic",
    "source": "dom_selector",
    "verified_at": "2026-11-25T22:38:32Z"
  },
  "billing": {
    "billable": true,
    "suggested_ppe_event": "regional-extract",
    "regions_succeeded": 1
  }
}
```

### 02. Parallel Multi-Region Price, Content & Geo-Block Diff
- **REST Endpoint**: `POST https://dev.regionaudit.com/v1/geo-compare` (`operationId: compare_across_regions`)
- **MCP Tool**: `compare_across_regions` (via RapidAPI MCP Hub, Apify Standby MCP, or `https://dev.regionaudit.com/mcp`)
- **Verified Latency**: `201 ms (p50 HIT)` · `422 ms – 1.74 s (3 regions)`
- **Apify Pay-Per-Event**: `geo-compare` (`$0.012`)
- **Summary**: Fans out concurrent regional inspections across all active nodes and returns a unified diff of geo-IP redirects, asymmetric WAF blocks, languages, and price spreads.
- **Key Capabilities**:
  - Computes PPP currency diffs and intra-Eurozone price spreads (ES vs. FR)
  - Distinguishes target geo-blocks from partial node availability
  - Audits hreflang/locale routing (/pt-br, /es, /fr) & forced redirects
  - Scales automatically as new multi-region nodes join GET /v1/regions

```json
{
  "status": "ok",
  "coordinator_region": "es",
  "requested_regions": ["br", "es", "fr"],
  "regions_succeeded": 3,
  "comparison": {
    "has_geo_redirect": true,
    "has_regional_block": false,
    "has_language_diff": true,
    "languages_by_region": { "br": "pt-BR", "es": "es-ES", "fr": "fr-FR" },
    "commerce": {
      "currencies_detected": ["BRL", "EUR"],
      "has_currency_diff": true,
      "same_currency_spreads": [
        {
          "currency": "EUR",
          "min_region": "es",
          "min_price": 89.0,
          "max_region": "fr",
          "max_price": 99.0,
          "spread_pct": 11.24,
          "has_price_discrepancy": true
        }
      ]
    }
  },
  "billing": {
    "billable": true,
    "suggested_ppe_event": "geo-compare",
    "regions_succeeded": 3
  }
}
```

### 03. AX & GEO Readiness Audit (0–100 Score + AI Bot WAF Probes)
- **REST Endpoint**: `POST https://dev.regionaudit.com/v1/agent-audit` (`operationId: audit_agent_readiness`)
- **MCP Tool**: `audit_agent_readiness` (via RapidAPI MCP Hub, Apify Standby MCP, or `https://dev.regionaudit.com/mcp`)
- **Verified Latency**: `174 ms (p50 HIT)` · `1.16 s – 2.85 s (9 probes)`
- **Apify Pay-Per-Event**: `agent-readiness-audit` (`$0.010`)
- **Summary**: Validates /robots.txt, /llms.txt, /.well-known/mcp.json, Schema.org, and Markdown efficiency while probing GPTBot, ClaudeBot, and PerplexityBot from each country.
- **Key Capabilities**:
  - Weighted 30/30/20/20 rubric: Discovery, Bot Access, Schema.org & Token Efficiency
  - Catches silent edge WAF blocks even when /robots.txt allows AI crawlers
  - Rejects SPA HTML soft-404s masquerading as /llms.txt or /.well-known/mcp.json
  - Returns prioritized findings[] with exact estimated_score_impact points

```json
{
  "status": "ok",
  "hostname": "stripe.com",
  "regions_succeeded": 3,
  "readiness": {
    "overall_score": 86,
    "grade": "A",
    "sub_scores": {
      "ai_discovery": { "score": 80, "weighted_points": 24.0, "max_points": 30 },
      "bot_access_multi_region": { "score": 100, "weighted_points": 30.0, "max_points": 30 },
      "structured_data": { "score": 100, "weighted_points": 20.0, "max_points": 20 },
      "token_efficiency": { "score": 60, "weighted_points": 12.0, "max_points": 20 }
    }
  },
  "bot_access": {
    "probed_bots": ["GPTBot", "ClaudeBot", "PerplexityBot"],
    "total_probes": 9,
    "accessible_probes": 9,
    "silent_waf_blocks_detected": false
  },
  "billing": {
    "billable": true,
    "suggested_ppe_event": "agent-readiness-audit",
    "regions_succeeded": 3
  }
}
```

### 04. Pre-Consent Privacy & Cookie Compliance Audit (CNIL · AEPD · LGPD)
- **REST Endpoint**: `POST https://dev.regionaudit.com/v1/privacy-audit` (`operationId: audit_privacy_compliance`)
- **MCP Tool**: `audit_privacy_compliance` (via RapidAPI MCP Hub, Apify Standby MCP, or `https://dev.regionaudit.com/mcp`)
- **Verified Latency**: `<150 ms (HIT)` · `4.78 s (3 regional nodes)`
- **Apify Pay-Per-Event**: `privacy-compliance-audit` (`$0.015`)
- **Summary**: Opens an isolated ephemeral headless browser in each jurisdiction without clicking any banner, capturing every non-essential cookie and ad pixel fired before opt-in.
- **Key Capabilities**:
  - Fingerprints 12 major CMPs (OneTrust, Didomi, Cookiebot...) + Consent Mode v2
  - Matches outbound beacons against 3,500+ ad-tech tracker domains
  - Jurisdiction-aware risk grading under GDPR-CNIL, GDPR-AEPD & LGPD-ANPD
  - Forensic pre-consent evidence at $0.015/audit (70x cheaper than legacy tools)

```json
{
  "status": "ok",
  "hostname": "www.criteo.com",
  "requested_regions": ["br", "es", "fr"],
  "summary": {
    "overall_compliance_score": 49,
    "worst_risk_level": "critical_violation",
    "cmp_by_region": { "br": "Usercentrics", "es": "Usercentrics", "fr": "Usercentrics" },
    "risk_by_region": {
      "br": "critical_violation",
      "es": "critical_violation",
      "fr": "critical_violation"
    },
    "tracker_vendors_union": ["DoubleClick", "Google Analytics / GTM"],
    "has_jurisdiction_divergence": true,
    "all_regions_compliant": false
  },
  "billing": {
    "billable": true,
    "suggested_ppe_event": "privacy-compliance-audit",
    "regions_succeeded": 3
  }
}
```

### 05. Multi-Region DNS, TLS X.509 & HTTP/2–HTTP/3 Diagnostics
- **REST Endpoint**: `GET / POST https://dev.regionaudit.com/v1/network-check` (`operationId: diagnose_network_reachability`)
- **MCP Tool**: `diagnose_network_reachability` (via RapidAPI MCP Hub, Apify Standby MCP, or `https://dev.regionaudit.com/mcp`)
- **Verified Latency**: `167 ms (p50 HIT)` · `337 ms – 1.91 s (3 regions)`
- **Apify Pay-Per-Event**: `network-check` (`$0.002`)
- **Summary**: Compares A/AAAA/CNAME DNS records across continents, inspects port-443 X.509 certificates over pinned public IPs, and measures HTTP/2 & HTTP/3 latency.
- **Key Capabilities**:
  - Detects regional ISP/judicial DNS sinkholes and GeoDNS routing splits
  - Extracts X.509 issuer, SANs, TLS 1.3 cipher suite & days_remaining
  - Verifies HTTP/2 ALPN negotiation and HTTP/3 (Alt-Svc) per continent
  - Supports both GET query-string and POST JSON with strict Anti-SSRF

```json
{
  "status": "ok",
  "hostname": "cloudflare.com",
  "requested_regions": ["br", "es", "fr"],
  "summary": {
    "all_regions_reachable": true,
    "has_regional_outage_or_block": false,
    "tls_all_valid": true,
    "min_tls_days_remaining": 68,
    "http3_advertised_regions": ["br", "es", "fr"],
    "ttfb_ms_by_region": { "br": 170.15, "es": 239.43, "fr": 183.12 },
    "fastest_region": "br"
  },
  "billing": {
    "billable": true,
    "suggested_ppe_event": "network-check",
    "regions_succeeded": 3
  }
}
```


---

## 3. Deterministic WAF `block_reason` Taxonomy & SLA Protection

When an external site blocks automated access, RegionAudit Pulse returns HTTP `200 OK` with `status: "target_blocked"`, `billing.billable: false`, and one of 10 deterministic codes:

- `cloudflare_turnstile`: Cloudflare Managed Challenge / Turnstile JS interstitial
- `cloudflare_block`: Hard Cloudflare firewall denial (Error 1020 / 1006–1008)
- `datadome`: DataDome anti-bot shield (x-datadome / captcha-delivery.com)
- `akamai`: Akamai Bot Manager challenge or Reference #18 denial
- `perimeterx`: HUMAN Security / PerimeterX (_pxCaptcha) block
- `http_403_waf`: Generic cloud WAF 403 denial (AWS WAF, Imperva, Sucuri, ModSecurity)
- `http_429_rate_limit`: Upstream target rate limit (HTTP 429 / Error 1015)
- `captcha_challenge`: Interactive reCAPTCHA, hCaptcha, or Arkose FunCaptcha wall
- `geo_block`: Explicit regional/jurisdictional block (HTTP 451 / Error 1009)
- `empty_spa_shell`: Empty client-side SPA root (#__next / #app) with zero visible text

---

## 4. MCP Quickstart (RapidAPI MCP Hub & Apify Standby MCP)

Connect using your **RapidAPI API Key** (`https://mcp.rapidapi.com`) or your **Apify API Token**:

```bash
claude mcp add --transport http regionaudit-pulse https://germanbour--regionaudit-pulse.apify.actor/mcp \
  --header "Authorization: Bearer <YOUR_APIFY_API_TOKEN>"
```

---

## 5. Dual-Channel Commercial Pricing

### Channel A — RapidAPI Hub Subscriptions ([Subscribe](https://rapidapi.com/hub))
- **BASIC ($0/ month)**: 50 calls / mo (hard limit) — Developers evaluating REST & MCP tools.
- **PRO ($25/ month)**: 2,500 calls / mo + overage — AI agent startups, indie SaaS & DTC stores.
- **ULTRA ($75/ month)**: 12,000 calls / mo + overage — SEO/GEO agencies, DPO consultancies & multi-country brands.
- **MEGA ($150/ month)**: 35,000 calls / mo + overage — High-volume SaaS, GTM pipelines & large agencies.

### Channel B — Apify Store Pay-Per-Event ([Open Actor](https://apify.com/germanbour/regionaudit-pulse))
- `network-check` (**$0.002**): `GET/POST /v1/network-check` / MCP `diagnose_network_reachability` — Multi-region DNS + pinned X.509 TLS + HTTP/2–HTTP/3 completed on >=1 node
- `regional-extract` (**$0.004**): `POST /v1/extract` / MCP `extract_regional_page` — Prompt-safe Markdown + deterministic commerce_grounding succeeded (status === 'ok')
- `agent-readiness-audit` (**$0.010**): `POST /v1/agent-audit` / MCP `audit_agent_readiness` — Full 0–100 AX & GEO Score + /llms.txt + regional AI bot WAF probes completed
- `geo-compare` (**$0.012**): `POST /v1/geo-compare` / MCP `compare_across_regions` — Parallel multi-country diff (BR + ES + FR, +N) with >=1 region succeeded
- `privacy-compliance-audit` (**$0.015**): `POST /v1/privacy-audit` / MCP `audit_privacy_compliance` — Zero-click isolated headless browser pre-consent forensic audit across CNIL + AEPD + LGPD

**Zero Charge on Target Failure**: Whenever `billing.billable === false` (`target_blocked`, `target_unreachable`, or Anti-SSRF rejection), Apify PPE charges **$0.00**.

---

## 6. Frequently Asked Questions

### How does RegionAudit Pulse prevent regional price hallucinations?
Requests execute from physical servers in Brazil, Spain, and France through a 4-layer deterministic parser (JSON-LD, Microdata, OpenGraph, DOM) returning exact ISO 4217 amounts and stock status.

### What happens when a target site triggers Cloudflare, DataDome, or a CAPTCHA?
In auto mode, fast TLS acquisition escalates automatically to an isolated headless browser. If a hard WAF block persists, you receive HTTP 200 with status='target_blocked' and a typed block_reason code.

### Which API credentials work with the MCP Server?
Connect immediately using your RapidAPI API Key via RapidAPI MCP Hub or your Apify API Token via Apify Standby MCP across Claude Code, Cursor, and Kilo. Direct Enterprise keys are available on request.

### Why must GDPR (CNIL/AEPD) and LGPD cookie audits run from regional nodes?
Consent managers geo-target banners by IP, so US scanners often miss European and Brazilian consent flows. Our regional nodes run clean zero-click browser contexts to record pre-consent cookies and trackers.

### Does adding new countries require changing our API or MCP client?
No. Querying GET /v1/regions or reading regions://active dynamically discovers every new multi-region node (such as US, Germany, Mexico, or UK) with zero client changes.
