{
  "openapi": "3.0.3",
  "info": {
    "title": "Google Merchant Center Misrepresentation and Feed Readiness Audit API",
    "version": "2.3.0",
    "description": "Pure-HTTP Google Merchant Center (GMC) Misrepresentation and Shopping Feed suspension pre-check API. Executes 20 deterministic checks across merchant identity signals, 4 mandatory shopping policies, live Product/Offer JSON-LD vs catalog feed price/currency/availability consistency, and Storebot-Google crawlability with zero PII output."
  },
  "servers": [
    {
      "url": "https://tlp-intel-api.reviewradar-21ed95.workers.dev",
      "description": "Cloudflare Workers Global Edge"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "paths": {
    "/v1/gmc/audit": {
      "get": {
        "operationId": "auditGmcCompliance",
        "summary": "Run a 20-point Google Merchant Center Misrepresentation and Feed Readiness Audit",
        "description": "Inspects storefront HTTPS, placeholder copy, boolean business identity channels, Refund/Shipping/Privacy/Terms policy pages, live Product/Offer JSON-LD vs catalog feed price and stock parity, and Googlebot/Storebot-Google crawl rules.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "description": "Target Shopify, WooCommerce, or custom e-commerce domain or URL (e.g. allbirds.com)",
            "schema": {
              "type": "string",
              "example": "allbirds.com"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Structured 0-100 GMC Readiness Score, suspension risk tier, 4-pillar checks, and prioritized appeal checklist",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "ok": true,
                  "domain": "allbirds.com",
                  "finalUrl": "https://www.allbirds.com/",
                  "storeTitle": "Allbirds: Comfortable, Sustainable Shoes and Apparel",
                  "platform": "shopify",
                  "gmcReadinessScore": 96,
                  "grade": "A",
                  "suspensionRisk": "LOW",
                  "summaryCounts": {
                    "totalChecks": 20,
                    "passed": 19,
                    "warnings": 1,
                    "failed": 0,
                    "p0Failures": 0
                  },
                  "pillarScores": {
                    "identity_transparency": {
                      "score": 100,
                      "earnedPoints": 25,
                      "maxPoints": 25,
                      "passed": 5,
                      "warnings": 0,
                      "failed": 0,
                      "total": 5
                    },
                    "mandatory_policies": {
                      "score": 100,
                      "earnedPoints": 30,
                      "maxPoints": 30,
                      "passed": 5,
                      "warnings": 0,
                      "failed": 0,
                      "total": 5
                    },
                    "feed_schema_consistency": {
                      "score": 92,
                      "earnedPoints": 23,
                      "maxPoints": 25,
                      "passed": 4,
                      "warnings": 1,
                      "failed": 0,
                      "total": 5
                    },
                    "crawl_and_checkout_hygiene": {
                      "score": 100,
                      "earnedPoints": 20,
                      "maxPoints": 20,
                      "passed": 5,
                      "warnings": 0,
                      "failed": 0,
                      "total": 5
                    }
                  },
                  "identitySignals": {
                    "isHttps": true,
                    "httpStatus": 200,
                    "hasEmailSignal": true,
                    "hasPhoneSignal": true,
                    "hasAddressSignal": true,
                    "hasContactPage": true,
                    "contactChannelsCount": 4,
                    "hasPlaceholderCopy": false
                  },
                  "policies": {
                    "refundPolicy": {
                      "present": true,
                      "url": "https://www.allbirds.com/policies/refund-policy",
                      "httpStatus": 200,
                      "linkedFromHomepage": true,
                      "wordCount": 340,
                      "hasReturnWindowDays": true,
                      "detectedReturnWindowDays": 30,
                      "hasRefundMethod": true
                    },
                    "shippingPolicy": {
                      "present": true,
                      "url": "https://www.allbirds.com/policies/shipping-policy",
                      "httpStatus": 200,
                      "linkedFromHomepage": true,
                      "wordCount": 280,
                      "hasShippingTimelineOrRates": true
                    },
                    "privacyPolicy": {
                      "present": true,
                      "url": "https://www.allbirds.com/policies/privacy-policy",
                      "httpStatus": 200,
                      "linkedFromHomepage": true,
                      "wordCount": 920
                    },
                    "termsOfService": {
                      "present": true,
                      "url": "https://www.allbirds.com/policies/terms-of-service",
                      "httpStatus": 200,
                      "linkedFromHomepage": true,
                      "wordCount": 840
                    },
                    "verifiedCount": 4,
                    "linkedFromHomepageCount": 4
                  },
                  "catalogConsistency": {
                    "platform": "shopify",
                    "catalogFeedAccessible": true,
                    "catalogSource": "shopify_products_json",
                    "productsSampled": 10,
                    "sampleProductUrl": "https://www.allbirds.com/products/mens-tree-runners",
                    "hasProductJsonLd": true,
                    "hasOfferJsonLd": true,
                    "jsonLdPrice": 98,
                    "jsonLdCurrency": "USD",
                    "jsonLdAvailability": "InStock",
                    "catalogPriceMin": 98,
                    "catalogPriceMax": 98,
                    "catalogCurrency": "USD",
                    "catalogInStock": true,
                    "priceMatchesCatalog": true,
                    "currencyMatchesCatalog": true,
                    "availabilityMatchesCatalog": true,
                    "identifiers": {
                      "hasSku": true,
                      "hasGtin": false,
                      "hasMpn": false,
                      "hasBrand": true
                    }
                  },
                  "checks": [
                    {
                      "id": "gmc_price_matches_catalog_api",
                      "pillar": "feed_schema_consistency",
                      "severity": "P0",
                      "title": "Product JSON-LD Price & Currency Match Public Catalog Feed",
                      "status": "PASS",
                      "finding": "Product JSON-LD price (98 USD) matches the live shopify catalog feed.",
                      "fix": "Disable client-side IP auto-currency switchers that mutate prices after initial HTML render."
                    }
                  ],
                  "prioritizedFixes": [],
                  "auditedAt": "2026-04-01T00:00:00.000Z"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or disallowed target URL"
          },
          "401": {
            "description": "Unauthorized origin request"
          }
        }
      },
      "post": {
        "operationId": "auditGmcCompliancePost",
        "summary": "Run a Google Merchant Center Compliance Audit via JSON body",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "example": "allbirds.com"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Structured GMC compliance audit report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "ok": true,
                  "domain": "allbirds.com",
                  "finalUrl": "https://www.allbirds.com/",
                  "storeTitle": "Allbirds: Comfortable, Sustainable Shoes and Apparel",
                  "platform": "shopify",
                  "gmcReadinessScore": 96,
                  "grade": "A",
                  "suspensionRisk": "LOW",
                  "summaryCounts": {
                    "totalChecks": 20,
                    "passed": 19,
                    "warnings": 1,
                    "failed": 0,
                    "p0Failures": 0
                  },
                  "pillarScores": {
                    "identity_transparency": {
                      "score": 100,
                      "earnedPoints": 25,
                      "maxPoints": 25,
                      "passed": 5,
                      "warnings": 0,
                      "failed": 0,
                      "total": 5
                    },
                    "mandatory_policies": {
                      "score": 100,
                      "earnedPoints": 30,
                      "maxPoints": 30,
                      "passed": 5,
                      "warnings": 0,
                      "failed": 0,
                      "total": 5
                    },
                    "feed_schema_consistency": {
                      "score": 92,
                      "earnedPoints": 23,
                      "maxPoints": 25,
                      "passed": 4,
                      "warnings": 1,
                      "failed": 0,
                      "total": 5
                    },
                    "crawl_and_checkout_hygiene": {
                      "score": 100,
                      "earnedPoints": 20,
                      "maxPoints": 20,
                      "passed": 5,
                      "warnings": 0,
                      "failed": 0,
                      "total": 5
                    }
                  },
                  "identitySignals": {
                    "isHttps": true,
                    "httpStatus": 200,
                    "hasEmailSignal": true,
                    "hasPhoneSignal": true,
                    "hasAddressSignal": true,
                    "hasContactPage": true,
                    "contactChannelsCount": 4,
                    "hasPlaceholderCopy": false
                  },
                  "policies": {
                    "refundPolicy": {
                      "present": true,
                      "url": "https://www.allbirds.com/policies/refund-policy",
                      "httpStatus": 200,
                      "linkedFromHomepage": true,
                      "wordCount": 340,
                      "hasReturnWindowDays": true,
                      "detectedReturnWindowDays": 30,
                      "hasRefundMethod": true
                    },
                    "shippingPolicy": {
                      "present": true,
                      "url": "https://www.allbirds.com/policies/shipping-policy",
                      "httpStatus": 200,
                      "linkedFromHomepage": true,
                      "wordCount": 280,
                      "hasShippingTimelineOrRates": true
                    },
                    "privacyPolicy": {
                      "present": true,
                      "url": "https://www.allbirds.com/policies/privacy-policy",
                      "httpStatus": 200,
                      "linkedFromHomepage": true,
                      "wordCount": 920
                    },
                    "termsOfService": {
                      "present": true,
                      "url": "https://www.allbirds.com/policies/terms-of-service",
                      "httpStatus": 200,
                      "linkedFromHomepage": true,
                      "wordCount": 840
                    },
                    "verifiedCount": 4,
                    "linkedFromHomepageCount": 4
                  },
                  "catalogConsistency": {
                    "platform": "shopify",
                    "catalogFeedAccessible": true,
                    "catalogSource": "shopify_products_json",
                    "productsSampled": 10,
                    "sampleProductUrl": "https://www.allbirds.com/products/mens-tree-runners",
                    "hasProductJsonLd": true,
                    "hasOfferJsonLd": true,
                    "jsonLdPrice": 98,
                    "jsonLdCurrency": "USD",
                    "jsonLdAvailability": "InStock",
                    "catalogPriceMin": 98,
                    "catalogPriceMax": 98,
                    "catalogCurrency": "USD",
                    "catalogInStock": true,
                    "priceMatchesCatalog": true,
                    "currencyMatchesCatalog": true,
                    "availabilityMatchesCatalog": true,
                    "identifiers": {
                      "hasSku": true,
                      "hasGtin": false,
                      "hasMpn": false,
                      "hasBrand": true
                    }
                  },
                  "checks": [
                    {
                      "id": "gmc_price_matches_catalog_api",
                      "pillar": "feed_schema_consistency",
                      "severity": "P0",
                      "title": "Product JSON-LD Price & Currency Match Public Catalog Feed",
                      "status": "PASS",
                      "finding": "Product JSON-LD price (98 USD) matches the live shopify catalog feed.",
                      "fix": "Disable client-side IP auto-currency switchers that mutate prices after initial HTML render."
                    }
                  ],
                  "prioritizedFixes": [],
                  "auditedAt": "2026-04-01T00:00:00.000Z"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request body"
          }
        }
      }
    }
  }
}