> ## Documentation Index
> Fetch the complete documentation index at: https://docs.danubeai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Site by Domain

> Look up an agent-friendly site by its domain name

## Overview

Retrieves a site's full structured data by domain name. Returns the extracted components (contact, about, pricing, docs, FAQ, etc.) that AI agents can consume directly. Only returns live, public sites.

No authentication required.

## Path Parameters

<ParamField path="domain" type="string" required>
  The site domain (e.g., `stripe.com`)
</ParamField>

## Response

<ResponseField name="id" type="string">
  Unique site identifier
</ResponseField>

<ResponseField name="domain" type="string">
  Site domain
</ResponseField>

<ResponseField name="url" type="string">
  Full URL that was crawled
</ResponseField>

<ResponseField name="status" type="string">
  Site status
</ResponseField>

<ResponseField name="visibility" type="string">
  `public` or `private`
</ResponseField>

<ResponseField name="page_title" type="string">
  Page title
</ResponseField>

<ResponseField name="page_description" type="string">
  Page meta description
</ResponseField>

<ResponseField name="components" type="object">
  Structured site components extracted by AI analysis

  <Expandable title="Components">
    <ResponseField name="contact" type="object">
      Contact information (emails, phones, address, social links, forms)
    </ResponseField>

    <ResponseField name="about" type="object">
      Company info (name, description, founded, team\_size, industry)
    </ResponseField>

    <ResponseField name="services" type="array">
      Services offered (name, description, url, pricing)
    </ResponseField>

    <ResponseField name="docs" type="object">
      Documentation (url, api\_reference, openapi\_spec, guides)
    </ResponseField>

    <ResponseField name="pricing" type="object">
      Pricing info (url, plans with features)
    </ResponseField>

    <ResponseField name="faq" type="array">
      FAQ items (question, answer pairs)
    </ResponseField>

    <ResponseField name="legal" type="object">
      Legal pages (privacy\_policy, terms\_of\_service URLs)
    </ResponseField>

    <ResponseField name="navigation" type="array">
      Site navigation items (label, url)
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="discovered_tools" type="array">
  Auto-generated tool schemas from the site
</ResponseField>

<ResponseField name="category" type="string">
  Site category
</ResponseField>

<ResponseField name="tags" type="array">
  Site tags
</ResponseField>

## Example

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.danubeai.com/v1/agent-sites/domain/stripe.com"
  ```

  ```python Python SDK theme={null}
  from danube import DanubeClient

  with DanubeClient(api_key="dk_...") as client:
      site = client.sites.get_by_domain("stripe.com")
      print(f"About: {site.components.get('about', {}).get('description')}")
      print(f"Docs: {site.components.get('docs', {}).get('api_reference')}")
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": "site_abc123",
    "domain": "stripe.com",
    "url": "https://stripe.com",
    "status": "live",
    "visibility": "public",
    "page_title": "Stripe | Payment Processing Platform",
    "page_description": "Online payment processing for internet businesses",
    "components": {
      "contact": {
        "emails": ["support@stripe.com"],
        "social": {"twitter": "https://twitter.com/stripe"}
      },
      "about": {
        "company_name": "Stripe",
        "description": "Financial infrastructure for the internet",
        "industry": "fintech"
      },
      "docs": {
        "url": "https://docs.stripe.com",
        "api_reference": "https://docs.stripe.com/api"
      },
      "pricing": {
        "url": "https://stripe.com/pricing",
        "plans": [
          {
            "name": "Standard",
            "price": "2.9% + 30c per transaction",
            "features": ["Cards", "Wallets", "Bank debits"]
          }
        ]
      }
    },
    "discovered_tools": [],
    "category": "finance",
    "tags": ["payments", "api"],
    "created_at": "2026-01-10T08:00:00Z"
  }
  ```
</ResponseExample>

## MCP Tool

This endpoint is also available as the `get_site_info` MCP tool:

```python theme={null}
result = await mcp.call_tool("get_site_info", {
    "domain": "stripe.com"
})
```
