v1

latestOpenAPI 3.1.02026-07-241695611.0 MB
Webhook Events

WebsiteAnalysisRequest.failed

Emitted when a Website Analysis request has failed.

postWebhookWebsiteAnalysisRequest.failed

Payload

idstring uuid required

The ID of the Website Analysis request

state'PENDING' | 'EXECUTING' | 'COMPLETED' | 'FAILED' | 'CANCELLED' required
created_atstring date-time required

The date and time when the Website Analysis was created.

updated_atstring date-time nullable required

The most recent date and time when the Website Analysis was updated.

urlstring uri required

The website URL that was analyzed as part of the Search.

business_idstring uuid nullable

If the website analysis was performed on a business's website, this will be the ID of the business.

reference_idstring nullable

An optional reference ID associated with this request, inherited from the parent search.

Example payload

{
  "created_at": "2026-07-16T19:24:27.744580",
  "updated_at": "2026-07-16T19:24:27.744594",
  "url": "http://www.ray.com/",
  "business_id": "55f55756-e3bb-464b-8d6a-bae4fc3cec23",
  "reference_id": "Search1234",
  "website_analysis": {
    "url": "http://www.warner.com/",
    "redirects": {
      "is_redirect_url": true,
      "redirects_to": "baselayer.com"
    },
    "parked": true,
    "email_deliverable": true,
    "phone_numbers": [
      "362-345-4551",
      "(872) 628-1402"
    ],
    "emails": [
      "bennettamber@example.org",
      "goldenshawn@example.com"
    ],
    "social_profiles": [
      {
        "site": "twitter",
        "url": "https://twitter.com/michelle98",
        "username": "michelle98"
      }
    ],
    "addresses": [
      {
        "street": "913 Hendrix Gardens Suite 492",
        "city": "Jasonfurt",
        "zip": "19773",
        "latitude": 38.03012,
        "longitude": 78.47665
      }
    ],
    "people": [
      {
        "name": "Jane Smith",
        "titles": [
          "Co-Founder",
          "CEO"
        ]
      },
      {
        "name": "John Doe",
        "titles": [
          "CTO"
        ]
      }
    ],
    "website_summary": "Howard Concrete Pumping Co., Inc. is a concrete pumping contractor serving the construction industry. The company specializes in concrete placement services for residential and commercial construction projects. They operate throughout the greater metropolitan area and have been providing reliable concrete pumping solutions for over 20 years.",
    "console_url": "https://console.baselayer.com/business/dde7c16a-1f7b-11ef-9425-1edb1b067314/website_analysis",
    "screenshot_url": "https://api.baselayer.com/business/dde7c16a-1f7b-11ef-9425-1edb1b067314/website_analysis/screenshot",
    "whois_record": {
      "domain_created_at": "2020-05-15T10:30:00Z",
      "domain_age_months": 15,
      "domain_updated_at": "2023-06-01T14:45:00Z",
      "domain_expires_at": "2025-05-15T10:30:00Z",
      "registrar": "Example Registrar Inc."
    },
    "ssl_validity": {
      "issuer": "DigiCert Global Root CA",
      "subject": "www.example.com",
      "days_until_expiry": 365,
      "cert_age_days": 180,
      "key_size": 2048
    },
    "website_structure_metrics": {
      "depth": "0",
      "breadth": "5"
    }
  }
}

Response

Successful Response

{"stackTrail":"webhooks:WebsiteAnalysisRequest.failed:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}